Page 1 of 1

DAHDI dead and cannot started.

PostPosted: Fri Jul 03, 2020 6:28 am
by kvar
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

Re: DAHDI dead and cannot started.

PostPosted: Fri Jul 03, 2020 6:51 am
by carpenox
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

Re: DAHDI dead and cannot started.

PostPosted: Fri Jul 03, 2020 7:19 am
by kvar
If you mean, by hardware, telephone cards etc, NO calls in/out are all voip/sip.

Re: DAHDI dead and cannot started.

PostPosted: Fri Jul 03, 2020 7:22 am
by kvar
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

Re: DAHDI dead and cannot started.

PostPosted: Fri Jul 03, 2020 8:21 am
by carpenox
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

Re: DAHDI dead and cannot started.

PostPosted: Fri Jul 03, 2020 8:56 am
by kvar
I dont see directory /usr/src/asterisk
Is it some where else? or give pls the contents to search if exist somewhere else.
thanks

Re: DAHDI dead and cannot started.

PostPosted: Fri Jul 03, 2020 9:00 am
by kvar
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
[

Re: DAHDI dead and cannot started.

PostPosted: Fri Jul 03, 2020 10:34 am
by kvar
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.

Re: DAHDI dead and cannot started.

PostPosted: Fri Jul 03, 2020 1:03 pm
by carpenox
It does. Perhaps try to reinstall if it's a new server

Re: DAHDI dead and cannot started.

PostPosted: Fri Jul 03, 2020 1:44 pm
by kvar
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.

Re: DAHDI dead and cannot started.

PostPosted: Fri Jul 03, 2020 11:07 pm
by carpenox
if you run "modprobe dahdi" it will fix it or not?

Re: DAHDI dead and cannot started.

PostPosted: Sat Jul 04, 2020 3:02 am
by kvar
I remove and add again the dahdi module in the kernel. No change.

Re: DAHDI dead and cannot started.

PostPosted: Sat Jul 04, 2020 5:02 am
by carpenox
You used that command in particular?
Modprobe dahdi

Are you using any hardware?