Trying to add debug information about the memory management, I found a problem with the compilation flags:


Feb 5 14:41:28 test1 ser: ERROR: module compile flags mismatch for /usr/local/lib/ser/modules/domain.so core: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, DBG_QM_MALLOC, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_DST_BLACKLIST module: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, DBG_QM_MALLOC, DBG_F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_DST_BLACKLIST


Domain module defines DBG_F_MALLOC althoug it is commented in Makefile.defs and the core does not defines it....I found similar problem with ratelimit module....

any hint why is this behaviour happening?
sam.

2008/2/5, samuel <samu60@gmail.com>:
I had the same issue, rel_2_0_0_rc6, everything seems to be ok (config file ok, no error on log although log=9) but it does not start:

Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: Expect (at least) 21 SER processes in your process list
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: resolve_select: 'to'
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: resolve_select: 'tag'
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: resolve_select: 'to'
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: resolve_select: 'tag'
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: fixing sl_send_reply()
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: presence_b2b module cleanup
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: ... events UAC
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: ... qsa interface
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: ... common libs
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: presence_b2b module cleanup finished
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: PA module cleanup
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: RLS module cleanup
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: ... rls
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: rls_destroy() called
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: ... vs
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: ... time event management
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: rls_mod_destroy: ... db
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: ... common libs
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: RLS module cleanup finished
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: xcap module cleanup
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: ... common libs
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: xcap module cleanup finished
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: MSILO: destroy module ...
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: DISPATCHER: destroy module ...
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: DEBUG: clean_ipmatch(): free shared memory required by ipmatch table
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: RATELIMIT: destroy module ...
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: PIKE - destroying module
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: DEBUG:destroy_avp_list: destroying list 0xb56d4ce0
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: DEBUG:destroy_avp_list: destroying list 0xb56d4d20
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: DEBUG:destroy_avp_list: destroying list 0xb56d4d60
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: DEBUG:destroy_avp_list: destroying list 0xb56d4da0
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: DEBUG:destroy_avp_list: destroying list 0xb56d4de0
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: DEBUG:destroy_avp_list: destroying list 0xb56d4e20
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: DEBUG:destroy_avp_list: destroying list 0xb56d4430
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: DEBUG:destroy_avp_list: destroying list (nil)
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: XLOG: destroy module ...
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: DEBUG: tm_shutdown : start
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: DEBUG: tm_shutdown : emptying hash table
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: DEBUG: tm_shutdown : removing semaphores
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: DEBUG: tm_shutdown : destroying tmcb lists
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: DEBUG: tm_shutdown : done
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: shm_mem_destroy
Feb 5 12:18:43 test /usr/local/sbin/ser[1280]: destroying the shared memory lock

is there any furthter info that I can provide to track the error?

Thanks in advance,
Samuel.

2008/2/4, Tomasz Zieleniewski <tzieleniewski@gmail.com>:
Hi,

I have just downloaded the latest cvs sources of rel_2_0_0.
I compiled and installed it as usually:

make proper
make prefix=/homedir install

after this each time I start ser it breaks down
here my log from console:

Starting SER SIP Proxy: ser
$Listening on
             udp: 127.0.0.1 [127.0.0.1]:7060
             udp: 192.168.129.38 [192.168.129.38]:7060
             tcp: 127.0.0.1 [127.0.0.1]:7060
             tcp: 192.168.129.38 [192.168.129.38]:7060
Aliases:
             tcp: venom:7060
             tcp: venom.touk.pl:7060
             tcp: localhost:7060
             udp: venom:7060
             udp: venom.touk.pl:7060
             udp: localhost:7060
             *: sip.rd.touk.pl:*

WARNING: no fork mode and more than one listen address found (will use only the the first one)
 0(11117) init_tcp: using epoll_lt as the io watch method (auto detected)
 0(11117) Maxfwd module- initializing
 0(11117) WARNING: xl_mod_init: more IP 192.168.129.38 not used
 0(11117) WARNING: xl_mod_init: more IP 192.168.129.38 not used
 0(11117) WARNING: xl_mod_init: more IP 192.168.129.38 not used
 0(11117) WARNING: xl_mod_init: more IP 192.168.129.38 not used
 0(11117) WARNING: xl_mod_init: more IP 192.168.129.38 not used
 0(11117) WARNING: xl_mod_init: more IP 192.168.129.38 not used
 0(11117) WARNING: xl_mod_init: more IP 192.168.129.38 not used
 0(11117) WARNING: xl_mod_init: more IP 192.168.129.38 not used
 0(11117) WARNING: xl_mod_init: more IP 192.168.129.38 not used
 0(11117) AVPops - initializing
 0(11117) using 'none' subscription authorization for presence!
 0(11117) TRACE: qsa_interface.c:55: PA: PA_CONTENT_TYPE: 0x2ba1844692e0
 0(11117) INFO: xcap_mod.c:55: xcap module initialization
 0(11117) TRACE: virtual_subscription.c:55: RLS: RLS_PRESENCE_INFO: 0x2ba1844692e0
 0(11117) TRACE: virtual_subscription.c:63: RLS: RLS_RAW: 0x2ba184479598
 0(11117) using 'none' rls-subscription authorization!
 0(11117) TRACE: qsa_events.c:331: presence_b2b: b2b_CONTENT_TYPE: 0x2ba1844692e0
 0(11117) WARNING: tls: mod_init: tls support is disabled (set enable_tls=1 in the config to enable it)
exec - initializing
ERROR: error -1 while trying to fix configuration

Best regards
tomasz

_______________________________________________
Serusers mailing list
Serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers