Waiting for configuration verification....Backend login

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
mvp
Posts: 26
Joined: Tue Jul 26, 2011 8:57 am
Location: USA - PA

Re: Waiting for configuration verification....Backend login

Post by mvp »

Attached is the output you requested.
You do not have the required permissions to view the files attached to this post.
mvp
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Waiting for configuration verification....Backend login

Post by mguthrie »

Ok, so we're still missing the output that we need to troubleshoot this. Can you please re-run the following commands exactly as they are below and post the reconfig.txt file that is created from it?

Code: Select all

cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh &> reconfig.txt
The nagiosxi user is not able to log into the Core Config Manager to apply new changes, we need to identify if it's a connection issue, or if that user's credentials have been changed.
User avatar
mvp
Posts: 26
Joined: Tue Jul 26, 2011 8:57 am
Location: USA - PA

Re: Waiting for configuration verification....Backend login

Post by mvp »

here is the output:

URL: http://localhost/nagiosql/index.php
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://lop
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://localhost/nagiosql/index.php [following]
--2012-07-10 10:27:09-- http://localhost/nagiosql/index.php
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5259 (5.1K) [text/html]
Saving to: ânagiosql.loginâ

0K ..... 100% 625M=0s

2012-07-10 10:27:09 (625 MB/s) - ânagiosql.loginâsaved [5259/5259]

NAGIOSQL LOGIN FAILED!
You have mail in /var/spool/mail/root
[root@nagoisxi scripts]#
mvp
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Waiting for configuration verification....Backend login

Post by scottwilkerson »

please attach the file /usr/local/nagiosxi/scripts/reconfig.txt from the server
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
mvp
Posts: 26
Joined: Tue Jul 26, 2011 8:57 am
Location: USA - PA

Re: Waiting for configuration verification....Backend login

Post by mvp »

file attached:
You do not have the required permissions to view the files attached to this post.
mvp
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Waiting for configuration verification....Backend login

Post by scottwilkerson »

Thanks.

Now please send the output of the following command

Code: Select all

ls -l /usr/local/nagiosxi/scripts
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
mvp
Posts: 26
Joined: Tue Jul 26, 2011 8:57 am
Location: USA - PA

Re: Waiting for configuration verification....Backend login

Post by mvp »

