Fedora 18 with nagios 3.5.0

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.
Locked
User avatar
ruffsense
Posts: 140
Joined: Thu Apr 11, 2013 12:40 am

Fedora 18 with nagios 3.5.0

Post 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.
Last edited by ruffsense on Sat Apr 13, 2013 3:11 pm, edited 1 time in total.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Fedora 18 with nagios 3.5.0

Post by slansing »

Are you having trouble getting root access to the system? Or logging into the nagios web UI?
User avatar
ruffsense
Posts: 140
Joined: Thu Apr 11, 2013 12:40 am

Re: Fedora 18 with nagios 3.5.0

Post by ruffsense »

logging into the nagios Web UI.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Fedora 18 with nagios 3.5.0

Post by abrist »

Lets check the httpd access log:

Code: Select all

tail -25 /var/log/httpd/access_log
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.
User avatar
ruffsense
Posts: 140
Joined: Thu Apr 11, 2013 12:40 am

Re: Fedora 18 with nagios 3.5.0

Post by ruffsense »

I deleted Fedora and installed centos6.4 and there everything works fine.

thnx
kpulford
Posts: 2
Joined: Thu May 09, 2013 10:57 am

Re: Fedora 18 with nagios 3.5.0

Post 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
kpulford
Posts: 2
Joined: Thu May 09, 2013 10:57 am

Re: Fedora 18 with nagios 3.5.0

Post 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. :-)
Locked