Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] my dahdi dont'n start

Goto page 1, 2  Next
 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
ngom at numericap.com
Guest





PostPosted: Tue Apr 26, 2016 10:25 am    Post subject: [asterisk-users] my dahdi dont'n start Reply with quote

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.
Thanks
Mamadou NGOM
Ingénieur Télécommunications & Réseaux
Mobile: 06 72 45 23 03
Skype: Mamadou Numericap
NumeriCap – SAS au capital de 30.000,00€ - RCS de Toulon N° 530188432 – TVA FR 485301188432 – APE6110Z - ARCEP N°13/0015.
siège social : « le Galaxie C » 526 avenue Maréchal de Lattre de Tassigny 83000 Toulon. mail: finance@numericap.com ([email]mail%3Afinance@numericap.com[/email])
Centre d’exploitation : « Résidence les Coquières » 11 avenue Joseph Fallen - 13400 Aubagne – Tel :04.42.73.88.52 
Back to top
admin at tootai.net
Guest





PostPosted: Tue Apr 26, 2016 11:08 am    Post subject: [asterisk-users] my dahdi dont'n start Reply with quote

Le 26/04/2016 17:23, Mamadou NGOM a écrit :
Quote:
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

Clear, the file dahdi is not existing. Did you copy it?

BTW, you shouldn't need dahdi to run meetme. BTW #2, depending on your
asterisk version, meetme is replaced by ConfBridge

[...]

--
Daniel

--
_____________________________________________________________________
-- 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
Back to top
rmudgett at digium.com
Guest





PostPosted: Tue Apr 26, 2016 11:13 am    Post subject: [asterisk-users] my dahdi dont'n start Reply with quote

On Tue, Apr 26, 2016 at 11:07 AM, Administrator TOOTAI <admin@tootai.net (admin@tootai.net)> wrote:
Quote:
Le 26/04/2016 17:23, Mamadou NGOM a écrit :
Quote:
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

Clear, the file dahdi is not existing. Did you copy it?

BTW, you shouldn't need dahdi to run meetme. BTW #2, depending on your asterisk version, meetme is replaced by ConfBridge


Administrator TOOTAI: You must have DAHDI running when using meetme because
DAHDI does the audio mixing for the conference.


Meetme is deprecated and replaced by ConfBridge on all currently supported Asterisk
versions.



Richard
Back to top
covici at ccs.covici.com
Guest





PostPosted: Tue Apr 26, 2016 11:27 am    Post subject: [asterisk-users] my dahdi dont'n start Reply with quote

Richard Mudgett <rmudgett@digium.com> wrote:

Quote:
On Tue, Apr 26, 2016 at 11:07 AM, Administrator TOOTAI <admin@tootai.net>
wrote:

Quote:
Le 26/04/2016 17:23, Mamadou NGOM a écrit :

Quote:
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


Clear, the file dahdi is not existing. Did you copy it?

BTW, you shouldn't need dahdi to run meetme. BTW #2, depending on your
asterisk version, meetme is replaced by ConfBridge


Administrator TOOTAI: You must have DAHDI running when using meetme because
DAHDI does the audio mixing for the conference.

Meetme is deprecated and replaced by ConfBridge on all currently supported
Asterisk
versions.


Except that confbridge lacks some features that meetme has -- I wish
this were not so.

--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?

John Covici
covici@ccs.covici.com

--
_____________________________________________________________________
-- 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
Back to top
ngom at numericap.com
Guest





PostPosted: Tue Apr 26, 2016 11:52 am    Post subject: [asterisk-users] my dahdi dont'n start Reply with quote

I use the asterisk 13.
Quote:

Le 26 avril 2016 à 18:07, Administrator TOOTAI <admin@tootai.net> a écrit :


Le 26/04/2016 17:23, Mamadou NGOM a écrit :
Quote:

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

Clear, the file dahdi is not existing. Did you copy it?

BTW, you shouldn't need dahdi to run meetme. BTW #2, depending on your
asterisk version, meetme is replaced by ConfBridge

[...]

--
Daniel

--
_____________________________________________________________________
-- 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