[root@nagoisxi scripts]# ls -l /usr/local/nagiosxi/scripts
total 1268
-rwxr-xr-x. 1 nagios nagios 2757 Jun 30 16:45 backup_xi.sh
-rw-r----- 1 nagios nagios 142 Jun 30 13:01 cmd.txt
-rwxr-xr-x. 1 nagios nagios 649 Jun 30 16:45 export_nagiosql.sh
-rwxr-xr-x. 1 nagios nagios 1017 Oct 31 2011 fixperms.sh
-rwxr-xr-x. 1 nagios nagios 821 Jun 30 16:45 handle_nagioscore_event.php
-rwxr-xr-x. 1 nagios nagios 829 Jun 30 16:45 handle_nagioscore_notification.pp
-rwxr-xr-x. 1 nagios nagios 429 Jun 30 16:45 import_nagiosql.sh
-rwxr-xr-x. 1 nagios nagios 149 Jun 30 16:45 kill_rrdtool.sh
-rw-r--r--. 1 nagios nagios 153 Jul 10 10:27 nagiosql.cookies
-rwxr-xr-x. 1 nagios nagios 253324 Jun 30 16:45 nagiosql_defaults.sql
-rw-r----- 1 nagios nagios 13329 Jun 12 07:32 nagiosql.delete.contact
-rwxr-xr-x. 1 nagios nagios 970 Jun 30 16:45 nagiosql_delete_contact.php
-rwxr-xr-x. 1 nagios nagios 2010 Jun 30 16:45 nagiosql_delete_host.php
-rwxr-xr-x. 1 nagios nagios 505 Jun 30 16:45 nagiosql_delete_object.sh
-rw-r----- 1 nagios nagios 44018 Jun 25 11:47 nagiosql.delete.service
-rwxr-xr-x. 1 nagios nagios 3118 Jun 30 16:45 nagiosql_delete_service.php
-rw-r----- 1 nagios nagios 17802 Jun 12 07:32 nagiosql.delete.timeperiod
-rwxr-xr-x. 1 nagios nagios 993 Jun 30 16:45 nagiosql_delete_timeperiod.php
-rw-r--r--. 1 nagios nagios 7400 Jun 25 13:28 nagiosql.export.additional
-rwxr-xr-x. 1 nagios nagios 1637 Jun 30 16:45 nagiosql_exportall.php
-rw-r--r--. 1 nagios nagios 7096 Jun 25 13:28 nagiosql.export.monitoring
-rwxr-xr-x. 1 root nagios 1323 Jun 30 16:45 nagiosql_importall.php
-rw-r--r--. 1 nagios nagios 762741 Jun 25 12:34 nagiosql.import.monitoring
-rw-r--r--. 1 nagios nagios 5259 Jul 10 10:27 nagiosql.login
-rwxr-xr-x. 1 nagios nagios 1847 Jun 30 16:45 nagiosql_login.php
-rwxr-xr-x. 1 nagios nagios 258 Jun 30 16:45 nagiosql_trim_backups.sh
-rwxr-xr-x. 1 nagios nagios 515 Jun 30 16:45 nom_create_nagioscore_checkpointh
-rwxr-xr-x. 1 nagios nagios 717 Jun 30 16:45 nom_create_nagioscore_checkpointh
-rwxr-xr-x. 1 nagios nagios 632 Jun 30 16:45 nom_create_nagioscore_errorpointh
-rwxr-xr-x. 1 nagios nagios 784 Jun 30 16:45 nom_restore_nagioscore_checkpoinh
-rw-r----- 1 nagios nagios 757 Jun 30 16:45 nom_restore_nagioscore_checkpoinh
-rwxr-xr-x. 1 nagios nagios 2104 Jun 30 16:45 nom_trim_nagioscore_checkpoints.h
-rwxr-xr-x. 1 nagios nagios 4271 Jun 30 16:45 parse_core_eventlog.php
-rwxr-xr-x. 1 nagios nagios 6074 Jun 30 16:45 patch_ndoutils.php
-rw-r----- 1 nagios nagios 906 Jul 10 10:27 reconfig.txt
-rwxr-xr-x. 1 nagios nagios 597 Jun 30 16:45 reconfigure_nagios.sh
-rwxr-xr-x. 1 nagios nagios 1037 Jun 30 16:45 repairmysql.sh
-rwsr-xr-x. 1 root nagios 4972 Jun 30 16:45 reset_config_perms
-rwxr-xr-x. 1 nagios nagios 280 Jun 30 16:45 reset_config_perms.c
-rwsr-xr-x. 1 root nagios 691 Jun 30 16:45 reset_config_perms.sh
-rwxr-xr-x. 1 nagios nagios 1155 Jun 30 16:45 reset_nagiosadmin_password.php
-rwxr-xr-x. 1 nagios nagios 944 Jun 30 16:45 restart_nagios_with_export.sh
-rwxr-xr-x. 1 nagios nagios 765 Jun 30 16:45 restore_defaults.sh
-rwxr-xr-x. 1 nagios nagios 4010 Jun 30 16:45 restore_xi.sh
-rw-r----- 1 nagios nagios 1826 Jun 30 16:45 send_to_auditlog.php
-rw-r----- 1 nagios nagios 3039 Jun 30 16:45 uninstall_xi.sh
You have mail in /var/spool/mail/root
mvp
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Waiting for configuration verification....Backend login

Post by scottwilkerson »

I think you may need to verify that you didn't somehow delete the nagiosxi user didn't get deleted out of the core config manager

Go to
Configure -> CCM -> Config Manager Admin -> Manage Config Access

Make sure you have a user named nagiosxi and that the user is active.


Additionally, I would attempt again to change the backend password by going to
Admin -> Reset Security Credentials
Enter new password in "New Config Manager Admin Password:"
Click Update Credentials
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
mvp
Posts: 26
Joined: Tue Jul 26, 2011 8:57 am
Location: USA - PA

Re: Waiting for configuration verification....Backend login

Post by mvp »

Yatzee!! that was it. I had changed the nagiosxi user to 'inactive'.

I did exactly what you stated & this resolved the problem.

thanks!
mvp
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Waiting for configuration verification....Backend login

Post by scottwilkerson »

Excellent. Sometime when changes were made it takes a while for us to decipher what was changed...

Glad you got it working.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked