Página 2 de 2 PrimeiroPrimeiro 12
+ Responder ao Tópico

  1. #6
    Descomenta essas duas linhas:


    e deixa elas assim:

    cache_effective_user nobody
    cache_effective_group nobody

  2. #7
    Deixei o meu squid .conf assim:

    # TAG: cache_effective_user
    # 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 nobody
    cache_effective_group nobody


    # 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.

    aí, fui, no meu diretório e deu o comando

    cd /usr/local/squid/bin

    squid -z

    [root@fedora bin]# squid -z
    2004/07/14 16:14:13| parseConfigFile: line 1085 unrecognized: 'rule.'
    2004/07/14 16:14:13| squid.conf line 1726: http_access allow
    2004/07/14 16:14:13| aclParseAccessLine: Access line contains no ACL's, skipping
    2004/07/14 16:14:13| Squid is not safe to run as root! If you must
    2004/07/14 16:14:13| start Squid as root, then you must configure
    2004/07/14 16:14:13| it to run as a non-priveledged user with the
    2004/07/14 16:14:13| '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.070 seconds = 0.040 user + 0.030 sys
    Maximum Resident Size: 0 KB
    Page faults with physical i/o: 365

    eu tenho que dar este comando dentro deste diretório?

    cd /usr/local/squid/bin/cache ( pq minha pasta cache está aquí )?


    Obrigado pela ajuda

Tópicos Similares

  1. PuTTY Fatal Erro
    Por maikinbazi no fórum Servidores de Rede
    Respostas: 1
    Último Post: 27-02-2014, 16:52
  2. Respostas: 3
    Último Post: 24-05-2007, 10:43
  3. FATAL: Could not... que erro é esse? não vai!
    Por copynow no fórum Servidores de Rede
    Respostas: 3
    Último Post: 31-01-2005, 16:30
  4. HORDE: Ocorreu um erro fatal:
    Por rEsEtbnu no fórum Servidores de Rede
    Respostas: 7
    Último Post: 26-12-2004, 19:26
  5. erro fatal no squid !! o que é isso?
    Por copynow no fórum Servidores de Rede
    Respostas: 5
    Último Post: 22-06-2004, 21:10

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L