All,
I did as Josh suggested and it seems to be working fine for me. The
tables in the database were created successfully, the services start
fine using "./zenoss start".
The only thing i find a little buggy is that if i did a "./zenoss stop",
it says all the daemons are stopped, but if i do a "ps -ef | grep
python" in a non-predictable format, some daemons are still running and
i have to do a manual "pkill python" in order to fully stop the
processes. If i dont, if i try to do a "./zenoss start" with those
random daemons still running, the "About" link will show unpredictable
results and i can not start a stopped daemon for more than 10 seconds
before it kills itself.
So when i go to create an init script, i will just have a case statement
with a "pkill python" as the stop statement and the
"/opt/zenoss/bin/zenoss" as the start statement.
To answer your question Christopher Blunck, I am now currently
installing Zenoss on my test box which is running RHEL 3 which had
net-snmp-perl installed using the source code for Net::SNMP pulled down
from NET::SNMP's website.
Thanks,
Daniel
P.S. I cant wait to start playing with this system... :)
Baird, Josh wrote:
If you are sure that you have a correct perl-net-snmp installation,
you can try adding the --nodeps switch to your RPM line:
Rpm --Uvh zenoss-1.0.2-0.i386.rpm ---nodeps
Josh
------------------------------------------------------------------------
*From:* [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] *On Behalf Of *Daniel McKinney
*Sent:* Monday, December 18, 2006 4:25 PM
*To:* General discussion of using zenoss system
*Subject:* Re: [zenoss-users] Only certain daemons running on install
John,
Ok, Stupid question. I am trying attempt number 2 for trying to
install it from rpm like you have. Each time i try to install it from
rpm, even using the "--force" option i get this:
[EMAIL PROTECTED] zenoss]# rpm -i --force zenoss-1.0.2-0.i386.rpm
error: Failed dependencies:
perl(Net::SNMP) is needed by zenoss-1.0.2-0.i386
I know that perl net_snmp is installed because of the output of the
following command:
[EMAIL PROTECTED] zenoss]# rpm -qai | awk '{if ( $1 == "Name" ) printf
"%-30s", $3; if ( $1 == "Version" ) print $3 }' | grep net-snmp-perl
net-snmp-perl 5.1.2
Is the rpm looking for the perl(Net::SNMP) files in a place where they
are not installed? And if so, is there a way to point the rpm to
where these files live?
-Daniel
John Gardner wrote:
Daniel McKinney wrote:
John,
mysql> use events;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> show tables;
+------------------+
| Tables_in_events |
+------------------+
| alert_state |
| detail |
| heartbeat |
| history |
| log |
| status |
+------------------+
6 rows in set (0.00 sec)
(Up until this morning when i set the mysql root user's password to
null, it would only create the "status" and "history" tables.)
mysql> select User,Host,Password from mysql.user;
+--------+-----------+-------------------------------------------+
| User | Host | Password |
+--------+-----------+-------------------------------------------+
| root | localhost | |
| root | netcool1 | |
| | netcool1 | |
| | localhost | |
| zenoss | localhost | *3715D7F2B0C1D26D72357829DF94B81731174B8C |
+--------+-----------+-------------------------------------------+
5 rows in set (0.00 sec)
It looks like after the install, the user, database and proper tables
were created and i am no longer getting the "Lost Connection to Zenoss"
red text on the web GUI.
So John, after your last install, everything is working for you now?
Including your zensyslog and zentrap?
Can you start/stop zenoss using the web gui and the "./zenoss stop"
"./zenoss start" and the "./zenoss status" and your "About" link on the
web GUI are all happy?
Thanks,
-Daniel
P.S. What steps did you take to un-install zenoss? Did you just wipe
the /opt/zenoss directory and do a "make clean" in your install directory?
Everything seems to be running for me now, I've pointed it at a number
of servers and the SNMP details have started populating Zenoss successfully.
I've tried /etc/rc.d/init.d/zenoss status, stop and start and can view
the About page all of which are showing 'Up'.
I was using the rpm package, not built from source, so all I did was
un-install the package and delete the /opt/zenoss/ directory.
John
------------------------------------------------------------------------
_______________________________________________
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