LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2012, 07:43 AM   #1
laks
Member
 
Registered: Feb 2012
Posts: 34

Rep: Reputation: Disabled
Help in Nagios


Hello,

I am facing an issue while accessing nagios via webinterface. I have apache and nagios installed on my suse linux server and when I give http://localhost/nagios, it is giving http 403, forbidden. And apache log says "attemt to invoke directory as script" /usr/local/nagios/share. I have set permissions for all folders right. Could anyone please help me in figuring out what is going wrong.

Regards,
 
Old 02-22-2012, 06:11 PM   #2
polinux
Member
 
Registered: Jun 2011
Location: Reading UK
Distribution: OpenSUSE, CenOS
Posts: 46

Rep: Reputation: 3
Do u have user nagios in the system

Run
Code:
cat /etc/passwd | grep nagios
And 

service apache2 status

service nagios status

Last edited by polinux; 02-22-2012 at 06:12 PM. Reason: More info
 
Old 02-22-2012, 10:32 PM   #3
laks
Member
 
Registered: Feb 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Thanks, Cat /etc/passwd | grep nagios and service nagios status showed valid output, but service apache2 status said'no service apache2'. Is that the reason for my webinterface not working? But when I give ps -aef | grep apache2, I am getting httpd processes running.
 
Old 02-23-2012, 04:01 AM   #4
polinux
Member
 
Registered: Jun 2011
Location: Reading UK
Distribution: OpenSUSE, CenOS
Posts: 46

Rep: Reputation: 3
What version of SuSE you have?

11.4 > or lover?


in terminal :

yast
go to Seystem/ Runlevels
and check if Apache is running there and on what levels (Choose Advance).

Its strange as apache should be running.

Anyway... Can you access the http://localhost ??

Try
service httpd status

--------------
How about firewall??
is port :80 open?

Last edited by polinux; 02-23-2012 at 04:02 AM. Reason: Another thought
 
Old 02-23-2012, 10:52 PM   #5
laks
Member
 
Registered: Feb 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Service httpd status was showing no service httpd. I uninstalled and then installed apache2 and that solved the problem. Something went wrong in my first apache installation. Thanks all for your tips on troubleshooting this issue.
 
Old 02-24-2012, 03:36 AM   #6
polinux
Member
 
Registered: Jun 2011
Location: Reading UK
Distribution: OpenSUSE, CenOS
Posts: 46

Rep: Reputation: 3
Quote:
Originally Posted by laks View Post
Service httpd status was showing no service httpd. I uninstalled and then installed apache2 and that solved the problem. Something went wrong in my first apache installation. Thanks all for your tips on troubleshooting this issue.
Thats good. :

If you will need help with Nagios feel free to ask.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Nagios and Oreon (Nagios web front end) installation and Configuration LXer Syndicated Linux News 1 05-31-2016 08:26 AM
Nagios 3.1.2 + RHEL 5.3 You don't have permission to access /nagios/ on this server psix Linux - Server 13 08-04-2015 03:25 AM
ould not create external command file '/usr/local/nagios/var/rw/nagios.cmd gerard.zapata Linux - Newbie 2 09-14-2012 02:57 PM
LXer: April Nagios Training Dates Include Advanced Nagios Class LXer Syndicated Linux News 0 03-18-2011 10:30 AM
LXer: Nagios 2.5 and Oreon 1.3 (Nagios web front end) installation with screenshots LXer Syndicated Linux News 0 08-11-2006 06:33 PM


All times are GMT -5. The time now is 02:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration