Hello everyone,
Though I have been using Opscenter for a long time but this is 1st time I am trying to install it. I am having some issues while starting-up the opscenter.
OS Version: CentOS release 6.3 (Final)
Amazon EC2 Instance
I have already installed Cassandra cluster with 3 nodes and they are working fine(I checked with nodetool). Then I wanted to use another node just for Opscenter so I installed opscenter from the rpm: opscenter-free-3.0.1-1.noarch.rpm.
Here is the setting which I used:
# opscenterd.conf
[webserver]
port = 8888
interface = 111.111.111.111 (public ip address)
# The following settings can be used to enable ssl support for the opscenter
# web application. Change these values to point to the ssl certificate and key
# that you wish to use for your OpsCenter install, as well as the port you would like
# to serve ssl traffic from.
#ssl_keyfile = /var/lib/opscenter/ssl/opscenter.key
#ssl_certfile = /var/lib/opscenter/ssl/opscenter.pem
#ssl_port = 8443
[agents]
use_ssl = false
[logging]
# level may be TRACE, DEBUG, INFO, WARN, or ERROR
level = INFO
[authentication]
# if this file does not exist, there will be no password protection. Use the
# set_passwd.py tool (included with OpsCenter) to set passwords. This property will
# default to /etc/opscenter/.passwd in packaged installations and ./passwds in
# tarball installations.
#passwd_file =
---------------------------------------
When I used this setting and started the service it failed. Here is the log:
File "/usr/share/opscenter/lib/py-redhat/2.6/shared/amd64/twisted/application/internet.py", line 110, in startService
self._port = self._getPort()
File "/usr/share/opscenter/lib/py-redhat/2.6/shared/amd64/twisted/application/internet.py", line 131, in _getPort
'listen%s' % (self.method,))(*self.args, **self.kwargs)
File "/usr/share/opscenter/lib/py-redhat/2.6/shared/amd64/twisted/internet/posixbase.py", line 419, in listenTCP
p.startListening()
File "/usr/share/opscenter/lib/py-redhat/2.6/shared/amd64/twisted/internet/tcp.py", line 857, in startListening
raise CannotListenError, (self.interface, self.port, le)
twisted.internet.error.CannotListenError: Couldn't listen on 111.111.111.111:8888: [Errno 99] Cannot assign requested address.
----------------------------------
But when I used private IP address (interface = 10.0.0.80) it didn't show that error in the log, but I'm not able to see opscenter UI (http://hostname/public-ip:8888).
From the log:
us-east-1b-hadoop-client [root:opscenter]$ tail opscenterd.log
2013-03-07 15:29:57-0500 [] INFO: opscenterd.WebServer.OpsCenterdWebServer starting on 8888
2013-03-07 15:29:57-0500 [] INFO: Starting factory <opscenterd.WebServer.OpsCenterdWebServer instance at 0x32b87a0>
2013-03-07 15:29:57-0500 [] INFO: morbid.morbid.StompFactory starting on 61619
2013-03-07 15:29:57-0500 [] INFO: Starting factory <morbid.morbid.StompFactory instance at 0x32dab00>
2013-03-07 15:29:57-0500 [] INFO: Configuring agent communication with ssl support disabled.
2013-03-07 15:29:57-0500 [] INFO: morbid.morbid.StompFactory starting on 61620
2013-03-07 15:29:57-0500 [] INFO: OS Version: Linux version 2.6.32-279.14.1.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Tue Nov 6 23:43:09 UTC 2012
2013-03-07 15:29:57-0500 [] INFO: CPU Info: ['1795.672', '1795.672']
2013-03-07 15:29:57-0500 [] INFO: Mem Info: 7337MB
2013-03-07 15:29:58-0500 [] INFO: Package Manager: Unknown
------------------------------------
Any information will be highly appreciated.
Thanks in advance.
Tanzir
