When working with Zenoss from the command line, you always want to be logged in as the user “zenoss”. If you log in as root you must become zenoss by issuing the command:
su - zenoss