Mamadou NGOM
Ingénieur Télécommunications & Réseaux
Mobile: 06 72 45 23 03
Skype: Mamadou Numericap
NumeriCap – SAS au capital de 30.000,00€ - RCS de Toulon N° 530188432 – TVA FR 485301188432 – APE6110Z - ARCEP N°13/0015.
siège social : « le Galaxie C » 526 avenue Maréchal de Lattre de Tassigny 83000 Toulon. mail: finance@numericap.com ([email]mail%3Afinance@numericap.com[/email])
Centre d’exploitation : « Résidence les Coquières » 11 avenue Joseph Fallen - 13400 Aubagne – Tel :04.42.73.88.52 
Back to top
ngom at numericap.com
Guest





PostPosted: Tue Apr 26, 2016 11:55 am    Post subject: [asterisk-users] my dahdi dont'n start Reply with quote

I am using the asterisk 13(the last version).So can i use confbride instead of meetme.
Thank you
Quote:

Le 26 avril 2016 à 18:26, covici@ccs.covici.com a écrit :


Richard Mudgett <rmudgett@digium.com> wrote:
Quote:

On Tue, Apr 26, 2016 at 11:07 AM, Administrator TOOTAI <admin@tootai.net>
wrote:
Quote:

Le 26/04/2016 17:23, Mamadou NGOM a écrit :

Quote:
Quote:
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
Clear, the file dahdi is not existing. Did you copy it?

BTW, you shouldn't need dahdi to run meetme. BTW #2, depending on your
asterisk version, meetme is replaced by ConfBridge

Administrator TOOTAI: You must have DAHDI running when using meetme because
DAHDI does the audio mixing for the conference.

Meetme is deprecated and replaced by ConfBridge on all currently supported
Asterisk
versions.

Except that confbridge lacks some features that meetme has -- I wish
this were not so.

--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?

John Covici
covici@ccs.covici.com

--
_____________________________________________________________________
-- 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

Quote:
http://lists.digium.com/mailman/listinfo/asterisk-users


Mamadou NGOM
Ingénieur Télécommunications & Réseaux
Mobile: 06 72 45 23 03
Skype: Mamadou Numericap
NumeriCap – SAS au capital de 30.000,00€ - RCS de Toulon N° 530188432 – TVA FR 485301188432 – APE6110Z - ARCEP N°13/0015.
siège social : « le Galaxie C » 526 avenue Maréchal de Lattre de Tassigny 83000 Toulon. mail: finance@numericap.com ([email]mail%3Afinance@numericap.com[/email])
Centre d’exploitation : « Résidence les Coquières » 11 avenue Joseph Fallen - 13400 Aubagne – Tel :04.42.73.88.52 
Back to top
ngom at numericap.com
Guest





PostPosted: Thu Apr 28, 2016 8:08 am    Post subject: [asterisk-users] my dahdi dont'n start Reply with quote

Hello,
it doesn't work my dahdi yet .for information, i use debian 8 .
I put the file dahdi.bash   in /etc/init.d and I gave it the permission 755 but i have  the same error:
bash: /etc/init.d/dahdi: No such file or directory

Thanks for your help.



Quote:
Le 28 avril 2016 à 13:27, A J Stiles <asterisk_list@earthshod.co.uk> a écrit :


On Thursday 28 Apr 2016, Mamadou NGOM wrote:
Quote:
Hello,
you are right, i dont have the file dahdi on /etc/init.d.
I should like do what ?
thank for your answer.

Find my earlier message and save the file I attached to it. Read it, or show
it to a competent programmer whom you trust, and satisfy yourself that it is
not going to do anything nasty. Copy it over onto your Asterisk box using
scp, mv it to /etc/init.d/dahdi and give it 755 permissions. Then try
# service dahdi start
That ought to fix it.


By the way: It is considered polite to place your reply *after* the thing you
are replying to, so as to maintain the natural flow of the conversation.

--
AJS

Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .



