Oops!  This is what I actually added to my /usr/local/zenoss/bin/zenoss

PYTHONPATH=/usr/local/zenoss/lib/python
export PYTHONPATH
ZENHOME=/usr/local/zenoss
export ZENHOME


It works with those lines added, and did not otherwise, unless I was logged in directly as the zenoss user.

Root still can't start all services, so I have to manually start Zenoss on startup.

I hadn't gotten around to writing in to the list about it.

It's probably time to upgrade to something newer by now anyhow. ;)

I've not seen zenxevent before.. must be new.. and zenagios isn't in the version I'm running either! I should probably get with the times!

Todd.

Eric Newton wrote:
Todd,

This isn't correct. "export $ZENHOME" is the same as "export /usr/local/zenoss" which isn't what you want.

For example:

      $ FOO=bar                  # not exported
      $ /bin/env | grep FOO      # test
      $ export $FOO              # oops... dollar expansion
      $ /bin/env | grep FOO      # test
      $ export FOO               # got it!
      $ /bin/env | grep FOO
      FOO=bar

-Eric

Todd Michael Hebert wrote:

I had to put in:

ZENHOME=/usr/local/zenoss
PYTHONPATH=/usr/local/zenoss/lib/python
export $ZENHOME
export $PYTHONPATH

Todd M. Hebert

[EMAIL PROTECTED] wrote:

i edited the rc.local file and put the following in it:
    export ZENHOME=/usr/local/zenoss
    export PYTHONPATH=$ZENHOME/lib/python
    export PATH=$ZENHOME/bin:$PATH
per the instructions


however, when i restarted the machine, and logged in as root
if i type in   $ZENHOME it goes to /bin/

i have to re-type export ZENHOME=/usr/local/zenoss for the path to be correct..

any suggestions ?


_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users


_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to