Problem after upgrade to 1.4

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
gtolson
Posts: 11
Joined: Mon Jun 01, 2015 3:33 pm

Problem after upgrade to 1.4

Post by gtolson »

Hi All,

I had upgraded to NLS 1.4 on our 2 node cluster, which seemed to go smoothly no errors that I could see. After the upgrade I can get the NLS login page and log in but right after login, I get a 404 error "The requested URL /nagioslogserver/login was not found on this server" .

I did find that I was low on disk space (using 87%) and the indexes on both servers remained in the yellow state. I have resolved that issue by extending the LVM and now all the indexes show green when I run

Code: Select all

curl 'localhost:9200/_cluster/health?level=indices&pretty'
After resolving the disk issue I still had the 404 after login, I also tried re-running the upgrade and that did not help either... I am not sure where to go from here, I would appreciate any help anyone can provide...

Thanks,

gtolson
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Problem after upgrade to 1.4

Post by jolson »

Please check out the conf.d directory and check your configuration files - when were they last modified?

Code: Select all

ls -l /etc/httpd/conf.d
I'm specifically interested in the last modification time of nagioslogserver.conf and ssl.conf.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
gtolson
Posts: 11
Joined: Mon Jun 01, 2015 3:33 pm

Re: Problem after upgrade to 1.4

Post by gtolson »

Thank you for the reply!!! looks like the nagioslogserver.conf was modified yesterday... below is the ls

Code: Select all

[root@MCGCNLOG1 httpd]# ls -l conf.d/
total 36
-rw-r--r--. 1 root root 2893 Aug 24 13:11 autoindex.conf
-rw-r--r--  1 root root  486 Jan  5 16:44 nagioslogserver.conf
-rw-r--r--. 1 root root  691 Jun 23  2015 php.conf
-rw-r--r--. 1 root root  366 Aug 24 13:12 README
-rw-r--r--  1 root root 9535 Aug 31 11:39 ssl.conf
-rw-r--r--. 1 root root 1252 Aug 24 12:55 userdir.conf
-rw-r--r--. 1 root root  824 Aug 24 12:55 welcome.conf
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Problem after upgrade to 1.4

Post by hsmith »

Can you please post the contents of the nagioslogserver.conf for review?
Former Nagios Employee.
me.
gtolson
Posts: 11
Joined: Mon Jun 01, 2015 3:33 pm

Re: Problem after upgrade to 1.4

Post by gtolson »

Here you are... I just found that I can access things when i only use http... https I get the 404 after login...

Code: Select all

<Directory "/var/www/html/nagioslogserver/www/">
#  SSLRequireSSL
   Options FollowSymLinks
   AllowOverride None
   Order allow,deny
   Allow from all
</Directory>

RewriteEngine on
RewriteCond $1 !^(index\.php|scripts|media|app|js|css|img|font|vendor|config.js)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule nagioslogserver/(.*)$ /var/www/html/nagioslogserver/www/index.php/$1 [L,QSA]
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Problem after upgrade to 1.4

Post by hsmith »

Can you please send in a ticket and reference this forum thread inside of it? I would like for us to do a remote session to take a look at this if that works for you. If you do not have the support email address, it is [email protected].

Thanks!
Former Nagios Employee.
me.
gtolson
Posts: 11
Joined: Mon Jun 01, 2015 3:33 pm

Re: Problem after upgrade to 1.4

Post by gtolson »

Hi,

Sorry for the dumb question in advance :), Is there a ticketing system or did you just want me to send a email to the address you provided referencing this post...
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Problem after upgrade to 1.4

Post by hsmith »

Go ahead and send an email to that address. We have a ticketing system on our end, but all you need to do is email us :)
Former Nagios Employee.
me.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Problem after upgrade to 1.4

Post by hsmith »

Ticket has been received. I will be closing this thread and resuming communication there.
Former Nagios Employee.
me.
Locked