Hi:
I keep getting the following error on a 0.9.x system. The latest 0.9.x version of SER was just download and built on this server but I continue to get this same error. I've check the mysql Makefile and it seems to be correct. What else could cause this error?
ERROR: load_module: could not open module </usr/local/lib/ser/modules/mysql.so>: /usr/local/lib/ser/modules/mysql.so: undefined symbol: log
Thanks,Steve
Hi!
I am trying to use radius as the accounting server for SER. I am using the latest cvs version of ottendorf. After I send the Accounting request to radius the radius server brokes down and informs about memory segmentation fault. Maybe someone dealed with this problem and can point me what could be the reason for this. Here is the radius debug output:
rad_recv: Accounting-Request packet from host 127.0.0.1 port 32825, id=88, length=463 SER-Attr = "" Acct-Session-Id = "69E969D9-A757-D5D1-477F-77FEF8DAA44D@192.168.1.2" Sip-To-Tag = "795669631" SER-From = "tomix sip:tomix@tezet.no-ip.org:7060;tag=795669631" SER-Flags = 12 SER-Original-Request-ID = "sip:tomix@tezet.no-ip.org" Sip-Method = "INVITE" Sip-Cseq = 51319 Sip-Translated-Request-ID = "sip:tomix@192.168.1.2:7060" Sip-Source-IP-Address = 192.168.1.2 Sip-From-Tag = "795669631" SER-To = "sip:tomix@tezet.no-ip.org;tag=795669631" SER-Digest-Username = "tomix" SER-Request-Timestamp = 1170882487 Calling-Station-Id = "sip:tomix@tezet.no-ip.org:7060" Sip-Source-Port = 7060 SER-Digest-Realm = "tezet.no-ip.org" Sip-Response-Code = 486 Called-Station-Id = "sip:tomix@tezet.no-ip.org" SER-Response-Timestamp = 1170882487 Acct-Status-Type = Failed Service-Type = IAPP-Register NAS-Port = 5060 Acct-Delay-Time = 0 NAS-IP-Address = 127.0.0.1 Processing the preacct section of radiusd.conf modcall: entering group preacct for request 1 Naruszenie ochrony pamięci (translation -> memory segmentation fault)
(when I commented out the preprocess module form the preacct it didn't broke down but still nothig was logged in the database) My radiusd.conf file look like this:
preprocess { huntgroups = ${confdir}/huntgroups hints = ${confdir}/hints with_ascend_hack = no ascend_channels_per_line = 23 with_ntdomain_hack = no with_specialix_jetstream_hack = no with_cisco_vsa_hack = no }
preacct { preprocess acct_unique suffix files }
accounting { acc_req_log radutmp sql attr_filter.accounting_response }
it apeared that the problem was in the radius server in the latest cvs of radius is patch which fixes the problem
Best tomasz tzieleniewski napisał(a):
Hi!
I am trying to use radius as the accounting server for SER. I am using the latest cvs version of ottendorf. After I send the Accounting request to radius the radius server brokes down and informs about memory segmentation fault. Maybe someone dealed with this problem and can point me what could be the reason for this. Here is the radius debug output:
rad_recv: Accounting-Request packet from host 127.0.0.1 port 32825, id=88, length=463 SER-Attr = "" Acct-Session-Id = "69E969D9-A757-D5D1-477F-77FEF8DAA44D@192.168.1.2" Sip-To-Tag = "795669631" SER-From = "tomix sip:tomix@tezet.no-ip.org:7060;tag=795669631" SER-Flags = 12 SER-Original-Request-ID = "sip:tomix@tezet.no-ip.org" Sip-Method = "INVITE" Sip-Cseq = 51319 Sip-Translated-Request-ID = "sip:tomix@192.168.1.2:7060" Sip-Source-IP-Address = 192.168.1.2 Sip-From-Tag = "795669631" SER-To = "sip:tomix@tezet.no-ip.org;tag=795669631" SER-Digest-Username = "tomix" SER-Request-Timestamp = 1170882487 Calling-Station-Id = "sip:tomix@tezet.no-ip.org:7060" Sip-Source-Port = 7060 SER-Digest-Realm = "tezet.no-ip.org" Sip-Response-Code = 486 Called-Station-Id = "sip:tomix@tezet.no-ip.org" SER-Response-Timestamp = 1170882487 Acct-Status-Type = Failed Service-Type = IAPP-Register NAS-Port = 5060 Acct-Delay-Time = 0 NAS-IP-Address = 127.0.0.1 Processing the preacct section of radiusd.conf modcall: entering group preacct for request 1 Naruszenie ochrony pamięci (translation -> memory segmentation fault)
(when I commented out the preprocess module form the preacct it didn't broke down but still nothig was logged in the database) My radiusd.conf file look like this:
preprocess { huntgroups = ${confdir}/huntgroups hints = ${confdir}/hints with_ascend_hack = no ascend_channels_per_line = 23 with_ntdomain_hack = no with_specialix_jetstream_hack = no with_cisco_vsa_hack = no }
preacct { preprocess acct_unique suffix files }
accounting { acc_req_log radutmp sql attr_filter.accounting_response }
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Heh. I JUST posted information about this to the list a few days ago.
What version of MySQL are you using? What OS?
Can you run this command and tell me the output?
ldconfig -p | grep -i mysqlclient
N.
On Wed, 07 Feb 2007 16:16:35 -0500, Steve Blair wrote
Hi:
I keep getting the following error on a 0.9.x system. The latest 0.9.x version of SER was just download and built on this server but I continue to get this same error. I've check the mysql Makefile and it seems to be correct. What else could cause this error?
ERROR: load_module: could not open module </usr/local/lib/ser/modules/mysql.so>: /usr/local/lib/ser/modules/mysql.so: undefined symbol: log
Thanks,Steve _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
libmysqlclient_r.so.15 (libc6) => /usr/lib/libmysqlclient_r.so.15 libmysqlclient_r.so.14 (libc6) => /usr/lib/libmysqlclient_r.so.14 libmysqlclient_r.so.12 (libc6) => /usr/lib/libmysqlclient_r.so.12 libmysqlclient_r.so.10 (libc6) => /usr/lib/mysql/libmysqlclient_r.so.10 libmysqlclient_r.so.10 (libc6) => /usr/lib/libmysqlclient_r.so.10 libmysqlclient_r.so (libc6) => /usr/lib/libmysqlclient_r.so libmysqlclient.so.15 (libc6) => /usr/lib/libmysqlclient.so.15 libmysqlclient.so.14 (libc6) => /usr/lib/libmysqlclient.so.14 libmysqlclient.so.12 (libc6) => /usr/lib/libmysqlclient.so.12 libmysqlclient.so.10 (libc6) => /usr/lib/mysql/libmysqlclient.so.10 libmysqlclient.so.10 (libc6) => /usr/lib/libmysqlclient.so.10 libmysqlclient.so (libc6) => /usr/lib/libmysqlclient.so
sip wrote:
Heh. I JUST posted information about this to the list a few days ago.
What version of MySQL are you using? What OS?
Can you run this command and tell me the output?
ldconfig -p | grep -i mysqlclient
N.
On Wed, 07 Feb 2007 16:16:35 -0500, Steve Blair wrote
Hi:
I keep getting the following error on a 0.9.x system. The latest 0.9.x version of SER was just download and built on this server but I continue to get this same error. I've check the mysql Makefile and it seems to be correct. What else could cause this error?
ERROR: load_module: could not open module </usr/local/lib/ser/modules/mysql.so>: /usr/local/lib/ser/modules/mysql.so: undefined symbol: log
Thanks,Steve _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Wow... you have many versions of the mysqlclient libs.
HOWEVER... you have the same problem I had.
All of you more recent ones are stored in /usr/lib. The mysql.so module compile ONLY looks for the lib in /usr/lib/mysql (or some of the /usr/local subtrees). However, it will compile and link just FINE (for reasons escaping rationality) without its required libraries in the right place and just error out when you try and run it.
sym link libmysqlclient.so.15 into the /usr/lib/mysql dir, recompile, and try again.
ln -s /usr/lib/mysqlclient.so.15 /usr/lib/mysql
Also... you should think about cleaning up some of the old versions of the mysql stuff. That's only going to cause issues down the road.
N.
On Wed, 07 Feb 2007 20:07:23 -0500, Steve Blair wrote
libmysqlclient_r.so.15 (libc6) => /usr/lib/libmysqlclient_r.so.15 libmysqlclient_r.so.14 (libc6) => /usr/lib/libmysqlclient_r.so.14 libmysqlclient_r.so.12 (libc6) => /usr/lib/libmysqlclient_r.so.12 libmysqlclient_r.so.10 (libc6) => /usr/lib/mysql/libmysqlclient_r.so.10 libmysqlclient_r.so.10 (libc6) => /usr/lib/libmysqlclient_r.so.10 libmysqlclient_r.so (libc6) => /usr/lib/libmysqlclient_r.so libmysqlclient.so.15 (libc6) => /usr/lib/libmysqlclient.so.15 libmysqlclient.so.14 (libc6) => /usr/lib/libmysqlclient.so.14 libmysqlclient.so.12 (libc6) => /usr/lib/libmysqlclient.so.12 libmysqlclient.so.10 (libc6) => /usr/lib/mysql/libmysqlclient.so.10 libmysqlclient.so.10 (libc6) => /usr/lib/libmysqlclient.so.10 libmysqlclient.so (libc6) => /usr/lib/libmysqlclient.so
sip wrote:
Heh. I JUST posted information about this to the list a few days ago.
What version of MySQL are you using? What OS?
Can you run this command and tell me the output?
ldconfig -p | grep -i mysqlclient
N.
On Wed, 07 Feb 2007 16:16:35 -0500, Steve Blair wrote
Hi:
I keep getting the following error on a 0.9.x system. The latest 0.9.x version of SER was just download and built on this server but I continue to get this same error. I've check the mysql Makefile and it seems to be correct. What else could cause this error?
ERROR: load_module: could not open module </usr/local/lib/ser/modules/mysql.so>: /usr/local/lib/ser/modules/mysql.so: undefined symbol: log
Thanks,Steve _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Nothing irrational about the compilation of mysql... I tried to explain in a previous post that when compiling AND linking, the only thing required are the mysql-devel package, i.e. header files. As long as they are present and matches mysql modules expected function parameters and return values, everything will compile without errors. When you run ser, the modules will load and the symbols will be resolved. If the mysql client library is missing (matching the mysql-devel headers), the dynamic loader will fail.
hope this was clearer. g-)
------- Original message ------- From: sip sip@arcdiv.com Sent: 7.2.'07, 21:34
Wow... you have many versions of the mysqlclient libs.
HOWEVER... you have the same problem I had.
All of you more recent ones are stored in /usr/lib. The mysql.so module compile ONLY looks for the lib in /usr/lib/mysql (or some of the /usr/local subtrees). However, it will compile and link just FINE (for reasons escaping rationality) without its required libraries in the right place and just error out when you try and run it.
sym link libmysqlclient.so.15 into the /usr/lib/mysql dir, recompile, and try again.
ln -s /usr/lib/mysqlclient.so.15 /usr/lib/mysql
Also... you should think about cleaning up some of the old versions of the mysql stuff. That's only going to cause issues down the road.
N.
On Wed, 07 Feb 2007 20:07:23 -0500, Steve Blair wrote
libmysqlclient_r.so.15 (libc6) => /usr/lib/libmysqlclient_r.so.15 libmysqlclient_r.so.14 (libc6) => /usr/lib/libmysqlclient_r.so.14 libmysqlclient_r.so.12 (libc6) => /usr/lib/libmysqlclient_r.so.12 libmysqlclient_r.so.10 (libc6) => /usr/lib/mysql/libmysqlclient_r.so.10 libmysqlclient_r.so.10 (libc6) => /usr/lib/libmysqlclient_r.so.10 libmysqlclient_r.so (libc6) => /usr/lib/libmysqlclient_r.so libmysqlclient.so.15 (libc6) => /usr/lib/libmysqlclient.so.15 libmysqlclient.so.14 (libc6) => /usr/lib/libmysqlclient.so.14 libmysqlclient.so.12 (libc6) => /usr/lib/libmysqlclient.so.12 libmysqlclient.so.10 (libc6) => /usr/lib/mysql/libmysqlclient.so.10 libmysqlclient.so.10 (libc6) => /usr/lib/libmysqlclient.so.10 libmysqlclient.so (libc6) => /usr/lib/libmysqlclient.so
sip wrote:
Heh. I JUST posted information about this to the list a few days ago.
What version of MySQL are you using? What OS?
Can you run this command and tell me the output?
ldconfig -p | grep -i mysqlclient
N.
On Wed, 07 Feb 2007 16:16:35 -0500, Steve Blair wrote
Hi:
I keep getting the following error on a 0.9.x system. The latest 0.9.x version of SER was just download and built on this server but I continue to get this same error. I've check the mysql Makefile and it seems to be correct. What else could cause this error?
ERROR: load_module: could not open module </usr/local/lib/ser/modules/mysql.so>: /usr/local/lib/ser/modules/mysql.so: undefined symbol: log
Thanks,Steve _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hi!!
I tried to set up the new version of radiusclient-ng with the 64bit CPU patch but I encountered the following problems.
At the beginning I tried to install it as a debian package downloaded from the iptel ftp with dpkg tool (dpkg -i radius...) but there was an error that the package platform architecture of the packet is i368 when my system architecture is amd64. So I left it, posted and info on user list and tried to do it from source.
I downloaded source and did: #./configure # make # make install
Everything went ok, I recompiled ser and restarted it. Ser started but strange thing appeared there was no requests send to freeradius neither Access Request nor Accounting request. Please verify this issue.
Thanks in advance. Tomasz
MUCH. Although something as simple as autoconf would at least tell you if it were going to work without leaving you in the dark as to what libs are required to then run the module you just tried to access. :)
N.
On Thu, 08 Feb 2007 09:08:16 +0100, Greger Viken Teigre wrote
Nothing irrational about the compilation of mysql... I tried to explain in a previous post that when compiling AND linking, the only thing required are the mysql-devel package, i.e. header files. As long as they are present and matches mysql modules expected function parameters and return values, everything will compile without errors. When you run ser, the modules will load and the symbols will be resolved. If the mysql client library is missing (matching the mysql-devel headers), the dynamic loader will fail.
hope this was clearer. g-)
------- Original message ------- From: sip sip@arcdiv.com Sent: 7.2.'07, 21:34
Wow... you have many versions of the mysqlclient libs.
HOWEVER... you have the same problem I had.
All of you more recent ones are stored in /usr/lib. The mysql.so module compile ONLY looks for the lib in /usr/lib/mysql (or some of the /usr/local subtrees). However, it will compile and link just FINE (for reasons escaping rationality) without its required libraries in the right place and just error out when you try and run it.
sym link libmysqlclient.so.15 into the /usr/lib/mysql dir, recompile, and try again.
ln -s /usr/lib/mysqlclient.so.15 /usr/lib/mysql
Also... you should think about cleaning up some of the old versions of the mysql stuff. That's only going to cause issues down the road.
N.
On Wed, 07 Feb 2007 20:07:23 -0500, Steve Blair wrote
libmysqlclient_r.so.15 (libc6) => /usr/lib/libmysqlclient_r.so.15 libmysqlclient_r.so.14 (libc6) => /usr/lib/libmysqlclient_r.so.14 libmysqlclient_r.so.12 (libc6) => /usr/lib/libmysqlclient_r.so.12 libmysqlclient_r.so.10 (libc6) => /usr/lib/mysql/libmysqlclient_r.so.10 libmysqlclient_r.so.10 (libc6) => /usr/lib/libmysqlclient_r.so.10 libmysqlclient_r.so (libc6) => /usr/lib/libmysqlclient_r.so libmysqlclient.so.15 (libc6) => /usr/lib/libmysqlclient.so.15 libmysqlclient.so.14 (libc6) => /usr/lib/libmysqlclient.so.14 libmysqlclient.so.12 (libc6) => /usr/lib/libmysqlclient.so.12 libmysqlclient.so.10 (libc6) => /usr/lib/mysql/libmysqlclient.so.10 libmysqlclient.so.10 (libc6) => /usr/lib/libmysqlclient.so.10 libmysqlclient.so (libc6) => /usr/lib/libmysqlclient.so
sip wrote:
Heh. I JUST posted information about this to the list a few days ago.
What version of MySQL are you using? What OS?
Can you run this command and tell me the output?
ldconfig -p | grep -i mysqlclient
N.
On Wed, 07 Feb 2007 16:16:35 -0500, Steve Blair wrote
Hi:
I keep getting the following error on a 0.9.x system. The latest 0.9.x version of SER was just download and built on this server but I continue to get this same error. I've check the mysql Makefile and it seems to be correct. What else could cause this error?
ERROR: load_module: could not open module </usr/local/lib/ser/modules/mysql.so>: /usr/local/lib/ser/modules/mysql.so: undefined symbol: log
Thanks,Steve _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers