CLI dahdi show channels not working

Hi Guys/Gals. New to the forum. I’d really appreciate some input on what the issue could be here, have read and tried several threads before posting a new one. Please let me know if I need post more information.

This post seemed to be the most relevant one: http://www.freepbx.org/forum/freepbx/installation/new-install-dahdi-help

My goal is to get my Digium TDM410P up and running.

dahdi_scan

[1]
active=yes
alarms=OK
description=Wildcard TDM410P
name=WCTDM/0
manufacturer=Digium
devicetype=Wildcard TDM410P
location=PCI Bus 06 Slot 02
basechan=1
totchans=4
irq=0
type=analog
port=1,FXO
port=2,FXO
port=3,FXO
port=4,none

[[email protected] modules]# service dahdi status

Span 1: WCTDM/0 “Wildcard TDM410P” (MASTER)

1 FXO FXSKS (EC: MG2 - INACTIVE) RED
2 FXO FXSKS (EC: MG2 - INACTIVE) RED
3 FXO FXSKS (EC: MG2 - INACTIVE) RED
4 unknown Reserved

pbx*CLI> module load chan_dahdi.so
Unable to load module chan_dahdi.so
Command 'module load chan_dahdi.so ’ failed.
[2012-11-14 09:28:53] WARNING[12250]: loader.c:403 load_dynamic_module: Error loading module ‘chan_dahdi.so’: libss7.so.1: cannot open shared object file: No such file or directory
[2012-11-14 09:28:53] WARNING[12250]: loader.c:863 load_resource: Module ‘chan_dahdi.so’ could not be loaded.

My output of Uname -a:
Linux pbx 2.6.32-220.13.1.el6.x86_64 #1 SMP Tue Apr 17 23:56:34 BST 2012 x86_64 x86_64 x86_64 GNU/Linux

Freepbx Version Information

Asterisk 1.8.17.0 built by root @ jenkins6.schmoozecom.net on a x86_64 running Linux on 2012-10-30 16:22:57 UTC

PBX Firmware: 1.817.210.62-1
PBX Service Pack: 1.0.0.0

My output of ldd /usr/lib64/asterisk/modules/chan_dahdi.so

    linux-vdso.so.1 =>  (0x00007fffbd3ff000)
    libtonezone.so.2.0 => /usr/lib64/libtonezone.so.2.0 (0x00007ff089454000)
    libpri.so.1.4 => /usr/lib64/libpri.so.1.4 (0x00007ff0891da000)
    libss7.so.1 => not found
    libopenr2.so.1 => not found
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff088fbd000)
    libc.so.6 => /lib64/libc.so.6 (0x00007ff088c2c000)
    libm.so.6 => /lib64/libm.so.6 (0x00007ff0889a8000)
    /lib64/ld-linux-x86-64.so.2 (0x00007ff089986000)

Both libss7.so.1 and libopenr2.so.1 is installed. Only difference is that libss7 is found in directory /usr/lib/ instead of /usr/lib64/

Thanks guys/gals

How did you install all of this? Are you using a Distro?

Tony he is using our distro “root @ jenkins6.schmoozecom.net

Thanks for the replies. Yes I installed using the latest Freepbx Distro. Apologies for the late reply, I suppose we are in different time zones.

I tried something that might be of some help. Removed both Asterisk and Freepbx using yum erase Asterisk18* && Freepbx*. Then yum install asterisk18* && freepbx*. It then detected the TDM410p card and loaded DAHDI modules by using putty to access the CLI with asterisk -rvvvv.

After this the web gui was not functioning properly so I updated asterisk and that is where the problem comes in mentioned above, where libss7.so.1 cannot be loaded.

Any suggestions?

check out this link: http://www.freepbx.org/forum/freepbx-distro/distro-discussion-help/libss7-32bit-in-64bit-installation

I looks like you are having the same problem I had yesterday.

libss7.so.1 => not found

I think your fix is there!

Jerry

Please follow this thread to upgrade to the latest version which has the fix for 64bit libss7

http://www.freepbx.org/forum/freepbx-distro/distro-discussion-help/freepbx-distro-1-8xx-210-62-releases-stable-releases