Fedora 18 with nagios 3.5.0

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Fedora 18 with nagios 3.5.0

Postby ruffsense » Thu Apr 11, 2013 12:44 am

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

Re: Fedora 18 with nagios 3.5.0

Postby slansing » Thu Apr 11, 2013 4:08 pm

Are you having trouble getting root access to the system? Or logging into the nagios web UI?
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

Postby ruffsense » Fri Apr 12, 2013 12:24 am

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

Postby abrist » Fri Apr 12, 2013 5:01 pm

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.
abrist
Red Shirt
 
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Fedora 18 with nagios 3.5.0

Postby ruffsense » Sat Apr 13, 2013 3:10 pm

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

thnx
User avatar
ruffsense
 
Posts: 140
Joined: Thu Apr 11, 2013 12:40 am

Re: Fedora 18 with nagios 3.5.0

Postby kpulford » Thu May 09, 2013 11:03 am

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

Postby kpulford » Thu May 09, 2013 11:35 am

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


Return to Community Support

Who is online

Users browsing this forum: Google [Bot] and 11 guests