::: Zany's Homepage ::: Zany Wiki | »çÀÌÆ® ÅëÇÕ °Ë»ö
 
 
 

[CentOS] Nagios.

°Ô½ÃÆÇ
Unix/Linux
ÀÛ¼ºÀÚ
helix
ÀÛ¼ºÀÏ
2012-11-16 11:13:07
ÀÐÀº¼ö
2191
ÆòÁ¡
   
Ç¥½Ã¿É¼Ç
HTML»ç¿ë | ÀÚµ¿BRűנ| °ø¹é¹®ÀÚÇã¿ë | °¡¿îµ¥Á¤·Ä | °íÁ¤Æø±Û²Ã | ÀÚµ¿URL¸µÅ© | ¸¶¿ì½º¼±ÅÃ
Nagios ¼³Ä¡ ÈÄ, /etc/httpd/logs/error_log ¿¡
¾Æ·¡¿Í °°ÀÌ cgi ½ÇÇà ±ÇÇÑ ¿¡·¯°¡ ÂïÈ÷¸é¼­ ºê¶ó¿ìÀú¿¡¼­´Â Internal Error °¡ ³ªÅ¸³¯ ¶§

[Fri Nov 16 11:06:11 2012] [error] [client x.x.x.x] (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed, referer: http://abc.com/nagios/side.php


¾Æ·¡¿Í °°Àº ¸í·ÉÀ¸·Î ÆÄÀÏ º¸¾È ÄÁÅؽºÆ®¸¦ ¼öÁ¤ÇØ ÁØ´Ù.

I had the same problem as you do. After spending a lot of time reading and trying anything, the step that solved the problem was issuing

Code:
chcon -R -t httpd_sys_content_t /usr/local/nagios

 °Ô½ÃÆÇ ±Û ¸ñ·Ï
No Subject Poster Hits Posted
4059 helix 2518 2012-12-24 15:38:00
4022 helix 6153 2012-12-11 00:41:25
4020 helix 8102 2012-12-10 23:45:03
4014 helix 2162 2012-12-10 12:42:18
3979 helix 3693 2012-12-05 13:21:26
helix 2191 2012-11-16 11:13:07
3896 helix 3145 2012-11-16 10:42:09
3706 helix 6469 2012-10-30 14:30:04
3559 helix 2203 2012-09-21 18:00:52
3547 helix 1948 2012-09-21 10:01:39
3546 helix 5536 2012-09-20 15:47:15
ÄÚ¸àÆ®
ÀÛ¼ºÀÚ
                       
 
zany.kr
  Copyright ¨Ï 2002-2010 Zany's Programming Lab. All Rights Not Reserved.
temporary This Page loads on 0.016 Secs