At 16.51 23/09/2003 +0200, you wrote:
On 9/23/2003 4:37 PM, giAndrea wrote:
At 15.53 23/09/2003 +0200, you wrote:
[...]
i have problems with mangler.so module. there are some modules not included in make clean (ex. mangler), why? I've compiled with make include_modules="mangler" modules; when i use make prefix=/usr/local install why mangler.so not appear in /usr/local/lib/ser/modules?
try: make prefix=/usr/local include_modules="mangler" install
Daniel
ok. But, when i include mangler.so on my ser.cfg with loadmodule "/usr/lib/ser/modules/mangler.so" ser don't works. If i comment this row ser works.
Shouldn't it be in '/usr/local/lib/ser/modules' not in '/usr/lib/ser/modules'? The log messages would be very helpfully if the path to module is not the problem.
Sorry, the log message is
ERROR: no version info in module </usr/lib/ser/modules/mangler.so>: /usr/sbin/ser: undefined symbol: module_version
Andrea
On 24-09 17:02, giAndrea wrote:
Sorry, the log message is
ERROR: no version info in module </usr/lib/ser/modules/mangler.so>: /usr/sbin/ser: undefined symbol: module_version
Looks like you are trying to use an old version of mangler module with new core. Make sure that you installed recently compiled mangler.so into /usr/lib/ser/modules/.
Jan.
I'm still having the problems with Mysql connectivity with ser. I have mysqld running as root. I have installed mysql version 4.1.0 (alpha version) and mysql client is 0.9.3 glibc2.3 version on linux. I get the following error while starting the ser. It says consider upgrading the mysql client.As fas as I have seen in mysql.com, the one i downloaded and installed in the latest version. Please suggest if there is any other one that I have to install.
0(3663) find_export: found <~db_free_query> in module mysql [/usr/local//lib/se r/modules/mysql.so] 0(3663) find_export: found <~db_insert> in module mysql [/usr/local//lib/ser/mo dules/mysql.so] 0(3663) find_export: found <~db_delete> in module mysql [/usr/local//lib/ser/mo dules/mysql.so] 0(3663) find_export: found <~db_update> in module mysql [/usr/local//lib/ser/mo dules/mysql.so] 0(3663) connect_db(): Client does not support authentication protocol requested by server. Consider upgrading MySQL client 0(3663) db_init(): Error while trying to connect database 0(3663) mod_init(): Error while connecting database 0(3663) init_mod(): Error while initializing module usrloc ERROR: error while initializing modules 0(3663) DEBUG: tm_shutdown : start 0(3663) DEBUG: tm_shutdown : empting DELETE list 0(3663) DEBUG: tm_shutdown : empting hash table 0(3663) DEBUG: tm_shutdown: releasing timers 0(3663) DEBUG: tm_shutdown : removing semaphores 0(3663) DEBUG: tm_shutdown : done 0(3663) shm_mem_destroy 0(3663) destroying the shared memory lock
Thanks. Sesha
This message:
connect_db(): Client does not support authentication protocol requested by server. Consider upgrading MySQL client
says it all. It is not related to ser, your have incompatible mysql client library and server. If upgrading doesn't help then try to downgrade your mysql server. Or try to re-configure the server to use a different authentication protocol (I have never tried so I don't know if it is possible).
Jan.
On 24-09 15:12, Sesha Bhatlapenumarthy wrote:
I'm still having the problems with Mysql connectivity with ser. I have mysqld running as root. I have installed mysql version 4.1.0 (alpha version) and mysql client is 0.9.3 glibc2.3 version on linux. I get the following error while starting the ser. It says consider upgrading the mysql client.As fas as I have seen in mysql.com, the one i downloaded and installed in the latest version. Please suggest if there is any other one that I have to install.
0(3663) find_export: found <~db_free_query> in module mysql [/usr/local//lib/se r/modules/mysql.so] 0(3663) find_export: found <~db_insert> in module mysql [/usr/local//lib/ser/mo dules/mysql.so] 0(3663) find_export: found <~db_delete> in module mysql [/usr/local//lib/ser/mo dules/mysql.so] 0(3663) find_export: found <~db_update> in module mysql [/usr/local//lib/ser/mo dules/mysql.so] 0(3663) connect_db(): Client does not support authentication protocol requested by server. Consider upgrading MySQL client 0(3663) db_init(): Error while trying to connect database 0(3663) mod_init(): Error while connecting database 0(3663) init_mod(): Error while initializing module usrloc ERROR: error while initializing modules 0(3663) DEBUG: tm_shutdown : start 0(3663) DEBUG: tm_shutdown : empting DELETE list 0(3663) DEBUG: tm_shutdown : empting hash table 0(3663) DEBUG: tm_shutdown: releasing timers 0(3663) DEBUG: tm_shutdown : removing semaphores 0(3663) DEBUG: tm_shutdown : done 0(3663) shm_mem_destroy 0(3663) destroying the shared memory lock
Thanks. Sesha
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
On 9/24/2003 5:02 PM, giAndrea wrote:
At 16.51 23/09/2003 +0200, you wrote:
On 9/23/2003 4:37 PM, giAndrea wrote:
At 15.53 23/09/2003 +0200, you wrote:
[...]
i have problems with mangler.so module. there are some modules not included in make clean (ex. mangler), why? I've compiled with make include_modules="mangler" modules; when i use make prefix=/usr/local install why mangler.so not appear in /usr/local/lib/ser/modules?
try: make prefix=/usr/local include_modules="mangler" install
Daniel
ok. But, when i include mangler.so on my ser.cfg with loadmodule "/usr/lib/ser/modules/mangler.so" ser don't works. If i comment this row ser works.
Shouldn't it be in '/usr/local/lib/ser/modules' not in '/usr/lib/ser/modules'? The log messages would be very helpfully if the path to module is not the problem.
Sorry, the log message is
ERROR: no version info in module </usr/lib/ser/modules/mangler.so>: /usr/sbin/ser: undefined symbol: module_version
Download the latest CVS version of the module -- that missing was fixed couple days ago (http://www.iptel.org/ser/cvs provides some guidelines about how to get it).
Daniel
Andrea
At 17.09 24/09/2003 +0200, Daniel-Constantin Mierla wrote:
On 9/24/2003 5:02 PM, giAndrea wrote:
At 16.51 23/09/2003 +0200, you wrote:
On 9/23/2003 4:37 PM, giAndrea wrote:
At 15.53 23/09/2003 +0200, you wrote:
[...]
i have problems with mangler.so module. there are some modules not included in make clean (ex. mangler), why? I've compiled with make include_modules="mangler" modules; when i use make prefix=/usr/local install why mangler.so not appear in /usr/local/lib/ser/modules?
try: make prefix=/usr/local include_modules="mangler" install
Daniel
ok. But, when i include mangler.so on my ser.cfg with loadmodule "/usr/lib/ser/modules/mangler.so" ser don't works. If i comment this row ser works.
Shouldn't it be in '/usr/local/lib/ser/modules' not in '/usr/lib/ser/modules'? The log messages would be very helpfully if the path to module is not the problem.
Sorry, the log message is
ERROR: no version info in module </usr/lib/ser/modules/mangler.so>: /usr/sbin/ser: undefined symbol: module_version
Download the latest CVS version of the module -- that missing was fixed couple days ago (http://www.iptel.org/ser/cvs provides some guidelines about how to get it).
Daniel
I've done (make include_modules="mangler" modules) with last source (1.11 2003/08/28 11:24:32), but this is the result
make[1]: Entering directory `/root/sip_router/modules/mangler' gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"' -DVERSION='"0.8.12dev-t16"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.2"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DDBG_QM_MALLOC -DFAST_LOCK -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -c mangler.c -o mangler.o mangler.c:66: redefinition of `module_version' mangler.c:53: `module_version' previously defined here make[1]: *** [mangler.o] Error 1 make[1]: Leaving directory `/root/sip_router/modules/mangler'
When i've used the release version of source this was the resoult of /etc/init.d/ser start
set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/mysql.so set 25 10:20:39 webby ser: 0(9022) ERROR: load_module: could not open module </usr/local/lib/ser/modules/mysql.so>: /usr/local/lib/ser/modules/mysql.so: undefined symbol: qm_free set 25 10:20:39 webby ser: 0(9022) parse error (32,13-49): failed to load module set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/sl.so set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/tm.so set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/rr.so set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/maxfwd.so set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/usrloc.so set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/registrar.so set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/nathelper.so set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/textops.so set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/acc.so set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/mangler.so set 25 10:20:39 webby ser: 0(9022) ERROR: no version info in module </usr/local/lib/ser/modules/mangler.so>: /usr/sbin/ser: undefined symbol: module_version
How can I remove old version of ser for reinstall lastest version?
bye. Andrea
Hello, comments inline.
On 9/25/2003 10:47 AM, giAndrea wrote:
[...]
I've done (make include_modules="mangler" modules) with last source (1.11 2003/08/28 11:24:32), but this is the result
make[1]: Entering directory `/root/sip_router/modules/mangler' gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"' -DVERSION='"0.8.12dev-t16"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.2"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DDBG_QM_MALLOC -DFAST_LOCK -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -c mangler.c -o mangler.o mangler.c:66: redefinition of `module_version' mangler.c:53: `module_version' previously defined here make[1]: *** [mangler.o] Error 1 make[1]: Leaving directory `/root/sip_router/modules/mangler'
There was a duplicate define of a symbol, only in unstable branch.
When i've used the release version of source this was the resoult of /etc/init.d/ser start
set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/mysql.so set 25 10:20:39 webby ser: 0(9022) ERROR: load_module: could not open module </usr/local/lib/ser/modules/mysql.so>: /usr/local/lib/ser/modules/mysql.so: undefined symbol: qm_free set 25 10:20:39 webby ser: 0(9022) parse error (32,13-49): failed to load module set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/sl.so set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/tm.so set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/rr.so set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/maxfwd.so set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/usrloc.so set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/registrar.so set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/nathelper.so set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/textops.so set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/acc.so set 25 10:20:39 webby ser: 0(9022) loading module /usr/local/lib/ser/modules/mangler.so set 25 10:20:39 webby ser: 0(9022) ERROR: no version info in module </usr/local/lib/ser/modules/mangler.so>: /usr/sbin/ser: undefined symbol: module_version
How can I remove old version of ser for reinstall latest version?
It seems that you have installed ser from sources, so you can do into the newest sources directory: make all make install make include_modules="mysql mangler" modules make include_modules="mysql mangler" install
I think is better to delete, before doing the above commands, all files from '/usr/local/lib/ser/modules/' so you can be sure the newest version will be installed. Also, you can delete '/usr/local/sbin/ser'.
Just in case, if you have installed ser from binary packages check the manual of the package manager for your distribution, e;g;, for RPM based distribution you the command is 'rpm -e ser'.
Daniel
bye. Andrea