opensips won't start

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

opensips won't start

Luntras Loredana

Hello, everybody.

 

I’have installes OpenSips 1.5 and OpenXCAP. Since I’ve changed the config file (as suggested by openXcap) my OpenSips won’t start. I must have errors in the config files or in the modules. The message I have when I try to start it is:

 

loredana@luntrasl:/opt/opensips-1.5.0-tls$ sudo /etc/init.d/opensips start

[sudo] password for loredana:

Starting : opensipsStarting /sbin/opensips...

Listening on

             udp: 141.11.146.144 [141.11.146.144]:5066

Aliases:

             udp: luntrasl.rennes.eu.thmulti.com:5066

 

.

loredana@luntrasl:/opt/opensips-1.5.0-tls$ sudo /etc/init.d/opensips status

Status of : opensips is not running but /var/run/opensips.pid exists.

 

The error that I have in the syslog is

 

Apr  1 17:34:25 luntrasl kernel: [30143.981048] opensips[20690]: segfault at 18 ip b7a4825c sp bfcb6d80 error 4 in pua.so[b7a45000+18000]

Apr  1 17:39:01 luntrasl /USR/SBIN/CRON[20713]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm)

 

The backtrace of the core file is here:

 

Program terminated with signal 11, Segmentation fault.

[New process 20690]

#0  0xb7a4825c in contains_pua_event (name=0xbfcb6dd0) at event_list.c:109

109                   event= pua_evlist->next;

(gdb) bt

#0  0xb7a4825c in contains_pua_event (name=0xbfcb6dd0) at event_list.c:109

#1  0xb7a48416 in add_pua_event (ev_flag=32, name=0xb7a610cf "xcap-diff",

    content_type=0xb7a610d9 "application/xcap-diff+xml",

    process_body=0xb7a60840 <xcapdiff_process_body>) at event_list.c:65

#2  0xb7a60a25 in mod_init () at presence_xcapdiff.c:105

#3  0x080ae3fc in init_mod (m=0x818ce90) at sr_module.c:468

#4  0x080ae398 in init_mod (m=0x818cf30) at sr_module.c:463

#5  0x080ae398 in init_mod (m=0x818cfd0) at sr_module.c:463

#6  0x080ae398 in init_mod (m=0x818d070) at sr_module.c:463

#7  0x080ae398 in init_mod (m=0x818d110) at sr_module.c:463

#8  0x080ae398 in init_mod (m=0x818d1b0) at sr_module.c:463

#9  0x080ae398 in init_mod (m=0x818d250) at sr_module.c:463

#10 0x080ae398 in init_mod (m=0x818d2f0) at sr_module.c:463

#11 0x080ae398 in init_mod (m=0x818d390) at sr_module.c:463

#12 0x080ae398 in init_mod (m=0x818d430) at sr_module.c:463

#13 0x080ae398 in init_mod (m=0x818d4d0) at sr_module.c:463

#14 0x080ae398 in init_mod (m=0x818d570) at sr_module.c:463

#15 0x0806c953 in main (argc=9, argv=0xbfcb7224) at main.c:1300

 

Can someone help me please?

Thanks,

 

Loredana


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: opensips won't start

Luntras Loredana

I have found some answers for my problems.I have some dependencies that I was not repecting in my config file (  presence_xcapdiff

module was after the pua module, xcap_client missing, …) Now they have to be fine. I’ve took a look at the dependencies and they look right. But now I have a new problem

 

 ERROR:core:db_check_table_version: invalid version 0 for table rls_presentity found, expected 1

ERROR:rls:mod_init: error during table version check.

ERROR:core:init_mod: failed to initialize module rls

ERROR:core:main: error while initializing modules

 

If you have any ideas, thanks for telling me.

 

Loredana

 


From: [hidden email] [mailto:[hidden email]] On Behalf Of Luntras Loredana
Sent: Wednesday, April 01, 2009 6:05 PM
To: [hidden email]
Subject: [OpenSIPS-Users] opensips won't start

 

Hello, everybody.

 

I’have installes OpenSips 1.5 and OpenXCAP. Since I’ve changed the config file (as suggested by openXcap) my OpenSips won’t start. I must have errors in the config files or in the modules. The message I have when I try to start it is:

 

loredana@luntrasl:/opt/opensips-1.5.0-tls$ sudo /etc/init.d/opensips start

[sudo] password for loredana:

Starting : opensipsStarting /sbin/opensips...

Listening on

             udp: 141.11.146.144 [141.11.146.144]:5066

Aliases:

             udp: luntrasl.rennes.eu.thmulti.com:5066

 

.

loredana@luntrasl:/opt/opensips-1.5.0-tls$ sudo /etc/init.d/opensips status

Status of : opensips is not running but /var/run/opensips.pid exists.

 

The error that I have in the syslog is

 

Apr  1 17:34:25 luntrasl kernel: [30143.981048] opensips[20690]: segfault at 18 ip b7a4825c sp bfcb6d80 error 4 in pua.so[b7a45000+18000]

Apr  1 17:39:01 luntrasl /USR/SBIN/CRON[20713]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm)

 

The backtrace of the core file is here:

 

Program terminated with signal 11, Segmentation fault.

[New process 20690]

#0  0xb7a4825c in contains_pua_event (name=0xbfcb6dd0) at event_list.c:109

109                   event= pua_evlist->next;

(gdb) bt

#0  0xb7a4825c in contains_pua_event (name=0xbfcb6dd0) at event_list.c:109

#1  0xb7a48416 in add_pua_event (ev_flag=32, name=0xb7a610cf "xcap-diff",

    content_type=0xb7a610d9 "application/xcap-diff+xml",

    process_body=0xb7a60840 <xcapdiff_process_body>) at event_list.c:65

#2  0xb7a60a25 in mod_init () at presence_xcapdiff.c:105

#3  0x080ae3fc in init_mod (m=0x818ce90) at sr_module.c:468

#4  0x080ae398 in init_mod (m=0x818cf30) at sr_module.c:463

#5  0x080ae398 in init_mod (m=0x818cfd0) at sr_module.c:463

#6  0x080ae398 in init_mod (m=0x818d070) at sr_module.c:463

#7  0x080ae398 in init_mod (m=0x818d110) at sr_module.c:463

#8  0x080ae398 in init_mod (m=0x818d1b0) at sr_module.c:463

#9  0x080ae398 in init_mod (m=0x818d250) at sr_module.c:463

#10 0x080ae398 in init_mod (m=0x818d2f0) at sr_module.c:463

#11 0x080ae398 in init_mod (m=0x818d390) at sr_module.c:463

#12 0x080ae398 in init_mod (m=0x818d430) at sr_module.c:463

#13 0x080ae398 in init_mod (m=0x818d4d0) at sr_module.c:463

#14 0x080ae398 in init_mod (m=0x818d570) at sr_module.c:463

#15 0x0806c953 in main (argc=9, argv=0xbfcb7224) at main.c:1300

 

Can someone help me please?

Thanks,

 

Loredana


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: opensips won't start

Luntras Loredana
In reply to this post by Luntras Loredana

It’s solved.

The initial problem was due to some dependencies which were not correct. After that I had another problem: the version of the was rls_presentity was 0 not 1 as expected. I’ve changed the version to 1 and it works.

 

Regards,

 

Loredana

 


From: [hidden email] [mailto:[hidden email]] On Behalf Of Luntras Loredana
Sent: Wednesday, April 01, 2009 6:05 PM
To: [hidden email]
Subject: [OpenSIPS-Users] opensips won't start

 

Hello, everybody.

 

I’have installes OpenSips 1.5 and OpenXCAP. Since I’ve changed the config file (as suggested by openXcap) my OpenSips won’t start. I must have errors in the config files or in the modules. The message I have when I try to start it is:

 

loredana@luntrasl:/opt/opensips-1.5.0-tls$ sudo /etc/init.d/opensips start

[sudo] password for loredana:

Starting : opensipsStarting /sbin/opensips...

Listening on

             udp: 141.11.146.144 [141.11.146.144]:5066

Aliases:

             udp: luntrasl.rennes.eu.thmulti.com:5066

 

.

loredana@luntrasl:/opt/opensips-1.5.0-tls$ sudo /etc/init.d/opensips status

Status of : opensips is not running but /var/run/opensips.pid exists.

 

The error that I have in the syslog is

 

Apr  1 17:34:25 luntrasl kernel: [30143.981048] opensips[20690]: segfault at 18 ip b7a4825c sp bfcb6d80 error 4 in pua.so[b7a45000+18000]

Apr  1 17:39:01 luntrasl /USR/SBIN/CRON[20713]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm)

 

The backtrace of the core file is here:

 

Program terminated with signal 11, Segmentation fault.

[New process 20690]

#0  0xb7a4825c in contains_pua_event (name=0xbfcb6dd0) at event_list.c:109

109                   event= pua_evlist->next;

(gdb) bt

#0  0xb7a4825c in contains_pua_event (name=0xbfcb6dd0) at event_list.c:109

#1  0xb7a48416 in add_pua_event (ev_flag=32, name=0xb7a610cf "xcap-diff",

    content_type=0xb7a610d9 "application/xcap-diff+xml",

    process_body=0xb7a60840 <xcapdiff_process_body>) at event_list.c:65

#2  0xb7a60a25 in mod_init () at presence_xcapdiff.c:105

#3  0x080ae3fc in init_mod (m=0x818ce90) at sr_module.c:468

#4  0x080ae398 in init_mod (m=0x818cf30) at sr_module.c:463

#5  0x080ae398 in init_mod (m=0x818cfd0) at sr_module.c:463

#6  0x080ae398 in init_mod (m=0x818d070) at sr_module.c:463

#7  0x080ae398 in init_mod (m=0x818d110) at sr_module.c:463

#8  0x080ae398 in init_mod (m=0x818d1b0) at sr_module.c:463

#9  0x080ae398 in init_mod (m=0x818d250) at sr_module.c:463

#10 0x080ae398 in init_mod (m=0x818d2f0) at sr_module.c:463

#11 0x080ae398 in init_mod (m=0x818d390) at sr_module.c:463

#12 0x080ae398 in init_mod (m=0x818d430) at sr_module.c:463

#13 0x080ae398 in init_mod (m=0x818d4d0) at sr_module.c:463

#14 0x080ae398 in init_mod (m=0x818d570) at sr_module.c:463

#15 0x0806c953 in main (argc=9, argv=0xbfcb7224) at main.c:1300

 

Can someone help me please?

Thanks,

 

