Freepbx 13 only showing only 1 te133

OK i so ran fwconsole restart… system is broken at this point
n output from dahdi_scan nor /etc/init.d/dahdi status

[root@localhost /]# /etc/init.d/dahdi status
[root@localhost /]# echo $?
0
[root@localhost /]#

[root@localhost /]# ls /proc/dahdi
[root@localhost /]# service dahdi start
Loading DAHDI hardware modules:
wct4xxp: [ OK ]
wcte43x: [ OK ]
wcte12xp: [ OK ]
wcte13xp: [ OK ]
wct1xxp: [ OK ]
wcte11xp: [ OK ]
r1t1: [ OK ]
rxt1: [ OK ]
wctdm24xxp: [ OK ]
wcaxx: [ OK ]
wcfxo: [ OK ]
wctdm: [ OK ]
rcbfx: [ OK ]
wcb4xxp: [ OK ]
wctc4xxp: [ OK ]
xpp_usb: [ OK ]

D: auto '/sys/bus/dahdi_devices/devices/pci:0000:17:00.0’
auto-assign /sys/bus/dahdi_devices/devices/pci:0000:17:00.0
Running dahdi_cfg: [ OK ]
[root@localhost /]# ls /proc/dahdi
1
[root@localhost /]#

I’ve been saying this from the beginning. Try stopping dahdi manually, let’s see if we can force it to stop. Stop running all of these commands I’m not asking you to run. Run these:

service dahdi stop 
service asterisk stop 
/etc/init.d/dahdi status
echo $?
ls /proc/dahdi
/usr/sbin/lsdahdi

Ok system is broken at this point

[root@localhost /]# /etc/init.d/dahdi status
[root@localhost /]# echo $?
0
[root@localhost /]# ls /proc/dahdi
[root@localhost /]# /usr/sbin/lsdahdi
[root@localhost /]# service dahdi stop
Unloading DAHDI hardware modules: done
[root@localhost /]# service stop asterisk
stop: unrecognized service
[root@localhost /]# service asterisk stop
Stopping safe_asterisk: [ OK ]
Shutting down asterisk: [ OK ]
[root@localhost /]# /etc/init.d/dahdi status
[root@localhost /]# echo $?
3
[root@localhost /]# ls /proc/dahdi
ls: cannot access /proc/dahdi: No such file or directory
[root@localhost /]# ls /proc/dahdi
ls: cannot access /proc/dahdi: No such file or directory
[root@localhost /]# /usr/sbin/lsdahdi
[root@localhost /]#

Ok so NOW you are at a point where dahdi is actually stopped.

So now run fwconsole start. Post the output here of the start sequence.

[root@localhost ~]# fwconsole start
Running FreePBX startup…
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions…
Collecting Files…Done
42557/42557 [============================] 100%
Finished setting permissions
Wanrouter: No valid Sangoma Hardware found, if you have no Sangoma cards this is OK
DAHDi: Already started
Running Sysadmin Hooks
Restarting fail2ban
fail2ban Restarted
Updating License Information for 26751820
Starting Asterisk…
[============================] 2 secs
Asterisk Started
Starting Restapps daemon
Running VQPlus Hooks
Starting Queue Callback Daemon
Queue Callback Daemon Started
Running XMPP Hooks
Starting XMPP Server
XMPP Server Started

Didn’t you just run?

And get 3?

Correct

I ran it on both systems

Test and Production with same outputs

Here it is all the command you told me to run all in order

[root@localhost /]# service dahdi stop
Unloading DAHDI hardware modules: done
[root@localhost /]# service asterisk stop
Stopping safe_asterisk: [ OK ]
Shutting down asterisk: [ OK ]
[root@localhost /]# /etc/init.d/dahdi status
[root@localhost /]# echo $?
3
[root@localhost /]# ls /proc/dahdi
ls: cannot access /proc/dahdi: No such file or directory
[root@localhost /]# /usr/sbin/lsdahdi
[root@localhost /]# fwconsole start
Running FreePBX startup…
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions…
Collecting Files…Done
42557/42557 [============================] 100%
Finished setting permissions
Wanrouter: No valid Sangoma Hardware found, if you have no Sangoma cards this is OK
DAHDi: Already started
Running Sysadmin Hooks
Restarting fail2ban
fail2ban Restarted
Starting Asterisk…
[============================] 4 secs
Asterisk Started
Starting Restapps daemon
Running VQPlus Hooks
Starting Queue Callback Daemon
Queue Callback Daemon Started
Running XMPP Hooks
Starting XMPP Server
XMPP Server Started
[root@localhost /]#

