TECHZEN Zenoss User Community ARCHIVE  

Fresh CentOS/Zenoss install, error upon login.

Subject: Fresh CentOS/Zenoss install, error upon login.
Author: [Not Specified]
Posted: 2014-04-11 09:12

So following the instruction here: http://binarynature.blogspot.com/2012/11/zenoss-core-4-installation.html

Upon completion I was able to login, create a new user, and started a couple auto discoveries. I dont know if I was logged out, or timed out because I was forced to re-login when i returned to this tab from an SSH session installing the vmware tools.
When I do I get this error and I am blocked from getting past it

Type:
Value: 1397206900
Traceback (most recent call last): File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 126, in publish request, bind=1) File "/opt/zenoss/lib/python/ZPublisher/mapply.py", line 77, in mapply if debug is not None: return debug(object,args,context) File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 46, in call_object result=apply(object,args) # Type s to step into published object. File "/opt/zenoss/Products/ZenUtils/patches/pasmonkey.py", line 153, in login pas_instance.updateCredentials(request, response, login, password) File "/opt/zenoss/lib/python/Products/PluggableAuthService/PluggableAuthService.py", line 1100, in updateCredentials updater.updateCredentials(request, response, login, new_password) File "/opt/zenoss/lib/python/Products/PluggableAuthService/plugins/SessionAuthHelper.py", line 102, in updateCredentials request.SESSION.set('__ac_name', login) File "/opt/zenoss/lib/python/ZPublisher/HTTPRequest.py", line 1379, in __getattr__ v = self.get(key, default, returnTaints=returnTaints) File "/opt/zenoss/lib/python/ZPublisher/HTTPRequest.py", line 1336, in get v = v() File "/opt/zenoss/lib/python/Products/Sessions/SessionDataManager.py", line 101, in getSessionData return self._getSessionDataObject(key) File "/opt/zenoss/lib/python/Products/Sessions/SessionDataManager.py", line 188, in _getSessionDataObject ob = container.new_or_existing(key) File "/opt/zenoss/lib/python/Products/Transience/Transience.py", line 842, in new_or_existing self[key] = item File "/opt/zenoss/lib/python/Products/Transience/Transience.py", line 454, in __setitem__ current_bucket = self._data[current_ts] KeyError: 1397206900



Subject: I assume this is due to
Author: [Not Specified]
Posted: 2014-04-11 09:21

I assume this is due to installing the vmware tools. I restarted the zenoss processes just to see what'd happen, nothing still the same error.



Subject: You should always install the
Author: [Not Specified]
Posted: 2014-04-11 12:37

You should always install the "VM Tools" for the OS before installing Zenoss. However that doesn't mean we can't fix it.

Verify all the zenoss daemons are running with 'zenoss status'. If so, stop zenoss and try to restart rabbit to see if there are any errors. Also verify that you can connect to MySQL with the credentials in $ZENHOME/etc/globals.conf

Hydruid



Subject: Ok I stopped teh zenoss
Author: [Not Specified]
Posted: 2014-04-11 12:45

Ok I stopped teh zenoss services twice.. but zenjobs refuses to quit. Rabbitmq-server did restart successfully though.

Running 'mysql -u zenoss -p'
and entering the password of zenoss I was allowed a connection. Should I try to connect to zodb specifically



Subject: You did not provide the
Author: [Not Specified]
Posted: 2014-04-11 13:02

You did not provide the output of zenoss status

Hydruid



Subject: I checked teh status, then
Author: [Not Specified]
Posted: 2014-04-11 13:57

I checked teh status, then told it to stop all zenoss services. then checked teh status again.. zenjobs still is running. Trying to stop all services again and zenjobs still failed to stop. So I went ahead and tried restarting rabbit, which worked and was able to access mysql using zenoss/zenoss. I'd paste the output in here but sshd isnt working for me at the moment..



Subject: So you have a stuck zenoss
Author: [Not Specified]
Posted: 2014-04-11 14:13

So you have a stuck zenoss daemon and the SSH daemon is broken Sounds like you need to start over, again ;)

This time install CentOS, install VMWare tools, update CentOS, reboot, and then install Zenoss!

Hydruid



< Previous
Software Component/Inventory
  Next
Zenup installing patch
>