[asterisk-users] my dahdi dont'n start

A J Stiles asterisk_list at earthshod.co.uk
Tue Apr 26 11:02:24 CDT 2016


On Tuesday 26 Apr 2016, Mamadou NGOM wrote:
> Hello,
> 
> Having installed DAHDI to be able to use the meetme() application , when I
> start the dahdi service it generates me the following error: -bash:
> /etc/init.d/dahdi: No such file or directory
> I need help please.

You are using a distribution that needs an  (old-style)  initscript to start 
dahdi, but don't appear to have the initscript present.

When you type something like
# service foo start
what happens is dependent on what kind of startup system you are using.  With 
"old-fashioned" initscripts, the computer looks in /etc/init.d for a file 
called "foo" and then tries to execute that file with the parameter(s) you 
supplied  (here "start").  Since there is no file called /etc/init.d/dahdi on 
your machine, then the command is failing.

For your convenience, I've attached the relevant initscript from an older 
DAHDI version  (2.6.1)  but it probably should work OK with yours.  Save it as
/etc/init.d/dahdi
and then run
# chmod 755 /etc/init.d/dahdi
so any user can read and execute it, but only root can write it.

Then it should work.

-- 
AJS

Note:  Originating address only accepts e-mail from list!  If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dahdi
Type: application/x-shellscript
Size: 8219 bytes
Desc: not available
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160426/76580c8f/attachment.bin>


More information about the asterisk-users mailing list