Web interface time out

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Web interface time out

Post by abrist »

Looks like selinux may still be an issue. What is the output of:

Code: Select all

getenforce
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
rlevick
Posts: 49
Joined: Tue Jan 07, 2014 4:20 pm

Re: Web interface time out

Post by rlevick »

Enforcing
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Web interface time out

Post by abrist »

Try:

Code: Select all

setenforce 0
gentenforce
You should probably disable selinux in: /etc/selinux/config
Change:

Code: Select all

SELINUX=enforcing
To:

Code: Select all

SELINUX=disabled
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
rlevick
Posts: 49
Joined: Tue Jan 07, 2014 4:20 pm

Re: Web interface time out

Post by rlevick »

same thing after the changes and a reboot; getenforce shows disabled.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Web interface time out

Post by lmiltchev »

Run the following command and show us the output:

Code: Select all

grep nag /etc/group
BTW, you may try to recompile and see if this is going to solve your issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!
rlevick
Posts: 49
Joined: Tue Jan 07, 2014 4:20 pm

Re: Web interface time out

Post by rlevick »

[root@localhost ~]# grep nag /etc/group
nagios:x:501:
nagcmd:x:502:nagios
[root@localhost ~]#
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Web interface time out

Post by slansing »

Please run the following commands:

Code: Select all

usermod -a -G nagcmd apache

Code: Select all

usermod -a -G nagios apache
usermod -a -G nagios nagios
rlevick
Posts: 49
Joined: Tue Jan 07, 2014 4:20 pm

Re: Web interface time out

Post by rlevick »

Still no joy.

I did run these commands again, but it didn't help.
cd nagios-4.0.2
./configure --with-command-group=nagcmd
make all
make install
make install-init
make install-config
make install-commandmode
make install-webconf
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Web interface time out

Post by slansing »

If you use the address to your server in a web browser on the same network, do you get a standard apache splash page?

Can we see the output of this again, just to verify?:

Code: Select all

grep nag /etc/group
rlevick
Posts: 49
Joined: Tue Jan 07, 2014 4:20 pm

Re: Web interface time out

Post by rlevick »

No default splash page.

[root@localhost ~]# grep nag /etc/group
nagios:x:501:apache,nagios
nagcmd:x:502:nagios,apache
[root@localhost ~]#
Locked