Mamadou NGOM
Ingénieur Télécommunications & Réseaux
Mobile: 06 72 45 23 03
Skype: Mamadou Numericap
NumeriCap – SAS au capital de 30.000,00€ - RCS de Toulon N° 530188432 – TVA FR 485301188432 – APE6110Z - ARCEP N°13/0015.
siège social : « le Galaxie C » 526 avenue Maréchal de Lattre de Tassigny 83000 Toulon. mail: finance@numericap.com ([email]mail%3Afinance@numericap.com[/email])
Centre d’exploitation : « Résidence les Coquières » 11 avenue Joseph Fallen - 13400 Aubagne – Tel :04.42.73.88.52 
Back to top
lucabert at lucabert.de
Guest





PostPosted: Thu Apr 28, 2016 8:11 am    Post subject: [asterisk-users] my dahdi dont'n start Reply with quote

Zitat von Mamadou NGOM <ngom@numericap.com>:

Quote:
Hello,

it doesn't work my dahdi yet .for information, i use debian 8 .

I put the file dahdi.bash   in /etc/init.d and I gave it the permission
755 but i have  the same error:

bash: /etc/init.d/dahdi: No such file or directory

Well, if the file's name ist dahdi.bash, you cannot just start dahdi...

I suggest you to rename the file in dahdi.
In Unix you don't need an extension as in Windows.

Regards
Luca Bertoncello
(lucabert@lucabert.de)


--
_____________________________________________________________________
-- 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
Back to top
asterisk_list at earth...
Guest





PostPosted: Thu Apr 28, 2016 9:38 am    Post subject: [asterisk-users] my dahdi dont'n start Reply with quote

On Thursday 28 Apr 2016, Mamadou NGOM wrote:
Quote:
Hello,
it doesn't work my dahdi yet .for information, i use debian 8 .
I put the file dahdi.bash in /etc/init.d and I gave it the permission 755
but i have the same error: bash: /etc/init.d/dahdi: No such file or
directory

You need to name the file just "dahdi", not "dahdi.bash"; because the command
"service dahdi start" is looking for a file just called "dahdi". If you run
# mv /etc/init.d/dahdi.bash /etc/init.d/dahdi
then
# service dahdi start
should work.

You probably also need to run
# update-rc.d dahdi defaults
to ensure it starts up everytime the computer is booted up.

--
AJS

Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

--
_____________________________________________________________________
-- 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
Back to top
ybaesa at dm2it.com
Guest





PostPosted: Fri Apr 29, 2016 2:32 am    Post subject: [asterisk-users] my dahdi dont'n start Reply with quote

Hello,
I was faced with this problem, it is enough to place
subdirectory under ./tools installation dahdi when compiling and
run make install-config it should work.

we must have :
mkdir -p / etc / dahdi
mkdir -p /etc/modprobe.d
install -m644 xpp / genconf_parameters / etc / dahdi / genconf_parameters
install -m644 init.conf.sample /etc/dahdi/init.conf
install -m644 blacklist.sample /etc/modprobe.d/dahdi-blacklist.conf
install -m644 modprobe.conf.sample /etc/modprobe.d/dahdi.conf
make -f ./Makefile.legacy top_srcdir =. srcdir =. config
make [1]: Entering directory
'/usr/src/dahdi-linux-complete-2.11.1+2.11.1/tools'
install -D dahdi.init /etc/init.d/dahdi
/usr/sbin/update-rc.d dahdi defaults 15 30
DAHDI has-been configured.

Le 28/04/2016 16:37, A J Stiles a écrit :
Quote:
On Thursday 28 Apr 2016, Mamadou NGOM wrote:
Quote:
Hello,
it doesn't work my dahdi yet .for information, i use debian 8 .
I put the file dahdi.bash in /etc/init.d and I gave it the permission 755
but i have the same error: bash: /etc/init.d/dahdi: No such file or
directory
You need to name the file just "dahdi", not "dahdi.bash"; because the command
"service dahdi start" is looking for a file just called "dahdi". If you run
# mv /etc/init.d/dahdi.bash /etc/init.d/dahdi
then
# service dahdi start
should work.

You probably also need to run
# update-rc.d dahdi defaults
to ensure it starts up everytime the computer is booted up.



--
_____________________________________________________________________
-- 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
Back to top
ngom at numericap.com
Guest