Loredana


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: opensips won't start

Bogdan-Andrei Iancu
Hi Loredana,

I will report this to the module maintainer as, even if there is a
configuration issue, the proxy must not crash, but report an error at
startup.

Thanks and regards,
Bogdan

Luntras Loredana wrote:

>
> It’s solved.
>
> The initial problem was due to some dependencies which were not
> correct. After that I had another problem: the version of the was
> rls_presentity was 0 not 1 as expected. I’ve changed the version to 1
> and it works.
>
> Regards,
>
> Loredana
>
> ------------------------------------------------------------------------
>
> *From:* [hidden email]
> [mailto:[hidden email]] *On Behalf Of *Luntras Loredana
> *Sent:* Wednesday, April 01, 2009 6:05 PM
> *To:* [hidden email]
> *Subject:* [OpenSIPS-Users] opensips won't start
>
> Hello, everybody.
>
> I’have installes OpenSips 1.5 and OpenXCAP. Since I’ve changed the
> config file (as suggested by openXcap) my OpenSips won’t start. I must
> have errors in the config files or in the modules. The message I have
> when I try to start it is:
>
> loredana@luntrasl:/opt/opensips-1.5.0-tls$ sudo /etc/init.d/opensips start
>
> [sudo] password for loredana:
>
> Starting : opensipsStarting /sbin/opensips...
>
> Listening on
>
> udp: 141.11.146.144 [141.11.146.144]:5066
>
> Aliases:
>
> udp: luntrasl.rennes.eu.thmulti.com:5066
>
> .
>
> loredana@luntrasl:/opt/opensips-1.5.0-tls$ sudo /etc/init.d/opensips
> status
>
> Status of : opensips is not running but /var/run/opensips.pid exists.
>
> The error that I have in the syslog is
>
> Apr 1 17:34:25 luntrasl kernel: [30143.981048] opensips[20690]:
> segfault at 18 ip b7a4825c sp bfcb6d80 error 4 in pua.so[b7a45000+18000]
>
> Apr 1 17:39:01 luntrasl /USR/SBIN/CRON[20713]: (root) CMD ( [ -x
> /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find
> /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 |
> xargs -n 200 -r -0 rm)
>
> The backtrace of the core file is here:
>
> Program terminated with signal 11, Segmentation fault.
>
> [New process 20690]
>
> #0 0xb7a4825c in contains_pua_event (name=0xbfcb6dd0) at event_list.c:109
>
> 109 event= pua_evlist->next;
>
> (gdb) bt
>
> #0 0xb7a4825c in contains_pua_event (name=0xbfcb6dd0) at event_list.c:109
>
> #1 0xb7a48416 in add_pua_event (ev_flag=32, name=0xb7a610cf "xcap-diff",
>
> content_type=0xb7a610d9 "application/xcap-diff+xml",
>
> process_body=0xb7a60840 <xcapdiff_process_body>) at event_list.c:65
>
> #2 0xb7a60a25 in mod_init () at presence_xcapdiff.c:105
>
> #3 0x080ae3fc in init_mod (m=0x818ce90) at sr_module.c:468
>
> #4 0x080ae398 in init_mod (m=0x818cf30) at sr_module.c:463
>
> #5 0x080ae398 in init_mod (m=0x818cfd0) at sr_module.c:463
>
> #6 0x080ae398 in init_mod (m=0x818d070) at sr_module.c:463
>
> #7 0x080ae398 in init_mod (m=0x818d110) at sr_module.c:463
>
> #8 0x080ae398 in init_mod (m=0x818d1b0) at sr_module.c:463
>
> #9 0x080ae398 in init_mod (m=0x818d250) at sr_module.c:463
>
> #10 0x080ae398 in init_mod (m=0x818d2f0) at sr_module.c:463
>
> #11 0x080ae398 in init_mod (m=0x818d390) at sr_module.c:463
>
> #12 0x080ae398 in init_mod (m=0x818d430) at sr_module.c:463
>
> #13 0x080ae398 in init_mod (m=0x818d4d0) at sr_module.c:463
>
> #14 0x080ae398 in init_mod (m=0x818d570) at sr_module.c:463
>
> #15 0x0806c953 in main (argc=9, argv=0xbfcb7224) at main.c:1300
>
> Can someone help me please?
>
> Thanks,
>
> Loredana
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>  


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: opensips won't start

Luntras Loredana
Unfortunatelly, I'm back. I still have problems. Now my server starts
but it stops after some minutes (I can't find any message error with
syslog and there are no files in corefiles). If I want to restart it, or
to start once it is stopped, I have this:
Apr  2 16:22:45 luntrasl /sbin/opensips[13503]:
DBG:core:shm_mem_destroy:  
Apr  2 16:22:45 luntrasl /sbin/opensips[13503]:
DBG:core:shm_mem_destroy: destroying the shared memory lock
Apr  2 16:22:45 luntrasl /sbin/opensips[13503]: DBG:core:handle_sigs:
terminating due to SIGCHLD

Thanks a lot for your help.

Regards,

Loredana

-----Original Message-----
From: Bogdan-Andrei Iancu [mailto:[hidden email]]
Sent: Thursday, April 02, 2009 11:56 AM
To: Luntras Loredana
Cc: [hidden email]
Subject: Re: [OpenSIPS-Users] opensips won't start

Hi Loredana,

