Erro Fatal: cache_effective_user
Quando eu tento criar a cache, me dá esse erro.
2004/07/07 14:42:23| parseConfigFile: line 1085 unrecognized: 'rule.'
2004/07/07 14:42:23| squid.conf line 1726: http_access allow
2004/07/07 14:42:23| aclParseAccessLine: Access line contains no ACL's, skipping
2004/07/07 14:42:23| Squid is not safe to run as root! If you must
2004/07/07 14:42:23| start Squid as root, then you must configure
2004/07/07 14:42:23| it to run as a non-priveledged user with the
2004/07/07 14:42:23| 'cache_effective_user' option in the config file.
FATAL: Don't run Squid as root, set 'cache_effective_user'!
Squid Cache (Version 2.5.STABLE3): Terminated abnormally.
CPU Usage: 0.100 seconds = 0.050 user + 0.050 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 365
Abortado
Alguém sabe me explicar?
Erro Fatal: cache_effective_user
Como estão seu squid.conf e as permissões de cache?
Erro Fatal: cache_effective_user
O Squid não permite que ele seja executado como usuário root, e para consertar o erro, você precisa editar a tag cache_effective_user para um outro usuário. É aí que você decide com qual usuário o Squid irá rodar...
Abraços!
Erro Fatal: cache_effective_user
Procure a linha cache_effective_user em seu squid .conf e com certeza, ela deve estar assim: "cache_effective_user root" mude para "cache_effective_user nobody" e mude tb "cache_effective_group" para "cache_effective_group nobody" e tente iniciar o squid mas antes crie o cache com "squid -z".
Onde é que eu edito o cache, em qual lugar?
Amigos, onde é que eu edito o cache? em qual lugar daqui?
NO TAG OU NO DEFAULT?
# TAG: cache_effective_user É AQUI???????
# TAG: cache_effective_group
#
# If you start Squid as root, it will change its effective/real
# UID/GID to the UID/GID specified below. The default is to
# change to UID to "squid". If you define cache_effective_user,
# but not cache_effective_group, Squid sets the GID the
# effective user's default group ID (taken from the password
# file).
#
# If Squid is not started as root, the cache_effective_user
# value is ignored and the GID value is unchanged by default.
# However, you can make Squid change its GID to another group
# that the process owner is a member of. Note that if Squid
# is not started as root then you cannot set http_port to a
# value lower than 1024.
#cache_effective_user
#cache_effective_group
#Default:
# cache_effective_user É AQUI??????
# cache_effective_group
# 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.
#
agradeço a ajuda de vcs.
Obrigado