Hi Nuno,

Which release did you upgrade the All-in-one node from? Was it from before 
release-73?

For the Sprout crashes, can you please install the sprout-dbg package, and then 
try re-registering the SIP client. This will print the advanced stack dump into 
the logs after the crash, which will make this much easier to debug.

Thanks,

Ellie

From: [email protected] 
[mailto:[email protected]] On Behalf Of Nuno Campos
Sent: 06 July 2015 13:25
To: [email protected]
Subject: [Clearwater] Sprout thread crash while sending to Chronos

Hi all,

Today, after updating an AIO instance to the latest release ("release-75"), 
Cassandra was refusing to start with the following error:

******
 INFO [main] 2015-07-06 11:42:41,480 YamlConfigurationLoader.java (line 80) 
Loading settings from 
file:/etc/cassandra/cassandra.yaml<file:///\\etc\cassandra\cassandra.yaml>
ERROR [main] 2015-07-06 11:42:41,515 CassandraDaemon.java (line 441) Fatal 
configuration error
org.apache.cassandra.exceptions.ConfigurationException: Cannot change the 
number of tokens from 1 to 256
        at 
org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:836)
        at 
org.apache.cassandra.service.StorageService.initServer(StorageService.java:621)
        at 
org.apache.cassandra.service.StorageService.initServer(StorageService.java:510)
        at 
org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:437)
        at 
org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:567)
        at 
org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:656)
******

I was able to fix this by commenting the line "num_tokens=256" in the 
"cassandra.yaml" file (as suggested here: 
http://stackoverflow.com/questions/29583586/is-it-possible-to-shut-down-cassandra-cluster-and-restart-it-back-without-loosin).
 After this, the AIO instance restarted correctly but I'm unable to register 
any SIP client as Sprout is returning "500 Internal Server Error" due to this 
(complete log attached):

******
06-07-2015 10:59:50.541 UTC Debug authentication.cpp:454: Sending {"impi": 
"[email protected]"<mailto:[email protected]>, "impu": 
"sip:[email protected]"<mailto:sip:[email protected]>, "nonce": 
"754803617f7e1427"} to Chronos to set AV timer

Signal 11 caught

Basic stack dump:
/usr/share/clearwater/bin/sprout(_ZN6Logger9backtraceEPKc+0x6d)[0x4b33bd]
/usr/share/clearwater/bin/sprout(_ZN3Log9backtraceEPKcz+0x10d)[0x57987d]
/usr/share/clearwater/bin/sprout(_Z14signal_handleri+0x2c)[0x5d008c]
/lib/x86_64-linux-gnu/libc.so.6(+0x36150)[0x7f5b92dc5150]
/usr/share/clearwater/bin/sprout(_Z16create_challengeP23pjsip_authorization_hdriSsP13pjsip_rx_dataP13pjsip_tx_data+0x13c8)[0x4f5838]
/usr/share/clearwater/bin/sprout[0x4f7372]
/usr/share/clearwater/bin/sprout(pjsip_endpt_process_rx_data+0x1f6)[0x63a973]
/usr/share/clearwater/bin/sprout[0x5c4d5b]
/usr/share/clearwater/bin/sprout[0x6b5dec]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x7f5b93967e9a]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f5b92e828bd]

Advanced stack dump (requires gdb):
sh: 1: /usr/bin/gdb: not found

gdb failed with return code 32512
******

Can you help me figure out how make this work again?

Thanks in advance,
Nuno Campos
WIT Software  |  Senior Software Engineer
This email was sent under WIT Software's Confidentiality 
Policy<https://www.wit-software.com/confidentiality-policy/>

_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater

Reply via email to