Waiting for configuration verification....Backend login
Re: Waiting for configuration verification....Backend login
Attached is the output you requested.
You do not have the required permissions to view the files attached to this post.
mvp
Re: Waiting for configuration verification....Backend login
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?
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.
Code: Select all
cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh &> reconfig.txtRe: Waiting for configuration verification....Backend login
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]#
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
please attach the file /usr/local/nagiosxi/scripts/reconfig.txt from the server
Re: Waiting for configuration verification....Backend login
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
Thanks.
Now please send the output of the following command
Now please send the output of the following command
Code: Select all
ls -l /usr/local/nagiosxi/scriptsRe: Waiting for configuration verification....Backend login
[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
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
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
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
Re: Waiting for configuration verification....Backend login
Yatzee!! that was it. I had changed the nagiosxi user to 'inactive'.
I did exactly what you stated & this resolved the problem.
thanks!
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
Excellent. Sometime when changes were made it takes a while for us to decipher what was changed...
Glad you got it working.
Glad you got it working.