Page 1 of 1

Fedora 18 with nagios 3.5.0

Posted: Thu Apr 11, 2013 12:44 am
by ruffsense
When i install nagios 3.5.0 on the fedora machine. It locks me out. I get the prompt for login in and still i can't get in.
I changed the passwd for nagiosadmin and still no luck. Can someone please point me out what the problem is.

Is this a fedora 18 problem are a Apache problem.

Re: Fedora 18 with nagios 3.5.0

Posted: Thu Apr 11, 2013 4:08 pm
by slansing
Are you having trouble getting root access to the system? Or logging into the nagios web UI?

Re: Fedora 18 with nagios 3.5.0

Posted: Fri Apr 12, 2013 12:24 am
by ruffsense
logging into the nagios Web UI.

Re: Fedora 18 with nagios 3.5.0

Posted: Fri Apr 12, 2013 5:01 pm
by abrist
Lets check the httpd access log:

Code: Select all

tail -25 /var/log/httpd/access_log

Re: Fedora 18 with nagios 3.5.0

Posted: Sat Apr 13, 2013 3:10 pm
by ruffsense
I deleted Fedora and installed centos6.4 and there everything works fine.

thnx

Re: Fedora 18 with nagios 3.5.0

Posted: Thu May 09, 2013 11:03 am
by kpulford
I am struggling with I think the same problem. I actually dropped back to the previous version of Nagios as well. But I still perpetually get a login failure at the nagios web page.

Here is my tail of httpd access log for the most recent attempt.
10.131.10.128 - - [09/May/2013:09:59:42 -0600] "GET /nagios HTTP/1.1" 401 381 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/6.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729)"
10.131.10.128 - nagiosadmin [09/May/2013:09:59:42 -0600] "GET /nagios HTTP/1.1" 401 381 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/6.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729)"
10.131.10.128 - nagiosadmin [09/May/2013:09:59:45 -0600] "GET /nagios HTTP/1.1" 401 381 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/6.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729)"

I have installed an older verison on a much older version of Fedora and had no problems. I assume this issue is related to the apache config, but I am lost on what to do for that.

Any help is appreciated.

Kevin

Re: Fedora 18 with nagios 3.5.0

Posted: Thu May 09, 2013 11:35 am
by kpulford
Okay I think I ran across the issue. I was researching further and found a bug in the htpasswd program that wrote the wrong hash. I have converted to .htdigest and this has solved the problem.

I used the following link to help me get the configuration working.
http://sharadchhetri.com/2013/03/07/how ... os-server/

I am pretty new to Linux and wasn't comfortable modifying the htpasswd.c file and recompiling it. Which was another suggestion. :-)