Hello! I am migrating one server from openzap to freetdm. When I load freetdm I get: ---------------------- 2010-10-21 20:18:58.924598 [ERR] ftdm_io.c:4271 Error loading /usr/local/freeswitch/mod/ftmod_sangoma_isdn.so [libsng_isdn.so.0: cannot open shared object file: No such file or directory] 2010-10-21 20:18:58.924598 [ERR] ftdm_io.c:4528 Failed to load module type: sangoma_isdn 2010-10-21 20:18:58.924598 [ERR] mod_freetdm.c:2478 Error configuring Sangoma ISDN FreeTDM span 1 ---------------------- for each span. /usr/local/freeswitch/mod/ftmod_sangoma_isdn.so file exists so I don't know why FS fails loading it. Any suggestion? Regards
You're missing some shared object files. Make sure to install the lib-sangoma stuff, according to their wiki. /Peter ________________________________________ Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Juan Antonio Ibañez Santorum [juanito1982@gmail.com] Skickat: den 21 oktober 2010 20:33 Till: FreeSWITCH Users Help Ämne: [Freeswitch-users] FreeTDM error Hello! I am migrating one server from openzap to freetdm. When I load freetdm I get: ---------------------- 2010-10-21 20:18:58.924598 [ERR] ftdm_io.c:4271 Error loading /usr/local/freeswitch/mod/ftmod_sangoma_isdn.so [libsng_isdn.so.0: cannot open shared object file: No such file or directory] 2010-10-21 20:18:58.924598 [ERR] ftdm_io.c:4528 Failed to load module type: sangoma_isdn 2010-10-21 20:18:58.924598 [ERR] mod_freetdm.c:2478 Error configuring Sangoma ISDN FreeTDM span 1 ---------------------- for each span. /usr/local/freeswitch/mod/ftmod_sangoma_isdn.so file exists so I don't know why FS fails loading it. Any suggestion? Regards !DSPAM:4cc0893432931434226835!
Juan Antonio Iba�ez Santorum <juanito1982@gmail.com> said:
/usr/local/freeswitch/mod/ftmod_sangoma_isdn.so file exists so I don't know why FS fails loading it. Any suggestion?
File/directory permission problems? -- Russell Mosemann ________________________________________________________ Concordia University, Nebraska See http://www.cune.edu/ for the latest news and events!
[libsng_isdn.so.0: cannot open shared object file: No such file or directory]
Peter is correct. I didn't see the reference to the missing library above. You have to install the library separately. -- Russell Mosemann ________________________________________________________ Concordia University, Nebraska See http://www.cune.edu/ for the latest news and events!
On 10/21/2010 08:33 PM, Juan Antonio Ibañez Santorum wrote:
Hello!
I am migrating one server from openzap to freetdm. When I load freetdm I get:
---------------------- 2010-10-21 20:18:58.924598 [ERR] ftdm_io.c:4271 Error loading /usr/local/freeswitch/mod/ftmod_sangoma_isdn.so [libsng_isdn.so.0:
^^^^^^^^^^^^^^^^^ You need to install libsng_isdn. You can find it on the Sangoma website. Regards, Patrick
libsng_isdn-1.2.0.x86_64 installed befor compiling... 2010/10/21 Patrick Lists <freeswitch-list@puzzled.xs4all.nl>
On 10/21/2010 08:33 PM, Juan Antonio Ibañez Santorum wrote:
Hello!
I am migrating one server from openzap to freetdm. When I load freetdm I get:
---------------------- 2010-10-21 20:18:58.924598 [ERR] ftdm_io.c:4271 Error loading /usr/local/freeswitch/mod/ftmod_sangoma_isdn.so [libsng_isdn.so.0:
^^^^^^^^^^^^^^^^^
You need to install libsng_isdn. You can find it on the Sangoma website.
Regards, Patrick
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Juan Antonio Iba�ez Santorum <juanito1982@gmail.com> said:
libsng_isdn-1.2.0.x86_64 installed befor compiling...
Check all of the normal things. Are file/directory permissions OK? Does the library show up in "ldconfig -v"? -- Russell Mosemann ________________________________________________________ Concordia University, Nebraska See http://www.cune.edu/ for the latest news and events!
FS runs as root so no file permissions problems... --------------------------- [root@nocheydia03 bin]# ldconfig -v | grep isdn ldconfig: Path `/usr/local/lib' given more than once ldconfig: Path `/usr/local/lib' given more than once ldconfig: Path `/usr/local/lib' given more than once ldconfig: Path `/usr/local/lib' given more than once libsng_isdn.so.0 -> libsng_isdn.so --------------------------- Regards 2010/10/21 <Russell.Mosemann@cune.org>
Juan Antonio Iba�ez Santorum <juanito1982@gmail.com> said:
libsng_isdn-1.2.0.x86_64 installed befor compiling...
Check all of the normal things. Are file/directory permissions OK? Does the library show up in "ldconfig -v"?
-- Russell Mosemann
________________________________________________________ Concordia University, Nebraska See http://www.cune.edu/ for the latest news and events!
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Juan Antonio Iba�ez Santorum <juanito1982@gmail.com> said:
ldconfig: Path `/usr/local/lib' given more than once libsng_isdn.so.0 -> libsng_isdn.so ---------------------------
What does "ldd ftmod_sangoma_isdn.so" say? -- Russell Mosemann ________________________________________________________ Concordia University, Nebraska See http://www.cune.edu/ for the latest news and events!
------------------ [root@nocheydia03 mod]# ldd ftmod_sangoma_isdn.so libsng_isdn.so.0 => /usr/lib64/libsng_isdn.so.0 (0x00002b3c641d3000) libfreetdm.so.1 => /usr/local/freeswitch/lib/libfreetdm.so.1 (0x00002b3c645d2000) libm.so.6 => /lib64/libm.so.6 (0x00002b3c647f5000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b3c64a79000) libdl.so.2 => /lib64/libdl.so.2 (0x00002b3c64c94000) libc.so.6 => /lib64/libc.so.6 (0x00002b3c64e98000) libsangoma.so.3 => /usr/lib/libsangoma.so.3 (0x00002b3c651f0000) librt.so.1 => /lib64/librt.so.1 (0x00002b3c653f9000) /lib64/ld-linux-x86-64.so.2 (0x00000033c6e00000) ------------------ 2010/10/21 <Russell.Mosemann@cune.org>
Juan Antonio Iba�ez Santorum <juanito1982@gmail.com> said:
ldconfig: Path `/usr/local/lib' given more than once libsng_isdn.so.0 -> libsng_isdn.so ---------------------------
What does "ldd ftmod_sangoma_isdn.so" say?
-- Russell Mosemann
________________________________________________________ Concordia University, Nebraska See http://www.cune.edu/ for the latest news and events!
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Juan Antonio Iba�ez Santorum <juanito1982@gmail.com> said:
------------------ [root@nocheydia03 mod]# ldd ftmod_sangoma_isdn.so libsng_isdn.so.0 => /usr/lib64/libsng_isdn.so.0
Keep going. You have to track down the problem. Does /usr/lib64/libsng_isdn.so.0 exist? Does it point to a file that exists in the same directory? You showed that there was some kind of isdn library from ldconfig, but you didn't show that the library was listed in /usr/lib64 when running ldconfig. Are you running on a 64-bit OS of some kind? -- Russell Mosemann ________________________________________________________ Concordia University, Nebraska See http://www.cune.edu/ for the latest news and events!
2010/10/21 <Russell.Mosemann@cune.org>
Juan Antonio Iba�ez Santorum <juanito1982@gmail.com> said:
------------------ [root@nocheydia03 mod]# ldd ftmod_sangoma_isdn.so libsng_isdn.so.0 => /usr/lib64/libsng_isdn.so.0
Keep going. You have to track down the problem. Does /usr/lib64/libsng_isdn.so.0 exist?
Yes
Does it point to a file that exists in the same directory?
Yes, ----------------------- [root@nocheydia03 lib64]# ls -l libsng* -rw-r--r-- 1 root root 2177181 oct 21 19:40 libsng_isdn.so lrwxrwxrwx 1 root root 14 oct 21 21:13 libsng_isdn.so.0 -> libsng_isdn.so -----------------------
You showed that there was some kind of isdn library from ldconfig, but you didn't show that the library was listed in /usr/lib64 when running ldconfig.
Yes, it is under /usr/lib64: http://pastebin.freeswitch.org/14288
Are you running on a 64-bit OS of some kind?
Centos 5.4
-- Russell Mosemann
________________________________________________________ Concordia University, Nebraska See http://www.cune.edu/ for the latest news and events!
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Everything you have provided so far looks correct. Is FS running chroot? If capabilities are not turned off, temporarily turn them off and see if FS will run. Are there possibly any ACLs attached to the files/directories that would prevent root from accessing the library? Are there any helpful error messages in any of the system logs? -- Russell Mosemann ________________________________________________________ Concordia University, Nebraska See http://www.cune.edu/ for the latest news and events!
On 10/22/2010 03:05 PM, Russell.Mosemann@cune.org wrote:
Everything you have provided so far looks correct. Is FS running chroot? If capabilities are not turned off, temporarily turn them off and see if FS will run. Are there possibly any ACLs attached to the files/directories that would prevent root from accessing the library? Are there any helpful error messages in any of the system logs?
Another suggestion: how about selinux? Is it active? If yes, check with ls -Z /usr/lib64/libsng_isdn.so.* if it has the proper security context. Should be something like: system_u:object_r:lib_t:s0 To set/restore the proper security context read man restorecon. Regards, Patrick
It was solver by one Sangoma support techs using a newer version that I downloade from Sangoma wiki. It seems to work ok but when I set up one call I always get a fack ringtone before real one although the callee is busy. Is there any way to disable it? Regards 2010/10/22 Patrick Lists <freeswitch-list@puzzled.xs4all.nl>
On 10/22/2010 03:05 PM, Russell.Mosemann@cune.org wrote:
Everything you have provided so far looks correct. Is FS running chroot? If capabilities are not turned off, temporarily turn them off and see if FS will run. Are there possibly any ACLs attached to the files/directories that would prevent root from accessing the library? Are there any helpful error messages in any of the system logs?
Another suggestion: how about selinux? Is it active? If yes, check with ls -Z /usr/lib64/libsng_isdn.so.* if it has the proper security context. Should be something like: system_u:object_r:lib_t:s0 To set/restore the proper security context read man restorecon.
Regards, Patrick
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (4)
-
Juan Antonio Ibañez Santorum
-
Patrick Lists
-
Peter Olsson
-
Russell.Mosemann@cune.org