[Users] Errors on Starting TM and ACC

Edson Gellert Schubert schubert at prolan.com.br
Fri Feb 24 20:55:17 CET 2006


Hi, list...

We are migrating from SER 0.9.2 to OpenSER 1.0.0

The machine is a x86_64 Xeon 3.0GHz Dell, with ! GB RAM and LVM over a 70
SCSI HD. We are using OpenSUSE 10.0-OSS, with minimun packet selection, just
added with OpenSER pre-reqs and nGrep. I run two versions of MySQL: the
OpenSUSE stock 4.1.13, and 5.0.18, downloaded from MySQL site and compiled
with 'rpmbuild'. GCC version please, see below on <0>.

OpenSER compilations where all made with the command lines showed on <1>:

I find many problems, not only during the compilation process, some are:
1- 'hiding' comments for RADIUS support on ACC (thanks Daniel for the help);
2- Makefile.defs:544: You are using an old and unsupported gcc version 
   (4.0), compile at your own risk! (openser-1.0.0.-tls.tar.gz - stable)
3- '-mtune' value changed from 'x68_64' to 'x86-64' on Makefile.defs (CVS-
   snapshot);
4- an 'ld' message that I thing is a MySQL problem when using MySQL 5.0.18
   libs (message, please see below on <2>)

For the last issue I downgraded the MySQL to the stock version (4.1.13) but
now I'm facing an runtime ERROR message. See below, on <3> the message from
an "openser -TDdd" race.

Any ideas? If the config file helps, please let me now.

Edson.


*<0>*********************************************************************
#gcc -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,f95,java,ada --disable-checking
--with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-java-awt=gtk
--disable-libjava-multilib --with-slibdir=/lib64 --with-system-zlib
--enable-shared --enable-__cxa_atexit --without-system-libunwind
--host=x86_64-suse-linux
Thread model: posix
gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)
#

*<1>*********************************************************************
# make cfg-target=/etc/openser/ prefix=/usr cfg-prefix=
# make cfg-target=/etc/openser/ prefix=/usr exclude_modules="postgres" \
> modules cfg-prefix=
# make cfg-target=/etc/openser/ prefix=/usr exclude_modules="postgres" \
> install cfg-prefix=

*<2>*********************************************************************
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld:
/usr/lib64/mysql/libmysqlclient.a(libmysql.o): relocation R_X86_64_32
against `a local symbol' can not be used when making a shared object;
recompile with -fPIC
/usr/lib64/mysql/libmysqlclient.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [mysql.so] Error 1
make[1]: Leaving directory `/home/download/openser-1.0.0-tls/modules/mysql'

*<3>*********************************************************************
sip:/root # openser -TDdd
Listening on
             udp: XXX.XXX.XXX.XXX [XXX.XXX.XXX.XXX]:5070
Aliases:
             *: sip.xxxx.com.br:*
             *: xxxx.com.br:*

0(31517) fm_malloc_init: F_OPTIMIZE=16384, /ROUNDTO=2048
 0(31517) fm_malloc_init: F_HASH_SIZE=2099, fm_block size=33608
 0(31517) fm_malloc_init(0x2aaaacebd000, 33554432), start=0x2aaaacebd000
 0(31517) shm_mem_init: success
 0(0) core dump limits set to 18446744073709551615
 0(0) DEBUG: init_mod: mysql
 0(0) mysql: MySQL client version is 4.1.13
 0(0) DEBUG: init_mod: acc
 0(0) ACC - initializing
 0(0) find_export: found <load_tm> in module tm
[/usr/lib/openser/modules/tm.so]
 0(0) ERROR:tm:register_tmcb: callback type TMCB_REQUEST_IN registration
attempt before TM module initialization
 0(0) ERROR:acc:mod_init: cannot register TMCB_REQUEST_IN callback
 0(0) init_mod(): Error while initializing module acc
ERROR: error while initializing modules
 0(0) DEBUG: tm_shutdown : start
 0(0) DEBUG: tm_shutdown : emptying hash table
 0(0) DEBUG: tm_shutdown : releasing timers
 0(0) DEBUG: tm_shutdown : removing semaphores
 0(0) DEBUG: tm_shutdown : destroying tmcb lists
 0(0) DEBUG: tm_shutdown : done
 0(0) destroy_tls: Entered
 0(31519) shm_mem_destroy
 0(31519) destroying the shared memory lock
sip:/root #





More information about the Users mailing list