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 .
dahdi
Description: application/shellscript
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users