Foolishly using 'shutdown -h now' to close my Zenoss host machine, I think I have corrupted the MySQL database. When attemping to start MySql I get the following error:

MySql is running but PID file cannot be found

As this is a test installation of Zenoss, it would be easier to just reinstall Zenoss.

Does anyone know the steps to do this. From the various topic's on this subject, the procedure to do this appears to be unclear.

To reinstall Zenoss you can simply remove the RPM and reinstall it. Of course you will need to fix your MySQL database before this will do any good.

Once you've fixed the MySQL database it would probably be easier just to load the Zenoss schema back in. You can do this with the following commands.

mysql -u root < $ZENHOME/Products/ZenEvents/db/zenevents.sql
mysql -u root < $ZENHOME/Products/ZenEvents/db/zenprocs.sql

Chet Luther
Client Services Engineer
[EMAIL PROTECTED]
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to