Problem with logon after upgrade to v5.3.1
-
Ivica Mustapic
- Posts: 31
- Joined: Thu Jun 13, 2013 1:06 am
Problem with logon after upgrade to v5.3.1
Guys,
After upgrading our TEST environment from v5.2.9 to v5.3.1, we have problems logging into Nagios system.
Upon supplying username and password and clicking on Login button, screen goes blank.
Could not see any errors in nagios.log or httpd/error_log.
What would be the best way to troubleshoot this issue?
We are running CentOS release 6.8.
System is up to date and there are no unresolved dependencies.
Cheers,
Ivica
After upgrading our TEST environment from v5.2.9 to v5.3.1, we have problems logging into Nagios system.
Upon supplying username and password and clicking on Login button, screen goes blank.
Could not see any errors in nagios.log or httpd/error_log.
What would be the best way to troubleshoot this issue?
We are running CentOS release 6.8.
System is up to date and there are no unresolved dependencies.
Cheers,
Ivica
Re: Problem with logon after upgrade to v5.3.1
Tried upgrading directly to 5.3.2?
I did this without any problems, and I'm using local and LDAP (SSL) login methods.
The first login was kinda hard, and the login page took a long time to load, but it eventually worked.
The only weird thing is that the upgrade log stops at the "CD ordering joke" but in fact it keeps going for a while.
I did this without any problems, and I'm using local and LDAP (SSL) login methods.
The first login was kinda hard, and the login page took a long time to load, but it eventually worked.
The only weird thing is that the upgrade log stops at the "CD ordering joke" but in fact it keeps going for a while.
Re: Problem with logon after upgrade to v5.3.1
Besides updating to 5.3.2, which is probably not the real issue - we didn't see any login issues from what I know. Although it's possible that your upgrade did not complete fully.
Couple questions that might help us track this down:
Did your upgrade finish successfully they first time? If not, do you have your upgrade.log?
What type of user were you trying to log in with? Local or AD/LDAP?
Were you using the ?redirect=<url> functionality on login?
Was the page fully stopped or was it loading extremely slow?
Can you try logging in using Chrome's incognito mode?
Couple questions that might help us track this down:
Did your upgrade finish successfully they first time? If not, do you have your upgrade.log?
What type of user were you trying to log in with? Local or AD/LDAP?
Were you using the ?redirect=<url> functionality on login?
Was the page fully stopped or was it loading extremely slow?
Can you try logging in using Chrome's incognito mode?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
Ivica Mustapic
- Posts: 31
- Joined: Thu Jun 13, 2013 1:06 am
Re: Problem with logon after upgrade to v5.3.1
Just did the upgrade to v5.3.2 but the login issue is still there.
Here are my answers to your questions:
> Did your upgrade finish successfully they first time? If not, do you have your upgrade.log?
* Upgrade completed without any errors (that I could see).
* Upgrade logs are attached.
> What type of user were you trying to log in with? Local or AD/LDAP?
* Local account was used to login (nagiosadmin) first but after that I have tried with LDAP logon as well..
> Were you using the ?redirect=<url> functionality on login?
* As far as I know, redirect is not in use, this is standard Nagios install.
> Was the page fully stopped or was it loading extremely slow?
* Page comes back very fast, empty...
>Can you try logging in using Chrome's incognito mode?
Yep, Chrome's incognito mode has generated the following error in httpd/error_log file:
[Thu Nov 03 10:22:34 2016] [error] [client 10.8.20.41] PHP Notice: Undefined index: user_id in /usr/local/nagiosxi/html/includes/utils-users.inc.php on line 223, referer: http://vsmurprdnag02/nagiosxi/login.php
Thanks for you help..
Here are my answers to your questions:
> Did your upgrade finish successfully they first time? If not, do you have your upgrade.log?
* Upgrade completed without any errors (that I could see).
* Upgrade logs are attached.
> What type of user were you trying to log in with? Local or AD/LDAP?
* Local account was used to login (nagiosadmin) first but after that I have tried with LDAP logon as well..
> Were you using the ?redirect=<url> functionality on login?
* As far as I know, redirect is not in use, this is standard Nagios install.
> Was the page fully stopped or was it loading extremely slow?
* Page comes back very fast, empty...
>Can you try logging in using Chrome's incognito mode?
Yep, Chrome's incognito mode has generated the following error in httpd/error_log file:
[Thu Nov 03 10:22:34 2016] [error] [client 10.8.20.41] PHP Notice: Undefined index: user_id in /usr/local/nagiosxi/html/includes/utils-users.inc.php on line 223, referer: http://vsmurprdnag02/nagiosxi/login.php
Thanks for you help..
You do not have the required permissions to view the files attached to this post.
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Problem with logon after upgrade to v5.3.1
XI > Admin > System Profile > Download Profile
Please include the zip file in your response. You can PM myself or other support personnel if you have privacy concerns.
Please include the zip file in your response. You can PM myself or other support personnel if you have privacy concerns.
Previous Nagios employee
-
Ivica Mustapic
- Posts: 31
- Joined: Thu Jun 13, 2013 1:06 am
Re: Problem with logon after upgrade to v5.3.1
Thanks for your help..
Last edited by Ivica Mustapic on Thu Nov 03, 2016 8:04 pm, edited 1 time in total.
-
Ivica Mustapic
- Posts: 31
- Joined: Thu Jun 13, 2013 1:06 am
Re: Problem with logon after upgrade to v5.3.1
If you are requesting "Download Profile" information, please note that I can not log into the system.
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Problem with logon after upgrade to v5.3.1
Please upload /etc/httpd/conf.d/nagiosxi.conf, /etc/httpd/conf.d/ssl.conf, /var/log/mariadb/mariadb.logand /var/log/httpd/*_log.
Are you able to access Core eg http://vsmurprdnag02/nagios/?
Are you able to access Core eg http://vsmurprdnag02/nagios/?
Previous Nagios employee
-
Ivica Mustapic
- Posts: 31
- Joined: Thu Jun 13, 2013 1:06 am
Re: Problem with logon after upgrade to v5.3.1
Guys,
Web access to Nagios core works fine.
I have attached requested log files.
Please note that mysql is installed (not mariadb) as a part of the standard Nagios install some 5 years ago.
Cheers,
Ivica
Web access to Nagios core works fine.
I have attached requested log files.
Please note that mysql is installed (not mariadb) as a part of the standard Nagios install some 5 years ago.
Cheers,
Ivica
You do not have the required permissions to view the files attached to this post.
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Problem with logon after upgrade to v5.3.1
The only signficant difference I saw from a default install is a slightly altered from standard nagiosxi.conf. This is what I have:
Can you add Require all granted to yours and restart apache? Please report the result.
Code: Select all
<Directory "/usr/local/nagiosxi/html">
# SSLRequireSSL
Options None
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
# AuthName "Nagios XI"
# AuthType Basic
# AuthUserFile /usr/local/nagiosxi/etc/htpasswd.users
# Require valid-user
Require all granted
</Directory>
Alias /nagiosxi "/usr/local/nagiosxi/html"
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule nagiosxi/api/v1/(.*)$ /usr/local/nagiosxi/html/api/v1/index.php?request=$1 [QSA,NC,L]
</IfModule>Previous Nagios employee