problrma em iniciar squid
Beleza pessoal, estou tendo uma dificuldade em iniciar pela primeira vez meu servidor de cache de internet. Instalei o CL9 e coloquei um disco de 9GB SCSI apenas para cache do squid. Criei uma partição /squid_cache nesse disco e defini a linha de cache assim: cache_dir ufs /squid_cache/ 7000 16 256.
Quando tento montar o cache, ele retorna a seguinte linha:
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.5.STABLE5): Terminated abnormally.
CPU Usage: 0.040 seconds = 0.040 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 404
Aborted (core dumped)
Será que alguém poderia me dar uma forcinha, sou meio novato com squid e não consigo definir bem ainda as mensagens de erro que ele retorna, valew
problrma em iniciar squid
edita teu squid.conf e coloca
visible_hostname dominio.com.br
problrma em iniciar squid
desculpe a ignorância amigo, mas vou colar aqui a sessão de visible_hostname pra vc me ajudar onde tenho que colocar isso:
#Default:
# cache_effective_user proxy
# cache_effective_group proxy
# TAG: visible_hostname
# If you want to present a special hostname in error messages, etc,
# then define this. Otherwise, the return value of gethostname()
# will be used. If you have multiple caches in a cluster and
# get errors about IP-forwarding you must set them to have individual
# names with this setting.
#
#Default:
# none
# TAG: unique_hostname
# If you want to have multiple machines with the same
# 'visible_hostname' then you must give each machine a different
# 'unique_hostname' so that forwarding loops can be detected.
#
#Default:
# none
# TAG: hostname_aliases
# A list of other DNS names that your cache has.
#
#Default:
#none:
problrma em iniciar squid
digita do jeito q eu passei q funciona =/
problrma em iniciar squid
Edita no seu squid.conf a tag *visible_hostname* e coloca assim:
visible_hostname seu.dominio.aqui
Abraços!
problrma em iniciar squid
Não precisa necessariamente colocar o dominio. Se colocar apenas um usuário válido já funciona !!