Discussion:
Zenoss 4.2 not starting on RHEL 6.4
Sandeep_Krishnan
2013-11-06 07:14:20 UTC
Permalink
Sandeep_Krishnan [http://community.zenoss.org/people/Sandeep_Krishnan] created the discussion

"Zenoss 4.2 not starting on RHEL 6.4"

To view the discussion, visit: http://community.zenoss.org/message/75195#75195

--------------------------------------------------------------
Hi All,
I use zenoss autodeploy script to install zenoss on Red Hat Enterprise Linux Server release 6.4 (Santiago) kernel version. During installation i had problem with jre, We downloaded rpm and installed it. But when i start zenoss i am getting below error. The only password i enetred was mysql root password while installation. Please help

Can anyone suggest where to start looking at, currenty i am lost.

zenoss start
Daemon: zeneventserver starting...
Waiting for zeneventserver to start....
WARNING:relstorage.adapters.mysql:Unable to connect: (1045, "Access denied for user 'zenoss'@'localhost' (using password: YES)")
ERROR:zen.ZenPackCmd:zenpack command failed
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 487, in <module>
    zp.run()
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 143, in run
    self.connect()
  File "/opt/zenoss/Products/ZenUtils/ZenScriptBase.py", line 46, in connect
    self.db, self.storage = connectionFactory.getConnection(**self.options.__dict__)
  File "/opt/zenoss/Products/ZenUtils/MySqlZodbFactory.py", line 162, in getConnection
    storage = relstorage.storage.RelStorage(adapter, **relstoreParams)
  File "/opt/zenoss/lib/python/relstorage/storage.py", line 167, in __init__
    self._adapter.schema.prepare()
  File "/opt/zenoss/lib/python/relstorage/adapters/schema.py", line 856, in prepare
    self.connmanager.open_and_call(callback)
  File "/opt/zenoss/lib/python/relstorage/adapters/connmanager.py", line 73, in open_and_call
    conn, cursor = self.open()
  File "/opt/zenoss/lib/python/relstorage/adapters/mysql.py", line 231, in open
    conn = MySQLdb.connect(**self._params)
  File "/opt/zenoss/lib/python/MySQLdb/__init__.py", line 81, in Connect
    return Connection(*args, **kwargs)
  File "/opt/zenoss/lib/python/MySQLdb/connections.py", line 187, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
OperationalError: (1045, "Access denied for user 'zenoss'@'localhost' (using password: YES)")
There was an error during the ZenPack operation: Command 'zenpack  --install /opt/zenoss/packs/ZenPacks.zenoss.DellMonitor-2.2.0-py2.7.egg' returned non-zero exit status 3
Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss.

Thanks
Sandeep
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75195#75195]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
alex0cy
2013-11-06 07:50:15 UTC
Permalink
alex0cy [http://community.zenoss.org/people/alex0cy] created the discussion

"Re: Zenoss 4.2 not starting on RHEL 6.4"

To view the discussion, visit: http://community.zenoss.org/message/75181#75181

--------------------------------------------------------------
1. check that you can connect with to mysql with password you provided at installation time.
2. check the passwords in /opt/zenoss/etc/global.conf (look for zep-user and zep-password) and try to connect with these credentials to mysql

In case credentials doesn't work just change password in mysql for user specifeid in zep-user (seems to be zenoss) to the corresponding password in zep-password
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75181#75181]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-11-06 18:27:35 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Zenoss 4.2 not starting on RHEL 6.4"

To view the discussion, visit: http://community.zenoss.org/message/75198#75198

--------------------------------------------------------------
It all else fails, it wouldn't hurt to do a re-install to make sure
everything got in there!
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75198#75198]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Sandeep_Krishnan
2013-11-11 06:37:38 UTC
Permalink
Sandeep_Krishnan [http://community.zenoss.org/people/Sandeep_Krishnan] created the discussion

"Re: Zenoss 4.2 not starting on RHEL 6.4"

To view the discussion, visit: http://community.zenoss.org/message/75221#75221

--------------------------------------------------------------
Hi alex0cy,
                I tried resetting mysql password for zenoss user and i was able to connect to mysql as user 'zenoss', but when i do > show databases; its not showing any zenoss related databases; op is as follows

mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
| test |
+--------------------+
4 rows in set (0.00 sec)


when i do zenoss start still its giving me error

zenoss start
Daemon: zeneventserver starting...
Waiting for zeneventserver to start....
WARNING:relstorage.adapters.mysql:Unable to connect: (1045, "Access denied for u ser 'zenoss'@'localhost' (using password: YES)")
ERROR:zen.ZenPackCmd:zenpack command failed
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 487, in <module>
    zp.run()
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 143, in run
    self.connect()
  File "/opt/zenoss/Products/ZenUtils/ZenScriptBase.py", line 46, in connect
    self.db, self.storage = connectionFactory.getConnection(**self.options.__dic t__)
  File "/opt/zenoss/Products/ZenUtils/MySqlZodbFactory.py", line 162, in getConn ection
    storage = relstorage.storage.RelStorage(adapter, **relstoreParams)
  File "/opt/zenoss/lib/python/relstorage/storage.py", line 167, in __init__
    self._adapter.schema.prepare()
  File "/opt/zenoss/lib/python/relstorage/adapters/schema.py", line 856, in prep are
    self.connmanager.open_and_call(callback)
  File "/opt/zenoss/lib/python/relstorage/adapters/connmanager.py", line 73, in open_and_call
    conn, cursor = self.open()
  File "/opt/zenoss/lib/python/relstorage/adapters/mysql.py", line 231, in open
    conn = MySQLdb.connect(**self._params)
  File "/opt/zenoss/lib/python/MySQLdb/__init__.py", line 81, in Connect
    return Connection(*args, **kwargs)
  File "/opt/zenoss/lib/python/MySQLdb/connections.py", line 187, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
OperationalError: (1045, "Access denied for user 'zenoss'@'localhost' (using pas sword: YES)")
There was an error during the ZenPack operation: Command 'zenpack --install /op t/zenoss/packs/ZenPacks.zenoss.ApacheMonitor-2.1.3-py2.7.egg' returned non-zero exit status 3
Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenos s/var/zenpack_actions.txt, then restart zenoss.


Thanks
Sandeep



--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75221#75221]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-11-11 18:44:13 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Zenoss 4.2 not starting on RHEL 6.4"

To view the discussion, visit: http://community.zenoss.org/message/75222#75222

--------------------------------------------------------------
Are the zenoss databases there for the mysql root user?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75222#75222]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...