LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-27-2012, 03:48 PM   #1
kimaaa
LQ Newbie
 
Registered: Jan 2012
Posts: 2

Rep: Reputation: Disabled
icinga / nagios problem - Internal server error


Hello,

Ive problem with icinga (same with nagios, it had the same error at first so i tried to install icinga but here is the result. It gives the same erros 'Internal server error'). So i think it had to do with a setting on the server. I think it is the CGI what is not working.. Or something with the suexec..

Because it loads the left menu but not the main menu.
Screenshot frontend error:
http://imageshack.us/f/38/icinga.png/


ive installed it on a linux centos5 machiene and it runs ok because i get notice emails of excecive load from icinga.

Ive installed like:
http://fossies.org/unix/misc/icinga-...rt-icinga.html
And had no problems at all.

To make the frontend work ive added this in the httpd.conf:
"# icinga
ScriptAlias /icinga/cgi-bin /usr/local/icinga/sbin

<Directory "/usr/local/icinga/sbin">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName "Icinga Access"
AuthType Basic
AuthUserFile /usr/local/icinga/etc/htpasswd.users
Require valid-user
</Directory>

Alias /icinga /usr/local/icinga/share

<Directory "/usr/local/icinga/share">
Options None
AllowOverride None
Order allow,deny
Allow from all
AuthName "Icinga Access"
AuthType Basic
AuthUserFile /usr/local/icinga/etc/htpasswd.users
Require valid-user
</Directory>
#"


in the acces_log:
"127.0.0.1 - - [27/Jan/2012:15:24:12 +0100] "GET / HTTP/1.0" 200 317"

in the suexec_log is this:
"[2012-01-27 22:15:24]: uid: (501/admin) gid: (502/admin) cmd: tac.cgi
[2012-01-27 22:15:24]: directory is writable by others: (/usr/local/icinga/sbin)"

And there are no errors reported in the error_log.

This can maybe be the problem.. but does anyone know how to fix this? Ive searched all over the internet but it couldn't find it.

I hope some can help me further..

greets
 
Old 01-30-2012, 11:35 AM   #2
kimaaa
LQ Newbie
 
Registered: Jan 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Can someone give me a clue? Or a hint where to begin?
 
Old 12-20-2013, 04:03 AM   #3
jhein
LQ Newbie
 
Registered: Jan 2011
Posts: 1

Rep: Reputation: 0
Can you disable suexec and test again?
 
Old 12-20-2013, 09:34 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by jhein View Post
Can you disable suexec and test again?
It should be noted that disabling suexec is not a solution, just merely a test to see if it is preventing access.
 
  


Reply



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
[SOLVED] Nagios INternal server error ahmadirad Linux - Newbie 21 06-15-2020 12:40 AM
Nagios 3.0.6 Internal Server Error when accessing options on the web interface fryzer Linux - Server 14 11-11-2010 10:13 AM
LXer: Nagios Founder Comments on Icinga Fort LXer Syndicated Linux News 0 05-18-2009 11:20 AM
LXer: Icinga: Developers Fork Nagios LXer Syndicated Linux News 0 05-06-2009 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:22 PM.

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
Open Source Consulting | Domain Registration