Hi Lianjie, As the sprout folder is present in /usr/share/clearwater and the lib folder isn’t, the right command is "LD_LIBRARY_PATH=/usr/share/clearwater/sprout/lib:$LD_LIBRARY_PATH /usr/share/clearwater/bin/bono --pcscf 5060,5058 --routing-proxy 192.168.1.21,5052,50,600".
Can you check if libmemcached.so is present in /usr/share/clearwater/sprout/lib? If it’s not, then can you reinstall Bono? If it is present, then it could be that the setuid flag has been set on Bono, and so it can’t honour the LD_LIBRARY_PATH when it’s run. Can you check this? You can do this by running “ls –l” in /usr/share/clearwater/bin, and checking the permissions on Bono. If the permissions include an s (e.g. -rwsr-xr-x) then it has been set. You can remove it by running “chmod u-s bono”. Hope this helps, Ellie From: Lianjie Cao [mailto:[email protected]] Sent: 17 July 2014 20:36 To: Eleanor Merry Cc: [email protected] Subject: Re: [Clearwater] Bono and Homestead have status of "Does not exist" in a manual Clearwater installation Hi Merry, It still outputs the error: " /usr/share/clearwater/bin/bono: error while loading shared libraries: libmemcached.so.11: cannot open shared object file: No such file or directory" Interestingly, I found there is no /lib directory under /usr/share/clearwater on Bono node. /usr/share/clearwater includes /bin, /clearwater-diags-monitor, /infrastructure, /restund and /sprout. Thanks, Lianjie On Thu, Jul 17, 2014 at 12:07 PM, Eleanor Merry <[email protected]<mailto:[email protected]>> wrote: Hi Lianjie, I told you the wrong library path – in the newest release (Jet Set Radio, released today) the library path is /usr/share/clearwater/sprout/lib, in earlier releases it’s /usr/share/clearwater/lib Can you try with “LD_LIBRARY_PATH=/usr/share/clearwater/lib:$LD_LIBRARY_PATH /usr/share/clearwater/bin/bono --pcscf 5060,5058 --routing-proxy 192.168.1.21,5052,50,600" instead? Ellie From: Lianjie Cao [mailto:[email protected]<mailto:[email protected]>] Sent: 17 July 2014 19:22 To: Eleanor Merry Cc: [email protected]<mailto:[email protected]> Subject: Re: [Clearwater] Bono and Homestead have status of "Does not exist" in a manual Clearwater installation Hi Merry, Thanks a lot for the suggestion! I ran the command with and without sudo. Got errors for both. Without sudo; " /usr/share/clearwater/bin/bono: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory" With sudo: " /usr/share/clearwater/bin/bono: error while loading shared libraries: libmemcached.so.11: cannot open shared object file: No such file or directory" /var/log/monit.log is filled with: 'poll_bono' exec: /etc/init.d/bono 'bono' process is not running 'bono' trying to restart 'bono' start: /etc/init.d/bono 'poll_bono' status failed (1) for /usr/share/clearwater/bin/poll_bono.sh. Error: SIP poll failed to 192.168.1.11:5058<http://192.168.1.11:5058> nc: connect to 192.168.1.11 port 5058 (tcp) failed: Connection refused. Thanks, Lianjie On Thu, Jul 17, 2014 at 10:43 AM, Eleanor Merry <[email protected]<mailto:[email protected]>> wrote: Hi, Can you try running bono interactively to see what errors come up? You can do this by running " LD_LIBRARY_PATH=/usr/share/clearwater/sprout/lib:$LD_LIBRARY_PATH /usr/share/clearwater/bin/bono --pcscf 5060,5058 --routing-proxy 192.168.1.21,5052,50,600". Also, can you check the /var/log/monit.log files on Bono and Homestead for more details as to why monit can't track Bono. Ellie -----Original Message----- From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Lianjie Cao Sent: 17 July 2014 00:33 To: [email protected]<mailto:[email protected]> Subject: [Clearwater] Bono and Homestead have status of "Does not exist" in a manual Clearwater installation Hi guys, I installed Clearwater manually using OpenStack. I launched 1 VM for each of the 6 components, Ellis, Bono, Sprout, Homestead, Homer and Ralf. All the 6 VMs are connected to a private subnet 192.168.1.0/24<http://192.168.1.0/24> and they all associated with external IPs using NAT. Since I don't have access to the DNS server, I configure them to use IP addresses instead of hostnames. The /etc/clearwater/config on Bono VM is as below: # Deployment definitions home_domain=x.y.z.163 sprout_hostname=192.168.1.21 chronos_hostname=192.168.1.21:7253<http://192.168.1.21:7253> hs_hostname=192.168.1.41:8888<http://192.168.1.41:8888> hs_provisioning_hostname=192.168.1.41:8889<http://192.168.1.41:8889> ralf_hostname=192.168.1.51:10888<http://192.168.1.51:10888> xdms_hostname=192.168.1.31:7888<http://192.168.1.31:7888> # Local IP configuration local_ip=192.168.1.11 public_ip=x.y.z.163 public_hostname=15.9.114.163 # Email server configuration smtp_smarthost= smtp_username=username smtp_password=password [email protected]<mailto:[email protected]> # Keys signup_key=secret turn_workaround=secret ellis_api_key=secret ellis_cookie_key=secret # I-CSCF/S-CSCF configuration icscf=5052 upstream_hostname=192.168.1.21 upstream_port=5052 Configuration files on other nodes are similar except the IPs for themselves. Now I am able to log in and create Private Identities on Ellis node. Private Identity: 6505550005<tel:6505550005>@x.y.z.163 Password: *Not available* But I failed when using client software Jisti to register the account I created in Ellis. Then I went into the Bono node to check the status by running "monit status", I got the following output: root@bono:/var/log# monit status The Monit daemon 5.3.2 uptime: 38m Program 'poll_restund' status Status ok monitoring status Monitored last started Wed, 16 Jul 2014 08:43:01 last exit value 0 data collected Wed, 16 Jul 2014 08:43:01 Process 'restund' status Running monitoring status Monitored pid 1080 parent pid 1 uptime 49m children 0 memory kilobytes 1380 memory kilobytes total 1380 memory percent 0.0% memory percent total 0.0% cpu percent 0.0% cpu percent total 0.0% data collected Wed, 16 Jul 2014 08:43:01 Program 'poll_bono' status Status failed monitoring status Monitored last started Wed, 16 Jul 2014 08:43:01 last exit value 1 data collected Wed, 16 Jul 2014 08:43:01 Process 'bono' status Does not exist monitoring status Monitored data collected Wed, 16 Jul 2014 08:43:01 System 'system_bono' status Running monitoring status Monitored load average [0.00] [0.01] [0.05] cpu 0.7%us 0.5%sy 0.0%wa memory usage 86028 kB [4.1%] swap usage 0 kB [0.0%] data collected Wed, 16 Jul 2014 08:43:01 It seems like bono is not started. I tried to start bono using "monit start bono" and "service bono start". It didn't output error messages, but bono still cannot be started. And there is not log file under /var/log/bono neither. I also checked that port 5060 is not used by any process. This also happens to Homestead. Can anyone help me out on this? Thanks a lot! Lianjie _______________________________________________ Clearwater mailing list [email protected]<mailto:[email protected]> http://lists.projectclearwater.org/listinfo/clearwater _______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/listinfo/clearwater
