+ Reply to Thread
Results 1 to 3 of 3

Thread: Kusu 1.1 install MySQL problem

  1. #1
    Henk Meij is offline Junior Member
    Join Date
    April 7th, 2009
    Posts
    17
    Downloads
    2
    Uploads
    0

    Default 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

  2. #2
    Henk Meij is offline Junior Member
    Join Date
    April 7th, 2009
    Posts
    17
    Downloads
    2
    Uploads
    0

    Default

    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

  3. #3
    Henk Meij is offline Junior Member
    Join Date
    April 7th, 2009
    Posts
    17
    Downloads
    2
    Uploads
    0

    Default

    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.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts