Today i have have done a clean installation of Nagios XI 2012R 1.8, after applying the setting am getting the error
Code: Select all
Command submitted for processing...
Waiting for configuration verification....................................................
Backend login to the Core Config Manager failed.
An error occurred while attempting to apply your configuration to Nagios Core. Monitoring engine configuration files have been rolled back to their last known good Code: Select all
[root@nagios155 scripts]# tail -f /var/log/httpd/error_log
[Sun May 05 12:14:46 2013] [notice] Digest: generating secret for digest authentication ...
[Sun May 05 12:14:46 2013] [notice] Digest: done
[Sun May 05 12:14:46 2013] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Sun May 05 12:14:46 2013] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Sun May 05 12:15:07 2013] [error] [client 120.62.186.251] PHP Warning: pg_pconnect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused\n\tIs the server running on host "localhost" and accepting\n\tTCP/IP connections on port 5432? in /usr/local/nagiosxi/html/db/adodb/drivers/adodb-postgres64.inc.php on line 682, referer: http://123.176.37.155/nagiosxi/admin/
[Sun May 05 12:15:07 2013] [error] [client 120.62.186.251] PHP Warning: pg_pconnect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused\n\tIs the server running on host "localhost" and accepting\n\tTCP/IP connections on port 5432? in /usr/local/nagiosxi/html/db/adodb/drivers/adodb-postgres64.inc.php on line 682, referer: http://123.176.37.155/nagiosxi/admin/
[Sun May 05 12:15:07 2013] [error] [client 120.62.186.251] PHP Warning: pg_pconnect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused\n\tIs the server running on host "localhost" and accepting\n\tTCP/IP connections on port 5432? in /usr/local/nagiosxi/html/db/adodb/drivers/adodb-postgres64.inc.php on line 682, referer: http://123.176.37.155/nagiosxi/admin/
[Sun May 05 12:15:07 2013] [error] [client 120.62.186.251] PHP Warning: pg_pconnect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused\n\tIs the server running on host "localhost" and accepting\n\tTCP/IP connections on port 5432? in /usr/local/nagiosxi/html/db/adodb/drivers/adodb-postgres64.inc.php on line 682, referer: http://123.176.37.155/nagiosxi/admin/
[Sun May 05 12:15:07 2013] [error] [client 120.62.186.251] PHP Warning: pg_pconnect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused\n\tIs the server running on host "localhost" and accepting\n\tTCP/IP connections on port 5432? in /usr/local/nagiosxi/html/db/adodb/drivers/adodb-postgres64.inc.php on line 682, referer: http://123.176.37.155/nagiosxi/admin/
[Sun May 05 12:15:07 2013] [error] [client 120.62.186.251] PHP Warning: pg_pconnect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused\n\tIs the server running on host "localhost" and accepting\n\tTCP/IP connections on port 5432? in /usr/local/nagiosxi/html/db/adodb/drivers/adodb-postgres64.inc.php on line 682, referer: http://123.176.37.155/nagiosxi/admin/
Code: Select all
[root@nagios155 scripts]# tail -f /usr/local/nagiosxi/var/cmdsubsys.log
.......
PROCESSED 0 COMMANDS
NAGIOSCORE CONFIG...
CMDLINE=cd /usr/local/nagiosxi/scripts && ./reconfigure_nagios.sh
URL: http://localhost/nagiosql/index.php
CMDLINE
nagiosql.login: Permission denied
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=n@gweb' -O nagiosql.loginLOGIN SUCCESSFUL!
NAGIOSQL LOGIN FAILED!
OUTPUT=NAGIOSQL LOGIN FAILED!
RETURNCODE=2
fore or while processing the request.. SQL: SQL Error [nagiosxi] :</b> FATAL: terminating connection due to administrator command
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request. SQL: SQL Error [nagiosxi] :</b> FATAL: terminating connection due to administrator command
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request. SQL: SQL Error [nagiosxi] :</b> FATAL: terminating connection due to administrator command
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.. SQL: SQL Error [nagiosxi] :</b> FATAL: terminating connection due to administrator command
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request. SQL: SQL Error [nagiosxi] :</b> FATAL: terminating connection due to administrator command
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request. SQL: SQL Error [nagiosxi] :</b> FATAL: terminating connection due to administrator command
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.. SQL: SQL Error [nagiosxi] :</b> FATAL: terminating connection due to administrator command
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request. SQL: SQL Error [nagiosxi] :</b> FATAL: terminating connection due to administrator command
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request. SQL: SQL Error [nagiosxi] :</b> FATAL: terminating connection due to administrator command
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.. SQL: SQL Error [nagiosxi] :</b> FATAL: terminating connection due to administrator command
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request. SQL: SQL Error [nagiosxi] :</b> FATAL: terminating connection due to administrator command
server closed the connection unexpectedly
This probably means the server terminated abnormally