Applies To
- Zenoss 4.2.3
- Zenoss 4.2.4
Summary
Depending on the version and patch level of your Zenoss installation, it might be necessary to clear the zodb_session table. This table maintains data about login sessions for users accessing the Zenoss UI. In some cases stale data can result in login errors, or database packing may not occur resulting in excessive disk consumption by this particular database.
Because this data is nonessential, there is no risk to dropping the table if necessary.
Procedure
To clear the zodb_session table, perform the following:
- Ensure end users log off the Zenoss graphical user interface.
- Log into the Resource Manager master server.
- Become the zenoss user:
# su - zenoss
- Stop zenwebserver:
$ zenwebserver stop
- Log on to the server hosting your Zends database. Depending on your configuration this may be a dedicated Zends server or it may be your master server.
- Become the zenoss user:
# su - zenoss
- Start the zends client:
$ zends -uzenoss -pzenoss
If your zends database has a non-default password for the zends user, substitute that password in.
- Issue the following commands:
zends> drop database zodb_session;
zends> create database zodb_session; - Exit zends:
zends> exit;
- On the master server, restart the zenwebserver:
$ zenwebserver start
Test to ensure users can successfully log on.
Comments