Visite também: Br-Linux ·  VivaOLinux ·  LinuxSecurity ·  Dicas-L ·  NoticiasLinux ·  SoftwareLivre.org ·  [mais]
Voltar   Under-Linux.org Fóruns > Geral > Serviços > Adm. em Geral
Wiki Classificados Galeria Reviews Jogos Comunidades RSS Feeds FAQ Termos de Uso Sobre
Cadastre-se FotosBlogs Lista de Membros Calendário Pesquisar Mensagens de Hoje Marcar Fóruns Como Lidos

nagios acesso negado nas paginas cgi



Resposta
 
LinkBack Opções do Tópico
Antigo 07-08-2008, 15:01   #1 (permalink)
 
Avatar de davidcortez
 
Registrado em: Aug 2008
Localização: Rio de Janeiro
Mensagens: 5
Agradeceu: 0
Agradecido 0 vez(es) em 0 Posts
Reputação: 0 davidcortez
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 root@localhost.localdomain
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
davidcortez está offline   Responder com Quote
Antigo 08-08-2008, 3:11   #2 (permalink)
Super Moderador
 
Avatar de alexandrecorrea
 
Registrado em: Feb 2006
Localização: Minas Gerais
Idade: 25
Mensagens: 3.603
Agradeceu: 13
Agradecido 489 vez(es) em 408 Posts
Envios no Blog: 3
Reputação: 443 alexandrecorrea alexandrecorrea alexandrecorrea alexandrecorrea alexandrecorrea alexandrecorrea
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
__________________
Sds.
Alexandre Correa
Onda Internet / OPinguim Web Hosting
www.ondainternet.com.br
www.opinguim.net

Blog http://alexandrecorrea.under-linux.org/

Consultoria Redes, Servidores, Linux, Mikrotik, IkarusOS, StarOS


NÃO faça pergunta via mensagem privada, poste sua dúvida no forum.


Aprenda a usar o forum, dica by Hitler: http://www.youtube.com/watch?v=8zFYt1_0FUE


Leia o FAQ UnderLinux !!!!!
http://under-linux.org/wiki/index.ph...Linux_Wiki:FAQ
alexandrecorrea está offline   Responder com Quote
Antigo 08-08-2008, 10:54   #3 (permalink)
 
Avatar de davidcortez
 
Registrado em: Aug 2008
Localização: Rio de Janeiro
Mensagens: 5
Agradeceu: 0
Agradecido 0 vez(es) em 0 Posts
Reputação: 0 davidcortez
Padrão

vou tentar executar na mão porque usei o chmod não funcinou
davidcortez está offline   Responder com Quote
Resposta

Opções do Tópico

Regras de Mensagens
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 Ligado
Smiles estão Ligado
Código [IMG] está Ligado
Código HTML está Desligado
Trackbacks are Ligado
Pingbacks are Ligado
Refbacks are Ligado
Ir para...

Tópicos Similares
Tópico Tópico Iniciado Por Fórum Respostas Última Mensagem
ssh é negado o Acesso ?? pq ?? H_Franzin Sshd/Telnet 4 29-01-2007 7:19
acesso negado no ssh luciano555 Sshd/Telnet 3 11-08-2006 18:55
Acesso Negado Dennis Samba/SMB 0 03-05-2005 19:15
Acesso Negado Poppe Proxy/NAT/Firewall 3 14-03-2005 14:11
apache + nagios .. acesso negado a pasta! mcclaudio Apache 0 20-02-2004 12:53

Horários baseados na GMT -3. Agora são 2:59.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.