You need $ZENHOME/bin in your path:

   $ export ZENHOME=/usr/local/zenoss
   $ export PATH=$PATH:$ZENHOME/bin

You can add ZENHOME to the top $ZENHOME/bin/zenfunctions. You probably want the two statements above in your $HOME/.profile anyhow.

-Eric

[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] ~]# zenoss status
bash: zenoss: command not found
[EMAIL PROTECTED] ~]#

i think that hte EXPORT command in my rc.local is not running corretly..  is 
there another startup script that i can puit the export command into ???


----- Start Original Message -----
Sent: Tue, 29 Aug 2006 16:07:02 -0400
From: Eric Newton <[EMAIL PROTECTED]>
To: General discussion of using zenoss system <[email protected]>
Subject: Re: [zenoss-users] getting the daemons to run after install

Is zenoss running? I see you started zenping, but you probably need to run, or check on all the zenoss servers (there's a whole bunch now):

    $ zenoss status

    $ zenoss start

If anything fails to start, check the logs. The zenoss script is the proper order, so you can start/stop in that order by hand, too.

-Eric

[EMAIL PROTECTED] wrote:
here's a log of everything that i have done and now the error message that i 
get....
-----------------------------------------------------------------------------------------------


Install Base System:  Fedora Core 5

Login as Root.

From Terminal:

 $> yum -y install httpd php mysql mysql-server php-mysql python python-devel
 $> /sbin/chkconfig httpd on
 $> /sbin/chkconfig mysqld on
 $> /sbin/service httpd start
 $> /sbin/service mysqld start

 $> mysqladmin -u root password 'new-password          [Create a Root Password]

 $> mysql -u root -p

 mysql> DROP DATABASE test;                            [removes the test 
database]
 mysql> DELETE FROM mysql.user WHERE user = '';        [Removes anonymous 
access]
 mysql> FLUSH PRIVILEGES;
 mysql> exit

------------------------------------------------------------------------------------
FROM ROOT:

 $> useradd zenoss
 $> vi /etc/rc.local

 ~ Added the following to the file:

    export ZENHOME=/usr/local/zenoss
    export PYTHONPATH=$ZENHOME/lib/python
    export PATH=$ZENHOME/bin:$PATH
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


 $> mkdir /usr/local/zenoss
 $> chown zenoss /usr/local/zenoss

 $> visudo

 ~ Added the following to the file:

zenoss your_hostname = NOPASSWD: /usr/local/zenoss/bin/python,/bin/kill Defaults env_keep += "PYTHONPATH ZENHOME"
 Ran System Updater (YUM) from GUI interface

 Updated all of the software

  Needed to install other packages:

 $> yum install subversion gcc gcc-c++ mysql-devel

RESTART SYSTEM
------------------------------------------------------------------------------------
FROM ZENOSS USER:

from directory /home/zenoss
[EMAIL PROTECTED] ~]$ svn co http://dev.zenoss.org/svn/trunk/inst zenossins

 $> cd zenosinst
 $> ./install.sh

Program Installed
------------------------------------------------------------------------------------

RESTARTED SYSTEM

FROM ROOT:

$> $ZENHOME/bin/zenping start
starting...
$> vim $ZENHOME/etc/zenperfsnmp.conf    [edited file, didn't need any changes]

$> $ZENHOME/bin/zenperfsnmp run
ERROR:zen.zenperfsnmp:Error: Traceback (most recent call last): Failure: 
twisted.internet.error.ConnectionRefusedError: Connection was refused by other 
side: 111: Connection refused.

ERROR:zen.zenperfsnmp:Unable to talk to zenxevents daemon





i'm also posting another message i got right before this message.. about the 
ZENHOME export command.


please help !



--
Eric

~~  AND YES, THERE IS AN ERIC CONSPIRACY !!!!


_______________________________________________
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


----- End Original Message -----
_______________________________________________
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