[zenoss-users] 2.2 Fresh RPM Install on CentOS 5.2 Failing MySQL Init

James Pulver jmp242 at mail.lepp.cornell.edu
Wed Jul 16 11:20:25 EDT 2008


Basically you have to set the root password in MySQL to blank during the 
install. Then you can reset it back to a strong password once done with 
the install. (unless you install from source)
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University



jasondubya wrote:
> I just built a CentOS 5.2 server to test Zenoss as a replacement for Nagios.  Following the installation instructions linked below, I used yum to install the prerequisites then installed Zenoss and attempted to start it.  The one step I took that was not covered in the install docs was setting the MySQL root password, as this just seemed like a smart step to take.  Unfortunately, when I attempt to start Zenoss, it appears to fail because it cannot connect to MySQL.  As well, I am seeing a couple of missing files.
> 
> Has anyone else seen these issues?  Is there a place where I can configure the MySQL root password prior to initialization?
> 
> Installation Document:
> http://www.zenoss.com/community/docs/install-guides/install-on-el5/
> 
> Startup/Initialization Output:
> 
> Code:
> # service zenoss start
> Zenoss not initialized.  Performing first-boot initialization...
> Stopping snmpd:                                            [  OK  ]
> Starting snmpd:                                            [  OK  ]
> Stopping MySQL:                                            [  OK  ]
> Starting MySQL:                                            [  OK  ]
> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
> ERROR 1045 (28000): Access denied for user 'zenoss'@'localhost' (using password: YES)
> mysql install, user or password is incorrect
> Zenoss initialization complete.
> Daemon: zeoctl /opt/zenoss/bin/zenoss: line 100: /opt/zenoss/bin/zeoctl: No such file or directory
> Daemon: zopectl /opt/zenoss/bin/zenoss: line 100: /opt/zenoss/bin/zopectl: No such file or directory
> Daemon: zenhub starting...
> Daemon: zenping starting...
> Daemon: zensyslog starting...
> Daemon: zenstatus starting...
> Daemon: zenactions starting...
> Daemon: zentrap starting...
> Daemon: zenmodeler starting...
> Daemon: zenperfsnmp starting...
> Daemon: zencommand starting...
> Daemon: zenprocess starting...
> Daemon: zenwin starting...
> Daemon: zeneventlog starting...
> --14:37:54--  http://localhost:8080/zport/dmd/DeviceLoader/loadDevice?deviceName=localhost&devicePath=/Server/Linux
> Resolving localhost... 127.0.0.1
> Connecting to localhost|127.0.0.1|:8080... failed: Connection refused.
> 
> 
> 
> 
> Thank you
> 
> 
> 
> 
> -------------------- m2f --------------------
> 
> Read this topic online here:
> http://community.zenoss.com/forums/viewtopic.php?p=22535#22535
> 
> -------------------- m2f --------------------
> 
> 
> 
> _______________________________________________
> zenoss-users mailing list
> zenoss-users at zenoss.org
> http://lists.zenoss.org/mailman/listinfo/zenoss-users


More information about the zenoss-users mailing list