PostPosted: Fri Apr 29, 2016 2:38 am    Post subject: [asterisk-users] my dahdi dont'n start Reply with quote

Hello,
I have not resolved my problem.I renamed my  dahdi file  "mv dahdi.bash dahdi " in the directory /etc/init.d, but it doesn'nt work yet.
the same error after the command  /etc/init.d/dahdi start
-bash: /etc/init.d/dahdi: /bin/sh^M: bad interpreter: No such file or directory
serveurvoix:~#
thank for your help.

best regards

Quote:
Le 28 avril 2016 à 16:37, A J Stiles <asterisk_list@earthshod.co.uk> a écrit :


On Thursday 28 Apr 2016, Mamadou NGOM wrote:
Quote:
Hello,
it doesn't work my dahdi yet .for information, i use debian 8 .
I put the file dahdi.bash in /etc/init.d and I gave it the permission 755
but i have the same error: bash: /etc/init.d/dahdi: No such file or
directory

You need to name the file just "dahdi", not "dahdi.bash"; because the command
"service dahdi start" is looking for a file just called "dahdi". If you run
# mv /etc/init.d/dahdi.bash /etc/init.d/dahdi
then
# service dahdi start
should work.

You probably also need to run
# update-rc.d dahdi defaults
to ensure it starts up everytime the computer is booted up.

--
AJS

Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .



Mamadou NGOM
Ingénieur Télécommunications & Réseaux
Mobile: 06 72 45 23 03
Skype: Mamadou Numericap
NumeriCap – SAS au capital de 30.000,00€ - RCS de Toulon N° 530188432 – TVA FR 485301188432 – APE6110Z - ARCEP N°13/0015.
siège social : « le Galaxie C » 526 avenue Maréchal de Lattre de Tassigny 83000 Toulon. mail: finance@numericap.com ([email]mail%3Afinance@numericap.com[/email])
Centre d’exploitation : « Résidence les Coquières » 11 avenue Joseph Fallen - 13400 Aubagne – Tel :04.42.73.88.52 
Back to top
asterisk_list at earth...
Guest





PostPosted: Fri Apr 29, 2016 3:16 am    Post subject: [asterisk-users] my dahdi dont'n start Reply with quote

*** THIS IS NOT WHERE YOUR REPLY BELONGS ***

On Friday 29 Apr 2016, Mamadou NGOM wrote:
Quote:
Hello,
I have not resolved my problem.I renamed my dahdi file "mv dahdi.bash
dahdi " in the directory /etc/init.d, but it doesn'nt work yet. the same
error after the command /etc/init.d/dahdi start
-bash: /etc/init.d/dahdi: /bin/sh^M: bad interpreter: No such file or
directory serveurvoix:~#
thank for your help.
best regards

No. "mv dahdi.bash dahdi" was the whole command to rename the file. The file
needs just to be called "dahdi" (without the speech marks) in the folder
"/etc/init.d" (without the speech marks).

If you have copied the file through Windows, the line endings may have become
corrupted (I noticed a ^M in your error report). If so, you should run

# hd dahdi | grep 0d

to check. If you get any output, this indicates that Windows-style line-
endings are present. To fix this, you can use

# mv dahdi dahdi.0
# tr -d "\015" < dahdi.0 > dahdi
# rm dahdi.0

after which sequence of commands, you should find that running

# hd dahdi | grep 0d

produces no output. And then when you type

# service dahdi start

then you should find DAHDI starting up. If so, then don't forget to run

# update-rc.d dahdi defaults

to ensure DAHDI gets started at bootup from next time onwards.

--
AJS

Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

--
_____________________________________________________________________
-- 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
Back to top
ngom at numericap.com
Guest





PostPosted: Fri Apr 29, 2016 3:59 am    Post subject: [asterisk-users] my dahdi dont'n start Reply with quote

Hello,
It runs .I can use meetme application now.You can see the result after the command:
/etc/init.d/dahdi restart
Unloading DAHDI hardware modules: done
Loading DAHDI hardware modules:
Running dahdi_cfg: .
serveurvoix:/#

It runs after doing that command "make install-config" in the folder /usr/src/asterisk/dahdi/tools.
Thanks
Quote:

