Hi Ellie,
My /etc/clearwater/config file had the following line:
chronos_hostname=
I've deleted that line and restarted Sprout, and SIP clients are again
registering successfully.
Many thanks for your support,
Nuno Campos
WIT Software| Senior Software Engineer
This email was sent under WIT Software's Confidentiality Policy
<https://www.wit-software.com/confidentiality-policy/>
On 07-07-2015 18:50, Eleanor Merry wrote:
Hi Nuno,
In release-73 we upgraded which version of Cassandra we use (we now
use 2.0.14 instead of 1.2.12) – please see
http://lists.projectclearwater.org/pipermail/clearwater/2015-June/002251.html
for the release note and upgrade instructions (although given that
Cassandra is starting, you probably don’t need to follow these now).
Thanks for sending the debug logs over. It looks like Sprout is
crashing when we try and send a request to Chronos. If you’ve got
chronos_hostname=<something> in your /etc/clearwater/config can you
please delete that line, and restart Sprout (sudo service sprout
stop). If this doesn’t fix the crash, then can you please send me your
/etc/clearwater/config file, and the debug logs from when Sprout
starts up?
Thanks,
Ellie
*From:*Nuno Campos [mailto:[email protected]]
*Sent:* 06 July 2015 18:58
*To:* Eleanor Merry; [email protected]
*Subject:* Re: [Clearwater] Sprout thread crash while sending to Chronos
Hi Eleanor,
please find attached the log from a new registration attempt, now with
sprout-dbg installed.
Thanks,
Nuno Campos
WIT Software| Senior Software Engineer
This email was sent under WIT Software's Confidentiality Policy
<https://www.wit-software.com/confidentiality-policy/>
On 06-07-2015 18:44, Nuno Campos wrote:
Hi Eleanor,
I'm not sure but it is very likely that it was from before
release-73. Is there anyway I can find that out now?
I will install the sprout-dbg package and try a registration again.
Thanks,
Nuno Campos
WIT Software| Senior Software Engineer
This email was sent under WIT Software's Confidentiality Policy
<https://www.wit-software.com/confidentiality-policy/>
On 06-07-2015 18:41, Eleanor Merry wrote:
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]>
[mailto:[email protected]] *On
Behalf Of *Nuno Campos
*Sent:* 06 July 2015 13:25
*To:* [email protected]
<mailto:[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:///%5C%5C%5C%5Cetc%5Ccassandra%5Ccassandra.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