Pular para o conteúdo

Servidor squid apresentando erro [RESOLVIDO]

Responder tópico
  • Denunciar
  • Indicar

1. Servidor squid apresentando erro [RESOLVIDO]

Enviado em 18/01/2013 - 22:52h

olá galera sou novato por aki o no linux estou configurando um servidor squid e quando inicio apresenta o seguinte erro: Processing Configuration File: /etc/squid/squid.conf (depth 0)


meu conf e esse

http_port 3128
visible_hostname SVR-FOURTECH
acl all 192.168.0.0/24
http_access allow all

acl all manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 901 # swat
acl Safe_ports port 1025-65535 # portas altas
acl purge method PURGE
acl CONNECT method CONNECT

http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

acl redelocal src 192.168.1.1/24
http_access allow localhost
http_access allow redelocal

http_access deny all

acl redelocal src 192.168.1.0/24
http_access allow localhost
http_access allow redelocal

http_access deny all

Responder tópico

2. Re: Servidor squid apresentando erro [RESOLVIDO]

Enviado em 18/01/2013 - 22:56h

ajusta a linha

acl redelocal src 192.168.1.1/24 
para


acl redelocal src 192.168.1.0/24 
e reinicia o squid
espero que ajude

3. Re: Servidor squid apresentando erro [RESOLVIDO]

Enviado em 19/01/2013 - 13:34h

continua apresentando o erro

segue o erro

[root@SVR-FOURTECH suporte]# service squid start
Iniciando o squid: [FALHOU]
2013/01/19 13:32:34| Processing Configuration File: /etc/squid/squid.conf (depth 0)
2013/01/19 13:32:34| aclParseAclLine: Invalid ACL type '192.168.0.0/24'
FATAL: Bungled squid.conf line 3: acl all 192.168.0.0/24
Squid Cache (Version 3.1.10): Terminated abnormally.
CPU Usage: 0.008 seconds = 0.006 user + 0.002 sys
Maximum Resident Size: 19200 KB
Page faults with physical i/o: 0

4. Re: Servidor squid apresentando erro [RESOLVIDO]

Enviado em 19/01/2013 - 21:22h

posta ai denovo o seu squid.conf pra ver como ficou

5. Re: Servidor squid apresentando erro [RESOLVIDO]

Enviado em 20/01/2013 - 10:17h

http_port 3128
visible_hostname SVR-FOURTECH
acl all 192.168.0.0/24
http_access allow all

acl all manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 901 # swat
acl Safe_ports port 1025-65535 # portas altas
acl purge method PURGE
acl CONNECT method CONNECT

http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

acl redelocal src 192.168.1.0/24
http_access allow localhost
http_access allow redelocal

http_access deny all

acl redelocal src 192.168.1.0/24
http_access allow localhost
http_access allow redelocal

http_access deny all

http_access allow localhost
http_access allow redelocal
http_access deny all


6. rede

Enviado em 20/01/2013 - 13:55h

pccodeliclouco escreveu:

http_port 3128
visible_hostname SVR-FOURTECH
acl all 192.168.0.0/24
http_access allow all

acl all manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 901 # swat
acl Safe_ports port 1025-65535 # portas altas
acl purge method PURGE
acl CONNECT method CONNECT

http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

acl redelocal src 192.168.1.0/24
http_access allow localhost
http_access allow redelocal

http_access deny all

acl redelocal src 192.168.1.0/24
http_access allow localhost
http_access allow redelocal

http_access deny all

http_access allow localhost
http_access allow redelocal
http_access deny all

CAra, vc especificou uma rede?? na linha: acl all 192.168.0.0/24? 0.0..

7. Re: Servidor squid apresentando erro [RESOLVIDO]

Enviado em 20/01/2013 - 14:03h

A acl rede local esta duplicada deixe apenas uma assim:

acl redelocal src 192.168.1.0/255.255.255.0

8. assunto resolvido

Enviado em 26/01/2013 - 13:39h

brigado deu certo

Responder tópico

Responder tópico

Entre na sua conta para responder.

Fazer login para responder