DAHDI dead and cannot started.

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

DAHDI dead and cannot started.

Postby kvar » Fri Jul 03, 2020 6:28 am

vici:/home/kvar # systemctl status dahdi.service
● dahdi.service - LSB: Load and initialize Dahdi.
Loaded: loaded (/etc/init.d/dahdi; generated; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2020-07-03 14:07:30 EEST; 47s ago
Docs: man:systemd-sysv-generator(8)
Process: 7409 ExecStart=/etc/init.d/dahdi start (code=exited, status=1/FAILURE)

Jul 03 14:07:10 vici systemd[1]: Starting LSB: Load and initialize Dahdi....
Jul 03 14:07:10 vici dahdi[7409]: Loading DAHDI hardware modules:
Jul 03 14:07:10 vici dahdi[7409]: There aren't any DAHDI hardware modules specified to
Jul 03 14:07:10 vici dahdi[7409]: load. Please update /etc/dahdi/modules in order to
Jul 03 14:07:10 vici dahdi[7409]: specify the modules to load.
Jul 03 14:07:30 vici dahdi[7409]: Error: missing /dev/dahdi!
Jul 03 14:07:30 vici systemd[1]: dahdi.service: Control process exited, code=exited status=1
Jul 03 14:07:30 vici systemd[1]: Failed to start LSB: Load and initialize Dahdi..
Jul 03 14:07:30 vici systemd[1]: dahdi.service: Unit entered failed state.
Jul 03 14:07:30 vici systemd[1]: dahdi.service: Failed with result 'exit-code'.

Our new Installation:
VERSION: 2.14-756a
BUILD: 200609-2257
Asterisk 13.29.2-vici
openSUSE Leap 15.1
ViciBox_v9.x86_64-9.0.2.iso
kvar
 
Posts: 20
Joined: Sat Jun 27, 2020 8:01 am

Re: DAHDI dead and cannot started.

Postby carpenox » Fri Jul 03, 2020 6:51 am

Are you using any hardware? If not just reinstall dahdi. Or try "systemctl enable dahdi" then systemctl start dahdi

You can check it by typing dahdi_cfg -vvv
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: DAHDI dead and cannot started.

Postby kvar » Fri Jul 03, 2020 7:19 am

If you mean, by hardware, telephone cards etc, NO calls in/out are all voip/sip.
kvar
 
Posts: 20
Joined: Sat Jun 27, 2020 8:01 am

Re: DAHDI dead and cannot started.

Postby kvar » Fri Jul 03, 2020 7:22 am

vici:/home/kvar # systemctl enable dahdi
dahdi.service is not a native service, redirecting to systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable dahdi

vici:/home/kvar # systemctl start dahdi
Job for dahdi.service failed because the control process exited with error code.
See "systemctl status dahdi.service" and "journalctl -xe" for details.
vici:/home/kvar # dahdi_cfg -vvv
DAHDI Tools Version - 3.1.0
Notice: Configuration file is /etc/dahdi/system.conf
line 0: Unable to open master device '/dev/dahdi/ctl'

1 error(s) detected
kvar
 
Posts: 20
Joined: Sat Jun 27, 2020 8:01 am

Re: DAHDI dead and cannot started.

Postby carpenox » Fri Jul 03, 2020 8:21 am

looks like u need to reinstall:

cd /usr/src/asterisk
wget http://downloads.asterisk.org/pub/telep ... ent.tar.gz
tar -xzvf dahdi-linux-complete-current.tar.gz
cd /usr/src/asterisk/dahdi-linux-complete-3.1.0+3.1.0/
make && make install
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: DAHDI dead and cannot started.

Postby kvar » Fri Jul 03, 2020 8:56 am

I dont see directory /usr/src/asterisk
Is it some where else? or give pls the contents to search if exist somewhere else.
thanks
kvar
 
Posts: 20
Joined: Sat Jun 27, 2020 8:01 am

Re: DAHDI dead and cannot started.

Postby kvar » Fri Jul 03, 2020 9:00 am

I think that there is no source asterisk in vicibox iso image
vici*CLI> core show version
Asterisk 13.29.2-vici built by abuild @ lamb53 on a x86_64 running Linux on 2020-07-01 05:42:24 UTC
[
kvar
 
Posts: 20
Joined: Sat Jun 27, 2020 8:01 am

Re: DAHDI dead and cannot started.

Postby kvar » Fri Jul 03, 2020 10:34 am

I tried to make the DAHDI from dahdi-linux-complete-3.1.0+3.1.0.tar etc
It asks for suse linux kernel sources ( linux-4.12.14-lp151.28.52.default) that i dowloaded.

I dont know what effects will be playing with kernel sources, Big job.

MY QUESTETION IS : Why the iso image downloaded from vicibox site do not have already installed a running version of DAHDI?
And if this depends of the machine architecture, is there any guide line to re install DAHDI in the specific configuration of vicibox ? of course without destroying all the custom configuration allready delivered by vicidial.
kvar
 
Posts: 20
Joined: Sat Jun 27, 2020 8:01 am

Re: DAHDI dead and cannot started.

Postby carpenox » Fri Jul 03, 2020 1:03 pm

It does. Perhaps try to reinstall if it's a new server
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: DAHDI dead and cannot started.

Postby kvar » Fri Jul 03, 2020 1:44 pm

We have re-instaledl the server 3 times. After every attempt, DAHDI dies in some days and we cannot restart it.. We did not make any changes to the system or the software installed. We just make configurations thru the web interface.
kvar
 
Posts: 20
Joined: Sat Jun 27, 2020 8:01 am

Re: DAHDI dead and cannot started.

Postby carpenox » Fri Jul 03, 2020 11:07 pm

if you run "modprobe dahdi" it will fix it or not?
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: DAHDI dead and cannot started.

Postby kvar » Sat Jul 04, 2020 3:02 am

I remove and add again the dahdi module in the kernel. No change.
kvar
 
Posts: 20
Joined: Sat Jun 27, 2020 8:01 am

Re: DAHDI dead and cannot started.

Postby carpenox » Sat Jul 04, 2020 5:02 am

You used that command in particular?
Modprobe dahdi

Are you using any hardware?
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 118 guests