View previous topic :: View next topic |
Author |
Message |
Guest Guest
|
Posted: Tue Mar 14, 2006 6:45 am Post subject: Installation Error |
|
|
I get the following error when I installation Groundworks
Creating cron tab entries...
DBI connect('database=sv:host=localhost','root',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/local/groundwork/feeder/nagios2db_hostgroupcheck.pl line 76
Can't call method "prepare" on an undefined value at /usr/local/groundwork/feeder/nagios2db_hostgroupcheck.pl line 82.
Update hostgroup/host tables...
DBI connect('database=sv:host=localhost','root',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/local/groundwork/feeder/nagios2db_hostgroupcheck.pl line 76
Can't call method "prepare" on an undefined value at /usr/local/groundwork/feeder/nagios2db_hostgroupcheck.pl line 82. |
|
Back to top |
|
|
Peter_Loh
Joined: 13 Feb 2006 Posts: 29
|
Posted: Wed Mar 15, 2006 6:47 pm Post subject: |
|
|
It is most likely that MySQL didn't get installed properly. When you type "mysql" do you get the mysql prompt? If not, You may have an old MySQL configuration file that is affecting MySQL 5.0 operation. Check to see if you have a file /etc/my.cnf. If so, delete or rename this file. |
|
Back to top |
|
|
|