[Serusers] Ser fails to start if Mysql.so is loaded.

Andrei Pelinescu-Onciul pelinescu-onciul at fokus.fraunhofer.de
Thu Jun 12 15:19:05 CEST 2003


On Jun 12, 2003 at 11:07, wygmail at yeah.net <wygmail at yeah.net> wrote:
> I am starting to use ser-0.8.11pre29 on Readhat 7.3. I downloaded the source code from cvs and installed ser with" make all; make install". 
> 
> Ser starts normally with the default ser.cfg. But once I uncommented the line loadmodule "/usr/local/lib/ser/modules/mysql.so" to load mysql.so, no error message was printed. Everything seems normally. Just like below: 
> [root at sip-iptel root]# ser
> Listening on 
>               127.0.0.1 [127.0.0.1]:5060
>               192.168.0.253 [192.168.0.253]:5060
> Aliases: localhost:5060 localhost.localdomain:5060 sip-iptel:5060 
>  
> But in fact, ser dies; Below is the message I got when debug level was set to 7, and no fork, with error log.
> 
> [root at sip-iptel root]# ser
>  0(5713) qm_malloc(0x80c6f20, 14) called from cfg.lex: addstr(404)
>  0(5713) qm_malloc(0x80c6f20, 16) returns address 0x80cd570 frag. 0x80cd558 (size=16) on 1 -th hit
>  0(5713) qm_malloc(0x80c6f20, 36) called from cfg.lex: addstr(404)
>  0(5713) qm_malloc(0x80c6f20, 36) returns address 0x80cd5b0 frag. 0x80cd598 (size=36) on 1 -th hit
>  0(5713) loading module /usr/local/lib/ser/modules/mysql.so
>  0(5713) WARNING: no version info in module </usr/local/lib/ser/modules/mysql.so>: ser: undefined symbol: module_version
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You are using an old version of the mysql module and using old module
with newer version of ser does not work (interface changes).
Compile & install the current mysql module (it would be a good ideea to 
remove all the ser modules in /usr/local/lib/ser/modules first, in case
you have other old modules lying arround).


Andrei




More information about the sr-users mailing list