Page 1 of 1

Backend login to the Core Config Manager failed.

Posted: Mon May 14, 2012 8:25 am
by pouda
Hello,

I'm not able to apply configuration properly on one of my nagiosxi server and i don't know why..

see in attachment the txt file reconfig.txt and cmd.txt when i applied the configuration

Please help ...
reconfig.txt
cmd.txt
Thx you very much

Re: Backend login to the Core Config Manager failed.

Posted: Mon May 14, 2012 8:34 am
by pouda
it's strange because i've nothing in core config manager and no atuhenticatin is asked
nothing in core.jpg
an authorization isue ?

Re: Backend login to the Core Config Manager failed.

Posted: Mon May 14, 2012 8:46 am
by pouda
i think that there is a authentication problem because when i tried manually to start ./reconfigure_nagios.sh

i've this error message

Code: Select all

[root@hou scripts]# ./reconfigure_nagios.sh 
URL: http://localhost/nagiosql/index.php
CMDLINE
/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=enr43e' -O nagiosql.login--2012-05-14 15:45:34--  http://localhost/nagiosql/index.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [text/html]
Saving to: `nagiosql.login'

    [ <=>                                                                     ] 0           --.-K/s   in 0s      

2012-05-14 15:45:34 (0.00 B/s) - `nagiosql.login' saved [0/0]

NAGIOSQL LOGIN FAILED!

Re: Backend login to the Core Config Manager failed.

Posted: Mon May 14, 2012 9:14 am
by pouda
ok so i found the solution by myself.... once again some packeges were missing

i compared between 2 Nagios XI and i found these differences

php-gd.i386
php-ldap.i386
php-pear-HTML-Template-IT.noarch
php-snmp.i386
php-xml.i386
phpmyadmin.noarch

so i started this command and restarted the server

Code: Select all

yum install php-gd.i386 php-ldap.i386 php-pear-HTML-Template-IT.noarch php-snmp.i386 php-xml.i386 phpmyadmin.noarch
and everything is working fine now ...i can authenticate successfully on Nagios core now

Re: Backend login to the Core Config Manager failed.

Posted: Mon May 14, 2012 9:20 am
by scottwilkerson
Glad you got it figured out.