Hi Surya,

Thank you for sending over the details. It looks like Cassandra is starting up, 
but that Homestead is failing to connect to it.

You can see that Cassandra is listening on 0.0.0.0:9160 from netstat.txt, and 
from /var/log/cassandra/system.log:

INFO [main] 2016-08-10 11:45:21,948 TServerCustomFactory.java (line 47) Using 
synchronous/threadpool thrift server on 0.0.0.0 : 9160
INFO [Thread-8] 2016-08-10 11:45:21,948 ThriftServer.java (line 135) Listening 
for thrift clients...

After this, Homestead still fails to connect. From 
/var/log/homestead/homestead_err.log:

Thrift: Wed Aug 10 11:45:51 2016 TSocket::open() connect() <Host: localhost 
Port: 9160>Connection refused
Thrift: Wed Aug 10 11:46:32 2016 TSocket::open() connect() <Host: localhost 
Port: 9160>Connection refused

Our current best theory is that localhost on your system is resolving to the 
IPv6 address ::0 rather than the IP address 127.0.0.1. As Cassandra is 
listening on IPv4 only, that would stop Homestead connecting.

You can confirm that by running nslookup localhost on your system.

If that is the issue, then we can work out how to fix it.

I’m on vacation from tomorrow, so I won’t be able to respond to any emails on 
this issue. I suggest mailing the list for help while I’m gone.

Chris

From: surya [mailto:[email protected]]
Sent: 10 August 2016 16:57
To: Chris Elford (projectclearwater.org) <[email protected]>
Subject: Re: [Project Clearwater] Clearwater installation on Hlinux

Hello Chris,

I have reinstalled the clearwater VM's.  This time I got the dump file

Please find the attached log file


Please let me know if you need any other logs

Thanks & regards,
Surya

On Wed, Aug 10, 2016 at 3:44 PM, surya 
<[email protected]<mailto:[email protected]>> wrote:
Hello Chris,

Thanks a lot for responding

I could not find any dumps in homestead node

This is the output on my node

[homestead]root@homestead:/var/clearwater-diags-monitor# cd dumps/
[homestead]root@homestead:/var/clearwater-diags-monitor/dumps# ls
[homestead]root@homestead:/var/clearwater-diags-monitor/dumps# cd ../tmp/
[homestead]root@homestead:/var/clearwater-diags-monitor/tmp# ls
[homestead]root@homestead:/var/clearwater-diags-monitor/tmp# cd ..
[homestead]root@homestead:/var/clearwater-diags-monitor# 
/usr/share/clearwater/bin/gather_diags
gather_diags:
This script triggers diagnostics collection.

The packaged diagnostics are created in 
/var/clearwater-diags-monitor/dumps/*.tar.gz
[homestead]root@homestead:/var/clearwater-diags-monitor# cd dumps/
[homestead]root@homestead:/var/clearwater-diags-monitor/dumps# ls
[homestead]root@homestead:/var/clearwater-diags-monitor/dumps# ls -a
.  ..




Please let me know if you need any other logs

Thanks & Regards,
Surya

On Wed, Aug 10, 2016 at 3:34 PM, Chris Elford 
(projectclearwater.org<http://projectclearwater.org>) 
<[email protected]<mailto:[email protected]>> wrote:
Hi Surya,

The log below shows that Homestead was trying to connect to Cassandra on port 
9160, but that this failed. We have seen this in the past, for a couple of 
different reasons.

The first possibility is that Cassandra is just not up and running yet. If you 
wait 10min, does the issue clear?

The second possibility is that something has gone wrong with Cassandra. From 
the monit output, it looks like it is running, but we should check that:

•         Run `sudo monit status` and check the Cassandra process’ uptime.

•         Look for errors in the logs in /var/log/Cassandra.

Otherwise, there are a few places that setting up Cassandra might have gone 
wrong. If you send me over a diagnostics bundle I may be able to help track 
down what has gone wrong. If you do, please send this it me directly – it will 
not send through the mailing list. You can find instructions for gathering a 
diagnostics bundle 
here<https://github.com/Metaswitch/clearwater-infrastructure/blob/master/clearwater-diags-monitor.md>.
  It would be great if there is a bundle from Friday.

Yours,

Chris

From: Clearwater 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of surya
Sent: 05 August 2016 13:37
To: 
[email protected]<mailto:[email protected]>
Subject: [Project Clearwater] Clearwater installation on Hlinux

HI all,

I'm trying to install clearwater on Hlinux( HP version of linux)

I have installed all required packages

Bono,Ellis,Homer services are installed and configure properly. but I'm facing 
issues with homestead service


[homestead]root@homestead:~# monit summary
Monit 5.18.1 uptime: 51m
 Service Name                     Status                      Type
 node-homestead                   Running                     System
 ntp_process                      Running                     Process
 nginx_process                    Running                     Process
 homestead_process                Execution failed | Does...  Process
 clearwater_queue_manager_pro...  Running                     Process
 etcd_process                     Running                     Process
 clearwater_diags_monitor_pro...  Running                     Process
 clearwater_config_manager        Running                     Process
 clearwater_cluster_manager       Running                     Process
 cassandra_process                Running                     Process
 nginx_uptime                     Status ok                   Program
 monit_uptime                     Status ok                   Program
 homestead_uptime                 Not monitored               Program
 poll_homestead                   Not monitored               Program
 clearwater_queue_manager_uptime  Status ok                   Program
 etcd_uptime                      Status ok                   Program
 poll_etcd_cluster                Status ok                   Program
 poll_etcd                        Status ok                   Program
 cassandra_uptime                 Status ok                   Program
 poll_cassandra                   Status ok                   Program


[homestead]root@homestead:~# 
LD_LIBRARY_PATH=/usr/share/clearwater/homestead/lib 
/usr/share/clearwater/bin/homestead
Thrift: Fri Aug  5 07:58:11 2016 TSocket::open() connect() <Host: localhost 
Port: 9160>Connection refused
05-08-2016 11:58:11.407 UTC Error cassandra_store.cpp:189: Store caught 
InvalidRequestException: Keyspace 'homestead_cache' does not exist
05-08-2016 11:58:11.408 UTC Error main.cpp:720: Failed to initialize the 
Cassandra cache with error code 1.


And this is the issue I have seenin homestead log


5-08-2016 12:32:02.163 UTC Error cassandra_store.cpp:189: Store caught 
InvalidRequestException: Keyspace 'homestead_cache' does not exist
05-08-2016 12:32:02.163 UTC Error main.cpp:720: Failed to initialize the 
Cassandra cache with error code 1.
05-08-2016 12:32:02.163 UTC Status main.cpp:721: Homestead is shutting down




Please let me know if I'm missing any configuration here



Thanks & Regards,
Surya

--
surya



--
surya



--
surya
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org

Reply via email to