fwconsole ma upgrade dahdiconfig --edge
fwconsole stop
fwconsole start

[root@localhost /]# fwconsole ma upgrade dahdiconfig --edge
Edge repository temporarily enabled
No repos specified, using: [standard,commercial] from last GUI settings

Starting dahdiconfig download…
Processing dahdiconfig
Downloading…
260091/260091 [============================] 100%
Finished downloading
Extracting…Done
Module dahdiconfig successfully downloaded
Checking tables…Done
Generating CSS…Done
Module dahdiconfig successfully installed
Updating Hooks…Done
[root@localhost /]# fwconsole stop
Running FreePBX shutdown…

Restapps daemon was not running
Stopping UCP Server
Stopped UCP Server
XMPP Server Stopped
Stopping Zulu Server
Stopped Zulu Server
Shutting down Asterisk Gracefully. Will forcefully kill after 30 seconds.
Press C to Cancel
Press N to shut down NOW
[>---------------------------] 1 sec
Aborting Shutdown. Asterisk is still running

What did you paste me? Half the output I asked for???

it didnt copy all of it but it upgraded succesfully

I see that. But what I wanted to see was if dahdi started correctly. Which is why I didn’t ask for half of the information

[root@localhost /]# fwconsole ma upgrade dahdiconfig --edge
Edge repository temporarily enabled
No repos specified, using: [standard,commercial] from last GUI settings

Starting dahdiconfig download…
Processing dahdiconfig
Verifying local module download…Verified
Extracting…Done
Module dahdiconfig successfully downloaded
Checking tables…Done
Generating CSS…Done
Module dahdiconfig successfully installed
Updating Hooks…Done
[root@localhost /]# fwconsole stop
Running FreePBX shutdown…

Restapps daemon was not running
Stopping UCP Server
Stopped UCP Server
XMPP Server Stopped
Stopping Zulu Server
Stopped Zulu Server
Shutting down Asterisk Gracefully. Will forcefully kill after 30 seconds.
Press C to Cancel
Press N to shut down NOW
[============================] 1 sec
Wanrouter: No valid Sangoma Hardware found, if you have no Sangoma cards this is OK
Stopping DAHDi for Digium Cards
DAHDi Stopped
Running VQPlus Hooks
Stopping Queue Callback Daemon
Queue Callback Daemon Stopped
[root@localhost /]# fwconsole start
Running FreePBX startup…
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions…
Collecting Files…Done
46020/46020 [============================] 100%
Finished setting permissions
Wanrouter: No valid Sangoma Hardware found, if you have no Sangoma cards this is OK
Starting DAHDi for Digium Cards
DAHDi Started
Running Sysadmin Hooks
Restarting fail2ban
fail2ban Restarted
Starting Asterisk…
[============================] 3 secs
Asterisk Started
Starting Restapps daemon
Starting UCP Server
Started UCP Server
Running VQPlus Hooks
Starting Queue Callback Daemon
Queue Callback Daemon Started
Running XMPP Hooks
Starting XMPP Server
XMPP Server Started
[root@localhost /]#

Great!

1 Like

I ran fwconsole restart as a test and everything started back up like normal. dahdi_scan is outputting

Hence it fixed the issue on the test box and production box.

Will this be pushed out in the next update for dahdi config.

And echo $? should output 3 when it is running correct? If it still is 0 that is a problem

Thanks for all your help Andrew

No. It outputs 3 when it is NOT running.

It’s already out. That’s how you got it.