+ Responder ao Tópico



  1. #1

    Padrão nagios acesso negado nas paginas cgi

    me ajudem, eu instalei o nagios ele esta rodando quando eu entro em uma pagina monitoramento ele da erro interno vejam os logs
    [Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed, referer: http://localhost/nagios/side.html
    [Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] Premature end of script headers: tac.cgi, referer: http://localhost/nagios/side.html[Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed, referer: http://localhost/nagios/side.html
    [Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] Premature end of script headers: tac.cgi, referer: http://localhost/nagios/side.html[Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed, referer: http://localhost/nagios/side.html
    [Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] Premature end of script headers: tac.cgi, referer: http://localhost/nagios/side.html[Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed, referer: http://localhost/nagios/side.html
    [Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] Premature end of script headers: tac.cgi, referer: http://localhost/nagios/side.html[Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed, referer: http://localhost/nagios/side.html
    [Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] Premature end of script headers: tac.cgi, referer: http://localhost/nagios/side.html[Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed, referer: http://localhost/nagios/side.html
    [Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] Premature end of script headers: tac.cgi, referer: http://localhost/nagios/side.html[Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed, referer: http://localhost/nagios/side.html
    [Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] Premature end of script headers: tac.cgi, referer: http://localhost/nagios/side.html[Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed, referer: http://localhost/nagios/side.html
    [Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] Premature end of script headers: tac.cgi, referer: http://localhost/nagios/side.html[Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed, referer: http://localhost/nagios/side.html
    [Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] Premature end of script headers: tac.cgi, referer: http://localhost/nagios/side.html[Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed, referer: http://localhost/nagios/side.html
    [Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] Premature end of script headers: tac.cgi, referer: http://localhost/nagios/side.html[Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed, referer: http://localhost/nagios/side.html
    [Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] Premature end of script headers: tac.cgi, referer: http://localhost/nagios/side.html[Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed, referer: http://localhost/nagios/side.html
    [Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] Premature end of script headers: tac.cgi, referer: http://localhost/nagios/side.html[Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed, referer: http://localhost/nagios/side.html
    [Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] Premature end of script headers: tac.cgi, referer: http://localhost/nagios/side.html[Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed, referer: http://localhost/nagios/side.html
    [Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] Premature end of script headers: tac.cgi, referer: http://localhost/nagios/side.html[Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed, referer: http://localhost/nagios/side.html
    [Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] Premature end of script headers: tac.cgi, referer: http://localhost/nagios/side.html[Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed, referer: http://localhost/nagios/side.html
    [Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] Premature end of script headers: tac.cgi, referer: http://localhost/nagios/side.html[Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed, referer: http://localhost/nagios/side.html
    [Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] Premature end of script headers: tac.cgi, referer: http://localhost/nagios/side.html[Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed, referer: http://localhost/nagios/side.html
    [Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] Premature end of script headers: tac.cgi, referer: http://localhost/nagios/side.html[Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed, referer: http://localhost/nagios/side.html
    [Wed Jul 23 13:09:00 2008] [error] [client 127.0.0.1] Premature end of script headers: tac.cgi, referer: http://localhost/nagios/side.html
    minhas configurações do httpd
    <VirtualHost localhost:80>
    ServerAdmin [email protected]ldomain
    DocumentRoot /usr/local/nagios/share
    ServerName nagios.localhost.locadomain
    ErrorLog /var/log/httpd/nagios_erro_log
    CustomLog logs/nagios_access_log common

    ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/

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

    Alias /nagios /usr/local/nagios/share

    <Directory "/usr/local/nagios/share">
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all
    AuthName "Nagios Access"
    AuthType Basic
    AuthUserFile /usr/local/nagios/etc/htpasswd.users
    Require valid-user
    </Directory>
    </virtualhost>
    ve se vcs podem me ajudar meu gerente ta minha cola pra resolver isso
    http://www.vivaolinux.com.br/comunid.../edit_ico1.png

  2. #2

    Padrão

    chmod 755 arquivo.cgi ?!

    ja tentou isso ?!

    outra coisa.. tenta executar ele nao mao. e veja o erro que vai dar !!

    # /usr/local/nagios/sbin/tac.cgi



  3. #3

    Padrão

    vou tentar executar na mão porque usei o chmod não funcinou