Le 29 avril 2016 à 09:31, Yves <ybaesa@dm2it.com> a écrit :


Hello,
I was faced with this problem, it is enough to place
subdirectory under ./tools installation dahdi when compiling and
run make install-config it should work.

we must have :
mkdir -p / etc / dahdi
mkdir -p /etc/modprobe.d
install -m644 xpp / genconf_parameters / etc / dahdi / genconf_parameters
install -m644 init.conf.sample /etc/dahdi/init.conf
install -m644 blacklist.sample /etc/modprobe.d/dahdi-blacklist.conf
install -m644 modprobe.conf.sample /etc/modprobe.d/dahdi.conf
make -f ./Makefile.legacy top_srcdir =. srcdir =. config
make [1]: Entering directory
'/usr/src/dahdi-linux-complete-2.11.1+2.11.1/tools'
install -D dahdi.init /etc/init.d/dahdi
/usr/sbin/update-rc.d dahdi defaults 15 30
DAHDI has-been configured.

Le 28/04/2016 16:37, A J Stiles a écrit :
Quote:

On Thursday 28 Apr 2016, Mamadou NGOM wrote:

Quote:
Quote:
Hello,>> it doesn't work my dahdi yet .for information, i use debian 8 .
I put the file dahdi.bash in /etc/init.d and I gave it the permission 755
but i have the same error: bash: /etc/init.d/dahdi: No such file or
directory
You need to name the file just "dahdi", not "dahdi.bash"; because the command
"service dahdi start" is looking for a file just called "dahdi". If you run
# mv /etc/init.d/dahdi.bash /etc/init.d/dahdi
then
# service dahdi start
should work.

You probably also need to run
# update-rc.d dahdi defaults
to ensure it starts up everytime the computer is booted up.


--
_____________________________________________________________________
-- 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



Mamadou NGOM
Ingénieur Télécommunications & Réseaux
Mobile: 06 72 45 23 03
Skype: Mamadou Numericap
NumeriCap – SAS au capital de 30.000,00€ - RCS de Toulon N° 530188432 – TVA FR 485301188432 – APE6110Z - ARCEP N°13/0015.
siège social : « le Galaxie C » 526 avenue Maréchal de Lattre de Tassigny 83000 Toulon. mail: finance@numericap.com ([email]mail%3Afinance@numericap.com[/email])
Centre d’exploitation : « Résidence les Coquières » 11 avenue Joseph Fallen - 13400 Aubagne – Tel :04.42.73.88.52 
Back to top
ngom at numericap.com
Guest





PostPosted: Fri Apr 29, 2016 4:06 am    Post subject: [asterisk-users] my dahdi dont'n start Reply with quote

Hello,
It runs but  if i run these commands I wont have a good result.


serveurvoix:/# dahdi_cfg -s
Notice: Configuration file is /etc/dahdi/system.conf
line 0: Unable to open configuration file '/etc/dahdi/system.conf'
1 error(s) detected
serveurvoix:/# dahdi_cfg -v
DAHDI Tools Version - 2.11.1
Notice: Configuration file is /etc/dahdi/system.conf
line 0: Unable to open configuration file '/etc/dahdi/system.conf'
1 error(s) detected
serveurvoix:/#



it doesn't see the file system.conf which must be created automatically during the compilation.
My be i must create it manually ?
Thank for your answer.
Quote:
Le 29 avril 2016 à 10:59, Mamadou NGOM <ngom@numericap.com> a écrit :




Hello,
It runs .I can use meetme application now.You can see the result after the command:
/etc/init.d/dahdi restart
Unloading DAHDI hardware modules: done
Loading DAHDI hardware modules:
Running dahdi_cfg: .
serveurvoix:/#

It runs after doing that command "make install-config" in the folder /usr/src/asterisk/dahdi/tools.
Thanks
Quote:

Le 29 avril 2016 à 09:31, Yves <ybaesa@dm2it.com> a écrit :


Hello,
I was faced with this problem, it is enough to place
subdirectory under ./tools installation dahdi when compiling and
run make install-config it should work.

we must have :
mkdir -p / etc / dahdi
mkdir -p /etc/modprobe.d
install -m644 xpp / genconf_parameters / etc / dahdi / genconf_parameters
install -m644 init.conf.sample /etc/dahdi/init.conf
install -m644 blacklist.sample /etc/modprobe.d/dahdi-blacklist.conf
install -m644 modprobe.conf.sample /etc/modprobe.d/dahdi.conf
make -f ./Makefile.legacy top_srcdir =. srcdir =. config
make [1]: Entering directory
'/usr/src/dahdi-linux-complete-2.11.1+2.11.1/tools'
install -D dahdi.init /etc/init.d/dahdi
/usr/sbin/update-rc.d dahdi defaults 15 30
DAHDI has-been configured.

Le 28/04/2016 16:37, A J Stiles a écrit :
Quote:

On Thursday 28 Apr 2016, Mamadou NGOM wrote:

Quote:
Quote:
Hello,>> it doesn't work my dahdi yet .for information, i use debian 8 .
I put the file dahdi.bash in /etc/init.d and I gave it the permission 755
but i have the same error: bash: /etc/init.d/dahdi: No such file or
directory
You need to name the file just "dahdi", not "dahdi.bash"; because the command
"service dahdi start" is looking for a file just called "dahdi". If you run
# mv /etc/init.d/dahdi.bash /etc/init.d/dahdi
then
# service dahdi start
should work.

You probably also need to run
# update-rc.d dahdi defaults
to ensure it starts up everytime the computer is booted up.


--
_____________________________________________________________________
-- 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



Mamadou NGOM
Ingénieur Télécommunications & Réseaux
Mobile: 06 72 45 23 03
Skype: Mamadou Numericap
NumeriCap – SAS au capital de 30.000,00€ - RCS de Toulon N° 530188432 – TVA FR 485301188432 – APE6110Z - ARCEP N°13/0015.
siège social : « le Galaxie C » 526 avenue Maréchal de Lattre de Tassigny 83000 Toulon. mail: finance@numericap.com ([email]mail%3Afinance@numericap.com[/email])
Centre d’exploitation : « Résidence les Coquières » 11 avenue Joseph Fallen - 13400 Aubagne – Tel :04.42.73.88.52 



 
Quote:
-- _____________________________________________________________________ -- 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



Mamadou NGOM
Ingénieur Télécommunications & Réseaux
Mobile: 06 72 45 23 03
Skype: Mamadou Numericap
NumeriCap – SAS au capital de 30.000,00€ - RCS de Toulon N° 530188432 – TVA FR 485301188432 – APE6110Z - ARCEP N°13/0015.
siège social : « le Galaxie C » 526 avenue Maréchal de Lattre de Tassigny 83000 Toulon. mail: finance@numericap.com ([email]mail%3Afinance@numericap.com[/email])
Centre d’exploitation : « Résidence les Coquières » 11 avenue Joseph Fallen - 13400 Aubagne – Tel :04.42.73.88.52 
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Tue May 03, 2016 2:43 am    Post subject: [asterisk-users] my dahdi dont'n start Reply with quote

On Fri, Apr 29, 2016 at 09:38:10AM +0200, Mamadou NGOM wrote:
Quote:
Hello,

I have not resolved my problem.I renamed my dahdi file "mv dahdi.bash
dahdi " in the directory /etc/init.d, but it doesn'nt work yet.

the same error after the command /etc/init.d/dahdi start
-bash: /etc/init.d/dahdi: /bin/sh^M: bad interpreter: No such file or
directory

This is a DOS-formatted text file. A '#!' at the beginning of the line
is handed over to the Linux kernel, which takes the rest of first line
(up to the first newline character) as the interpreter of the script.

This first line here is '/bin/sh\r', because this file is a
DOS-formatted text file, with lines that end in '\r\n' instead of '\n'
as in UNIX text files.

sed -i -e 's/\r$//' /etc/init.d/dahdi

And then again, do you really need a DAHDI init script? See my previous
message:

http://lists.digium.com/pipermail/asterisk-users/2016-April/288968.html

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com

--
_____________________________________________________________________
-- 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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services