Nagios XI(Evaluation) mysql Error
Posted: Thu Jan 20, 2011 6:38 am
Hi,
Thanks For support
While i installing Nagios XI on CentOS i got error in 3rd step(./3-dbservers) the error as follows,
[root@localhost nagiosxi]# ./3-dbservers
Initializing PostgresQL...
./3-dbservers: line 13: service: command not found
Starting PostgresQL...
./3-dbservers: line 17: service: command not found
Restarting PostgresQL...
./3-dbservers: line 23: service: command not found
Starting MySQL...
./3-dbservers: line 31: service: command not found
Setting MySQL root password...
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
MySQL root password set to: nagiosxi
[root@localhost nagiosxi]#
Please help me to sort out this issue at earliest possible
Thanks.
Shabeer
Thanks For support
While i installing Nagios XI on CentOS i got error in 3rd step(./3-dbservers) the error as follows,
[root@localhost nagiosxi]# ./3-dbservers
Initializing PostgresQL...
./3-dbservers: line 13: service: command not found
Starting PostgresQL...
./3-dbservers: line 17: service: command not found
Restarting PostgresQL...
./3-dbservers: line 23: service: command not found
Starting MySQL...
./3-dbservers: line 31: service: command not found
Setting MySQL root password...
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
MySQL root password set to: nagiosxi
[root@localhost nagiosxi]#
Please help me to sort out this issue at earliest possible
Thanks.
Shabeer