I will report this to the module maintainer as, even if there is a
configuration issue, the proxy must not crash, but report an error at
startup.

Thanks and regards,
Bogdan

Luntras Loredana wrote:

>
> It's solved.
>
> The initial problem was due to some dependencies which were not
> correct. After that I had another problem: the version of the was
> rls_presentity was 0 not 1 as expected. I've changed the version to 1
> and it works.
>
> Regards,
>
> Loredana
>
>
------------------------------------------------------------------------
>
> *From:* [hidden email]
> [mailto:[hidden email]] *On Behalf Of *Luntras
Loredana
> *Sent:* Wednesday, April 01, 2009 6:05 PM
> *To:* [hidden email]
> *Subject:* [OpenSIPS-Users] opensips won't start
>
> Hello, everybody.
>
> I'have installes OpenSips 1.5 and OpenXCAP. Since I've changed the
> config file (as suggested by openXcap) my OpenSips won't start. I must

> have errors in the config files or in the modules. The message I have
> when I try to start it is:
>
> loredana@luntrasl:/opt/opensips-1.5.0-tls$ sudo /etc/init.d/opensips
start

>
> [sudo] password for loredana:
>
> Starting : opensipsStarting /sbin/opensips...
>
> Listening on
>
> udp: 141.11.146.144 [141.11.146.144]:5066
>
> Aliases:
>
> udp: luntrasl.rennes.eu.thmulti.com:5066
>
> .
>
> loredana@luntrasl:/opt/opensips-1.5.0-tls$ sudo /etc/init.d/opensips
> status
>
> Status of : opensips is not running but /var/run/opensips.pid exists.
>
> The error that I have in the syslog is
>
> Apr 1 17:34:25 luntrasl kernel: [30143.981048] opensips[20690]:
> segfault at 18 ip b7a4825c sp bfcb6d80 error 4 in
pua.so[b7a45000+18000]

>
> Apr 1 17:39:01 luntrasl /USR/SBIN/CRON[20713]: (root) CMD ( [ -x
> /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find
> /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 |
> xargs -n 200 -r -0 rm)
>
> The backtrace of the core file is here:
>
> Program terminated with signal 11, Segmentation fault.
>
> [New process 20690]
>
> #0 0xb7a4825c in contains_pua_event (name=0xbfcb6dd0) at
event_list.c:109
>
> 109 event= pua_evlist->next;
>
> (gdb) bt
>
> #0 0xb7a4825c in contains_pua_event (name=0xbfcb6dd0) at
event_list.c:109
>
> #1 0xb7a48416 in add_pua_event (ev_flag=32, name=0xb7a610cf
"xcap-diff",

>
> content_type=0xb7a610d9 "application/xcap-diff+xml",
>
> process_body=0xb7a60840 <xcapdiff_process_body>) at event_list.c:65
>
> #2 0xb7a60a25 in mod_init () at presence_xcapdiff.c:105
>
> #3 0x080ae3fc in init_mod (m=0x818ce90) at sr_module.c:468
>
> #4 0x080ae398 in init_mod (m=0x818cf30) at sr_module.c:463
>
> #5 0x080ae398 in init_mod (m=0x818cfd0) at sr_module.c:463
>
> #6 0x080ae398 in init_mod (m=0x818d070) at sr_module.c:463
>
> #7 0x080ae398 in init_mod (m=0x818d110) at sr_module.c:463
>
> #8 0x080ae398 in init_mod (m=0x818d1b0) at sr_module.c:463
>
> #9 0x080ae398 in init_mod (m=0x818d250) at sr_module.c:463
>
> #10 0x080ae398 in init_mod (m=0x818d2f0) at sr_module.c:463
>
> #11 0x080ae398 in init_mod (m=0x818d390) at sr_module.c:463
>
> #12 0x080ae398 in init_mod (m=0x818d430) at sr_module.c:463
>
> #13 0x080ae398 in init_mod (m=0x818d4d0) at sr_module.c:463
>
> #14 0x080ae398 in init_mod (m=0x818d570) at sr_module.c:463
>
> #15 0x0806c953 in main (argc=9, argv=0xbfcb7224) at main.c:1300
>
> Can someone help me please?
>
> Thanks,
>
> Loredana
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>  


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: opensips won't start

Bogdan-Andrei Iancu
Hi Loredana,

before "vanishing" in the first place, what are the last logs from
opensips? I guess you have a debug level higher than 5 set (I see some
debug level messages).

Regards,
Bogdan

Luntras Loredana wrote:

> Unfortunatelly, I'm back. I still have problems. Now my server starts
> but it stops after some minutes (I can't find any message error with
> syslog and there are no files in corefiles). If I want to restart it, or
> to start once it is stopped, I have this:
> Apr  2 16:22:45 luntrasl /sbin/opensips[13503]:
> DBG:core:shm_mem_destroy:  
> Apr  2 16:22:45 luntrasl /sbin/opensips[13503]:
> DBG:core:shm_mem_destroy: destroying the shared memory lock
> Apr  2 16:22:45 luntrasl /sbin/opensips[13503]: DBG:core:handle_sigs:
> terminating due to SIGCHLD
>
> Thanks a lot for your help.
>
> Regards,
>
> Loredana
>
> -----Original Message-----
> From: Bogdan-Andrei Iancu [mailto:[hidden email]]
> Sent: Thursday, April 02, 2009 11:56 AM
> To: Luntras Loredana
> Cc: [hidden email]
> Subject: Re: [OpenSIPS-Users] opensips won't start
>
> Hi Loredana,
>
> I will report this to the module maintainer as, even if there is a
> configuration issue, the proxy must not crash, but report an error at
> startup.
>
> Thanks and regards,
> Bogdan
>
> Luntras Loredana wrote:
>  
>> It's solved.
>>
>> The initial problem was due to some dependencies which were not
>> correct. After that I had another problem: the version of the was
>> rls_presentity was 0 not 1 as expected. I've changed the version to 1
>> and it works.
>>
>> Regards,
>>
>> Loredana
>>
>>
>>    
> ------------------------------------------------------------------------
>  
>> *From:* [hidden email]
>> [mailto:[hidden email]] *On Behalf Of *Luntras
>>    
> Loredana
>  
>> *Sent:* Wednesday, April 01, 2009 6:05 PM
>> *To:* [hidden email]
>> *Subject:* [OpenSIPS-Users] opensips won't start
>>
>> Hello, everybody.
>>
>> I'have installes OpenSips 1.5 and OpenXCAP. Since I've changed the
>> config file (as suggested by openXcap) my OpenSips won't start. I must
>>    
>
>  
>> have errors in the config files or in the modules. The message I have
>> when I try to start it is:
>>
>> loredana@luntrasl:/opt/opensips-1.5.0-tls$ sudo /etc/init.d/opensips
>>    
> start
>  
>> [sudo] password for loredana:
>>
>> Starting : opensipsStarting /sbin/opensips...
>>
>> Listening on
>>
>> udp: 141.11.146.144 [141.11.146.144]:5066
>>
>> Aliases:
>>
>> udp: luntrasl.rennes.eu.thmulti.com:5066
>>
>> .
>>
>> loredana@luntrasl:/opt/opensips-1.5.0-tls$ sudo /etc/init.d/opensips
>> status
>>
>> Status of : opensips is not running but /var/run/opensips.pid exists.
>>
>> The error that I have in the syslog is
>>
>> Apr 1 17:34:25 luntrasl kernel: [30143.981048] opensips[20690]:
>> segfault at 18 ip b7a4825c sp bfcb6d80 error 4 in
>>    
> pua.so[b7a45000+18000]
>  
>> Apr 1 17:39:01 luntrasl /USR/SBIN/CRON[20713]: (root) CMD ( [ -x
>> /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find
>> /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 |
>> xargs -n 200 -r -0 rm)
>>
>> The backtrace of the core file is here:
>>
>> Program terminated with signal 11, Segmentation fault.
>>
>> [New process 20690]
>>
>> #0 0xb7a4825c in contains_pua_event (name=0xbfcb6dd0) at
>>    
> event_list.c:109
>  
>> 109 event= pua_evlist->next;
>>
>> (gdb) bt
>>
>> #0 0xb7a4825c in contains_pua_event (name=0xbfcb6dd0) at
>>    
> event_list.c:109
>  
>> #1 0xb7a48416 in add_pua_event (ev_flag=32, name=0xb7a610cf
>>    
> "xcap-diff",
>  
>> content_type=0xb7a610d9 "application/xcap-diff+xml",
>>
>> process_body=0xb7a60840 <xcapdiff_process_body>) at event_list.c:65
>>
>> #2 0xb7a60a25 in mod_init () at presence_xcapdiff.c:105
>>
>> #3 0x080ae3fc in init_mod (m=0x818ce90) at sr_module.c:468
>>
>> #4 0x080ae398 in init_mod (m=0x818cf30) at sr_module.c:463
>>
>> #5 0x080ae398 in init_mod (m=0x818cfd0) at sr_module.c:463
>>
>> #6 0x080ae398 in init_mod (m=0x818d070) at sr_module.c:463
>>
>> #7 0x080ae398 in init_mod (m=0x818d110) at sr_module.c:463
>>
>> #8 0x080ae398 in init_mod (m=0x818d1b0) at sr_module.c:463
>>
>> #9 0x080ae398 in init_mod (m=0x818d250) at sr_module.c:463
>>
>> #10 0x080ae398 in init_mod (m=0x818d2f0) at sr_module.c:463
>>
>> #11 0x080ae398 in init_mod (m=0x818d390) at sr_module.c:463
>>
>> #12 0x080ae398 in init_mod (m=0x818d430) at sr_module.c:463
>>
>> #13 0x080ae398 in init_mod (m=0x818d4d0) at sr_module.c:463
>>
>> #14 0x080ae398 in init_mod (m=0x818d570) at sr_module.c:463
>>
>> #15 0x0806c953 in main (argc=9, argv=0xbfcb7224) at main.c:1300
>>
>> Can someone help me please?
>>
>> Thanks,
>>
>> Loredana
>>
>>
>>    
> ------------------------------------------------------------------------
>  
>> _______________________________________________
>> Users mailing list
>> [hidden email]
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>  
>>    
>
>
>  


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: opensips won't start

Bogdan-Andrei Iancu
Hi Loredana,

yes, it seams that the 8080 port (used by the internal XMLRPC server)  
is already used :
  Failed to bind listening socket to port number 8080

try changing the XMLRPC port via the "port" modparam:
    http://www.opensips.org/html/docs/modules/devel/mi_xmlrpc.html#id227137

Regards,
Bogdan

Luntras Loredana wrote:

> Thanks a lot Bogdan,
>
> Indeed I have a level 7 debug set. I'm sending you all the logs in the
> file attached (I'm not sending to all the list because it is too long.)
> and also a 3 level debug version.
>
> I have not seen it, but there seems to be a problem with the 8080 port
> (I let the default port for OpenXcap).
>
> Regards,
>
> Loredana
>
> -----Original Message-----
> From: Bogdan-Andrei Iancu [mailto:[hidden email]]
> Sent: Friday, April 03, 2009 4:58 PM
> To: Luntras Loredana
> Cc: [hidden email]
> Subject: Re: [OpenSIPS-Users] opensips won't start
>
> Hi Loredana,
>
> before "vanishing" in the first place, what are the last logs from
> opensips? I guess you have a debug level higher than 5 set (I see some
> debug level messages).
>
> Regards,
> Bogdan
>
> Luntras Loredana wrote:
>  
>> Unfortunatelly, I'm back. I still have problems. Now my server starts
>> but it stops after some minutes (I can't find any message error with
>> syslog and there are no files in corefiles). If I want to restart it,
>>    
> or
>  
>> to start once it is stopped, I have this:
>> Apr  2 16:22:45 luntrasl /sbin/opensips[13503]:
>> DBG:core:shm_mem_destroy:  
>> Apr  2 16:22:45 luntrasl /sbin/opensips[13503]:
>> DBG:core:shm_mem_destroy: destroying the shared memory lock
>> Apr  2 16:22:45 luntrasl /sbin/opensips[13503]: DBG:core:handle_sigs:
>> terminating due to SIGCHLD
>>
>> Thanks a lot for your help.
>>
>> Regards,
>>
>> Loredana
>>
>> -----Original Message-----
>> From: Bogdan-Andrei Iancu [mailto:[hidden email]]
>> Sent: Thursday, April 02, 2009 11:56 AM
>> To: Luntras Loredana
>> Cc: [hidden email]
>> Subject: Re: [OpenSIPS-Users] opensips won't start
>>
>> Hi Loredana,
>>
>> I will report this to the module maintainer as, even if there is a
>> configuration issue, the proxy must not crash, but report an error at
>> startup.
>>
>> Thanks and regards,
>> Bogdan
>>
>> Luntras Loredana wrote:
>>  
>>    
>>> It's solved.
>>>
>>> The initial problem was due to some dependencies which were not
>>> correct. After that I had another problem: the version of the was
>>> rls_presentity was 0 not 1 as expected. I've changed the version to 1
>>>      
>
>  
>>> and it works.
>>>
>>> Regards,
>>>
>>> Loredana
>>>
>>>
>>>    
>>>      
> ------------------------------------------------------------------------
>  
>>  
>>    
>>> *From:* [hidden email]
>>> [mailto:[hidden email]] *On Behalf Of *Luntras
>>>    
>>>      
>> Loredana
>>  
>>    
>>> *Sent:* Wednesday, April 01, 2009 6:05 PM
>>> *To:* [hidden email]
>>> *Subject:* [OpenSIPS-Users] opensips won't start
>>>
>>> Hello, everybody.
>>>
>>> I'have installes OpenSips 1.5 and OpenXCAP. Since I've changed the
>>> config file (as suggested by openXcap) my OpenSips won't start. I
>>>      
> must
>  
>>>    
>>>      
>>  
>>    
>>> have errors in the config files or in the modules. The message I have
>>>      
>
>  
>>> when I try to start it is:
>>>
>>> loredana@luntrasl:/opt/opensips-1.5.0-tls$ sudo /etc/init.d/opensips
>>>    
>>>      
>> start
>>  
>>    
>>> [sudo] password for loredana:
>>>
>>> Starting : opensipsStarting /sbin/opensips...
>>>
>>> Listening on
>>>
>>> udp: 141.11.146.144 [141.11.146.144]:5066
>>>
>>> Aliases:
>>>
>>> udp: luntrasl.rennes.eu.thmulti.com:5066
>>>
>>> .
>>>
>>> loredana@luntrasl:/opt/opensips-1.5.0-tls$ sudo /etc/init.d/opensips
>>> status
>>>
>>> Status of : opensips is not running but /var/run/opensips.pid exists.
>>>
>>> The error that I have in the syslog is
>>>
>>> Apr 1 17:34:25 luntrasl kernel: [30143.981048] opensips[20690]:
>>> segfault at 18 ip b7a4825c sp bfcb6d80 error 4 in
>>>    
>>>      
>> pua.so[b7a45000+18000]
>>  
>>    
>>> Apr 1 17:39:01 luntrasl /USR/SBIN/CRON[20713]: (root) CMD ( [ -x
>>> /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find
>>> /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 |
>>> xargs -n 200 -r -0 rm)
>>>
>>> The backtrace of the core file is here:
>>>
>>> Program terminated with signal 11, Segmentation fault.
>>>
>>> [New process 20690]
>>>
>>> #0 0xb7a4825c in contains_pua_event (name=0xbfcb6dd0) at
>>>    
>>>      
>> event_list.c:109
>>  
>>    
>>> 109 event= pua_evlist->next;
>>>
>>> (gdb) bt
>>>
>>> #0 0xb7a4825c in contains_pua_event (name=0xbfcb6dd0) at
>>>    
>>>      
>> event_list.c:109
>>  
>>    
>>> #1 0xb7a48416 in add_pua_event (ev_flag=32, name=0xb7a610cf
>>>    
>>>      
>> "xcap-diff",
>>  
>>    
>>> content_type=0xb7a610d9 "application/xcap-diff+xml",
>>>
>>> process_body=0xb7a60840 <xcapdiff_process_body>) at event_list.c:65
>>>
>>> #2 0xb7a60a25 in mod_init () at presence_xcapdiff.c:105
>>>
>>> #3 0x080ae3fc in init_mod (m=0x818ce90) at sr_module.c:468
>>>
>>> #4 0x080ae398 in init_mod (m=0x818cf30) at sr_module.c:463
>>>
>>> #5 0x080ae398 in init_mod (m=0x818cfd0) at sr_module.c:463
>>>
>>> #6 0x080ae398 in init_mod (m=0x818d070) at sr_module.c:463
>>>
>>> #7 0x080ae398 in init_mod (m=0x818d110) at sr_module.c:463
>>>
>>> #8 0x080ae398 in init_mod (m=0x818d1b0) at sr_module.c:463
>>>
>>> #9 0x080ae398 in init_mod (m=0x818d250) at sr_module.c:463
>>>
>>> #10 0x080ae398 in init_mod (m=0x818d2f0) at sr_module.c:463
>>>
>>> #11 0x080ae398 in init_mod (m=0x818d390) at sr_module.c:463
>>>
>>> #12 0x080ae398 in init_mod (m=0x818d430) at sr_module.c:463
>>>
>>> #13 0x080ae398 in init_mod (m=0x818d4d0) at sr_module.c:463
>>>
>>> #14 0x080ae398 in init_mod (m=0x818d570) at sr_module.c:463
>>>
>>> #15 0x0806c953 in main (argc=9, argv=0xbfcb7224) at main.c:1300
>>>
>>> Can someone help me please?
>>>
>>> Thanks,
>>>
>>> Loredana
>>>
>>>
>>>    
>>>      
> ------------------------------------------------------------------------
>  
>>  
>>    
>>> _______________________________________________
>>> Users mailing list
>>> [hidden email]
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>  
>>>    
>>>      
>>  
>>    
>
>  


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: opensips won't start

Luntras Loredana
Lots of thanks Bogdan.

I changed the port to 8000 and now it works.

Regard,
Loredana

-----Original Message-----
From: Bogdan-Andrei Iancu [mailto:[hidden email]]
Sent: Monday, April 06, 2009 5:04 PM
To: Luntras Loredana; [hidden email]
Subject: Re: [OpenSIPS-Users] opensips won't start

Hi Loredana,

yes, it seams that the 8080 port (used by the internal XMLRPC server)  
is already used :
  Failed to bind listening socket to port number 8080

try changing the XMLRPC port via the "port" modparam:
 
http://www.opensips.org/html/docs/modules/devel/mi_xmlrpc.html#id227137

Regards,
Bogdan

Luntras Loredana wrote:
> Thanks a lot Bogdan,
>
> Indeed I have a level 7 debug set. I'm sending you all the logs in the
> file attached (I'm not sending to all the list because it is too
long.)

> and also a 3 level debug version.
>
> I have not seen it, but there seems to be a problem with the 8080 port
> (I let the default port for OpenXcap).
>
> Regards,
>
> Loredana
>
> -----Original Message-----
> From: Bogdan-Andrei Iancu [mailto:[hidden email]]
> Sent: Friday, April 03, 2009 4:58 PM
> To: Luntras Loredana
> Cc: [hidden email]
> Subject: Re: [OpenSIPS-Users] opensips won't start
>
> Hi Loredana,
>
> before "vanishing" in the first place, what are the last logs from
> opensips? I guess you have a debug level higher than 5 set (I see some

> debug level messages).
>
> Regards,
> Bogdan
>
> Luntras Loredana wrote:
>  
>> Unfortunatelly, I'm back. I still have problems. Now my server starts
>> but it stops after some minutes (I can't find any message error with
>> syslog and there are no files in corefiles). If I want to restart it,
>>    
> or
>  
>> to start once it is stopped, I have this:
>> Apr  2 16:22:45 luntrasl /sbin/opensips[13503]:
>> DBG:core:shm_mem_destroy:  
>> Apr  2 16:22:45 luntrasl /sbin/opensips[13503]:
>> DBG:core:shm_mem_destroy: destroying the shared memory lock
>> Apr  2 16:22:45 luntrasl /sbin/opensips[13503]: DBG:core:handle_sigs:
>> terminating due to SIGCHLD
>>
>> Thanks a lot for your help.
>>
>> Regards,
>>
>> Loredana
>>
>> -----Original Message-----
>> From: Bogdan-Andrei Iancu [mailto:[hidden email]]
>> Sent: Thursday, April 02, 2009 11:56 AM
>> To: Luntras Loredana
>> Cc: [hidden email]
>> Subject: Re: [OpenSIPS-Users] opensips won't start
>>
>> Hi Loredana,
>>
>> I will report this to the module maintainer as, even if there is a
>> configuration issue, the proxy must not crash, but report an error at

>> startup.
>>
>> Thanks and regards,
>> Bogdan
>>
>> Luntras Loredana wrote:
>>  
>>    
>>> It's solved.
>>>
>>> The initial problem was due to some dependencies which were not
>>> correct. After that I had another problem: the version of the was
>>> rls_presentity was 0 not 1 as expected. I've changed the version to
1

>>>      
>
>  
>>> and it works.
>>>
>>> Regards,
>>>
>>> Loredana
>>>
>>>
>>>    
>>>      
>
------------------------------------------------------------------------

>  
>>  
>>    
>>> *From:* [hidden email]
>>> [mailto:[hidden email]] *On Behalf Of *Luntras
>>>    
>>>      
>> Loredana
>>  
>>    
>>> *Sent:* Wednesday, April 01, 2009 6:05 PM
>>> *To:* [hidden email]
>>> *Subject:* [OpenSIPS-Users] opensips won't start
>>>
>>> Hello, everybody.
>>>
>>> I'have installes OpenSips 1.5 and OpenXCAP. Since I've changed the
>>> config file (as suggested by openXcap) my OpenSips won't start. I
>>>      
> must
>  
>>>    
>>>      
>>  
>>    
>>> have errors in the config files or in the modules. The message I
have

>>>      
>
>  
>>> when I try to start it is:
>>>
>>> loredana@luntrasl:/opt/opensips-1.5.0-tls$ sudo /etc/init.d/opensips
>>>    
>>>      
>> start
>>  
>>    
>>> [sudo] password for loredana:
>>>
>>> Starting : opensipsStarting /sbin/opensips...
>>>
>>> Listening on
>>>
>>> udp: 141.11.146.144 [141.11.146.144]:5066
>>>
>>> Aliases:
>>>
>>> udp: luntrasl.rennes.eu.thmulti.com:5066
>>>
>>> .
>>>
>>> loredana@luntrasl:/opt/opensips-1.5.0-tls$ sudo /etc/init.d/opensips

>>> status
>>>
>>> Status of : opensips is not running but /var/run/opensips.pid
exists.

>>>
>>> The error that I have in the syslog is
>>>
>>> Apr 1 17:34:25 luntrasl kernel: [30143.981048] opensips[20690]:
>>> segfault at 18 ip b7a4825c sp bfcb6d80 error 4 in
>>>    
>>>      
>> pua.so[b7a45000+18000]
>>  
>>    
>>> Apr 1 17:39:01 luntrasl /USR/SBIN/CRON[20713]: (root) CMD ( [ -x
>>> /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find
>>> /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 |

>>> xargs -n 200 -r -0 rm)
>>>
>>> The backtrace of the core file is here:
>>>
>>> Program terminated with signal 11, Segmentation fault.
>>>
>>> [New process 20690]
>>>
>>> #0 0xb7a4825c in contains_pua_event (name=0xbfcb6dd0) at
>>>    
>>>      
>> event_list.c:109
>>  
>>    
>>> 109 event= pua_evlist->next;
>>>
>>> (gdb) bt
>>>
>>> #0 0xb7a4825c in contains_pua_event (name=0xbfcb6dd0) at
>>>    
>>>      
>> event_list.c:109
>>  
>>    
>>> #1 0xb7a48416 in add_pua_event (ev_flag=32, name=0xb7a610cf
>>>    
>>>      
>> "xcap-diff",
>>  
>>    
>>> content_type=0xb7a610d9 "application/xcap-diff+xml",
>>>
>>> process_body=0xb7a60840 <xcapdiff_process_body>) at event_list.c:65
>>>
>>> #2 0xb7a60a25 in mod_init () at presence_xcapdiff.c:105
>>>
>>> #3 0x080ae3fc in init_mod (m=0x818ce90) at sr_module.c:468
>>>
>>> #4 0x080ae398 in init_mod (m=0x818cf30) at sr_module.c:463
>>>
>>> #5 0x080ae398 in init_mod (m=0x818cfd0) at sr_module.c:463
>>>
>>> #6 0x080ae398 in init_mod (m=0x818d070) at sr_module.c:463
>>>
>>> #7 0x080ae398 in init_mod (m=0x818d110) at sr_module.c:463
>>>
>>> #8 0x080ae398 in init_mod (m=0x818d1b0) at sr_module.c:463
>>>
>>> #9 0x080ae398 in init_mod (m=0x818d250) at sr_module.c:463
>>>
>>> #10 0x080ae398 in init_mod (m=0x818d2f0) at sr_module.c:463
>>>
>>> #11 0x080ae398 in init_mod (m=0x818d390) at sr_module.c:463
>>>
>>> #12 0x080ae398 in init_mod (m=0x818d430) at sr_module.c:463
>>>
>>> #13 0x080ae398 in init_mod (m=0x818d4d0) at sr_module.c:463
>>>
>>> #14 0x080ae398 in init_mod (m=0x818d570) at sr_module.c:463
>>>
>>> #15 0x0806c953 in main (argc=9, argv=0xbfcb7224) at main.c:1300
>>>
>>> Can someone help me please?
>>>
>>> Thanks,
>>>
>>> Loredana
>>>
>>>
>>>    
>>>      
>
------------------------------------------------------------------------

>  
>>  
>>    
>>> _______________________________________________
>>> Users mailing list
>>> [hidden email]
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>  
>>>    
>>>      
>>  
>>    
>
>  


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users