-
July 31st, 2009 07:41 PM #1
Kusu 1.1 install MySQL problem
Installed Kusu 1.1 with CenOS 5.3 and all kits. No problems. Then configured my nodes with netedit and ngedit. Then upon starting addhost, i receive an error. Turns out MySQL package was installed, but chkconfig showed 'off' at all run levels. Turned that 'on', then started database. Found sql scripts in /opt/kusu/sql and submitted those, so now i have a kusudb database. Q1: is there anything else that i might be missing database wise?
Next i start addhost, which yields an error stating
ImportError: No module named MySQLdb
File: /opt/kusu/plugins/addhost/10-cacti.py
Q2: must be related to myql not running at install time. How to fix this?
-Henk
-
August 17th, 2009 03:14 PM #2
To answer my own thread here ...
chkconfig mysqld on
adduser mysql
mysql < /opt/kusu/sql/*.sql (but not sample file, add CREATE or USE kusudb; to scritps)
removed cacti from nodesgroups using ngedit
removed kit cacti from repository with repoman
removed kit cacti using kitops
addhost now runs fine, but i'm unclear what plugins i'm missing. must be the mysql driver for cacti. anybody have any ideas?
-Henk
-
September 1st, 2009 04:33 PM #3
blame a bad cdrom drive for this error of mysql/kususdb not properly being installed, however i was to reproduce the cacti error. will start a new post.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules