FALHA Squid!

1. FALHA Squid!

Rodolfo O. Guilherme.
extrem3

(usa Fedora)

Enviado em 07/08/2007 - 09:51h

Toda vez que eu dou um squid -z da esse erro que segue abaixo, e também não consigo starta o squid! Segui todos os passos deste artigo: http://www.squid-cache.org.br/index.php?option=com_content&task=view&id=35&Itemid=27
Alguém pode me dar uma ajuda? Agradeço desde já!

FATAL: Failed to make swap directory /var/cache/squid/00: (13) Permission denied
Squid Cache (Version 2.5.STABLE8): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0



  


2. Re: FALHA Squid!

Silvio Soares da Silva Junior
silviojunior

(usa Slackware)

Enviado em 07/08/2007 - 10:02h

Acerte suas permissões dos diretórios do cache.

se o usuario e o grupo forem nobody e nogroup respectivamente, use o comando:
# chown nobody.nogroup /var/cache/ -R
(dentro do diretorio onde se encontra o seu squid)

depois use squid -z para criar o cache.

t+


3. permissão

Rodolfo O. Guilherme.
extrem3

(usa Fedora)

Enviado em 07/08/2007 - 10:11h

da o mesmo erro! ;\

[root@srv-fw logs]# chown nobody.nobody /var/cache/squid/ -R
[root@srv-fw logs]# squid -z
2007/08/07 02:09:27| Creating Swap Directories
FATAL: Failed to make swap directory /var/cache/squid/00: (13) Permission denied
Squid Cache (Version 2.5.STABLE8): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys



4. Faz o seguinte:

Diego Henrique Pereira
diegohp10

(usa Ubuntu)

Enviado em 07/08/2007 - 10:19h

Quando eu tive este problema, dei o seguinte comando:

chmod gou+rwx /pasta/pasta/arquivo


5. Obrigado!!!

Rodolfo O. Guilherme.
extrem3

(usa Fedora)

Enviado em 07/08/2007 - 10:25h

[root@srv-fw squid]# /sbin/squid -z
2007/08/07 02:26:48| Creating Swap Directories
[root@srv-fw squid]# /sbin/service squid start
init_cache_dir /var/spool/squid... Starting squid: ........[FAILED]....
hehe, não me dou muito lnx! ;~\



6. Disk Full ?

Juno Kim
juno

(usa Linux Mint)

Enviado em 07/08/2007 - 11:57h

Cara
O seu hd não lotou ?

Dá uma olhada :

df -h

Manda o resultado para nós .

Falou!


7. nemmm

Rodolfo O. Guilherme.
extrem3

(usa Fedora)

Enviado em 07/08/2007 - 15:06h

/dev/mapper/VolGroup00-LogVol00
35G 2.5G 30G 8% /
/dev/hdb1 99M 11M 83M 12% /boot
tmpfs 505M 0 505M 0% /dev/shm



8. conf

Juno Kim
juno

(usa Linux Mint)

Enviado em 07/08/2007 - 15:13h

Cara
envia o conf do seu squid para nos darmos uma olhada.
Falou!


9. Re: FALHA Squid!

Fábio Barrinovo do Nascimento
fabiobarrinovo

(usa Debian)

Enviado em 07/08/2007 - 15:51h

não sei se seria a melhor opção mas quando tive o mesmo problema fiz o backup dos logs e reinstalei o squid..

abs.


10. Fiz isso

Rodolfo O. Guilherme.
extrem3

(usa Fedora)

Enviado em 09/08/2007 - 14:32h

Já reinstalei o squid também, mas nenhum resultado... \=


11. Estou tendo problemas parecido

Wellington Maciel de Souza
cabralwms

(usa Debian)

Enviado em 14/03/2012 - 12:03h

Page faults with physical i/o: 0
2012/03/13 14:31:36| Starting Squid Cache version 3.1.8 for i386-redhat-linux-gnu...
2012/03/13 14:31:36| Process ID 7760
2012/03/13 14:31:36| With 1024 file descriptors available
2012/03/13 14:31:36| Initializing IP Cache...
2012/03/13 14:31:36| DNS Socket created at [::], FD 7
2012/03/13 14:31:36| DNS Socket created at 0.0.0.0, FD 8
2012/03/13 14:31:36| Adding nameserver 192.168.0.1 from squid.conf
2012/03/13 14:31:36| User-Agent logging is disabled.
2012/03/13 14:31:36| Referer logging is disabled.
2012/03/13 14:31:36| Unlinkd pipe opened on FD 13
2012/03/13 14:31:36| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2012/03/13 14:31:36| Store logging disabled
2012/03/13 14:31:36| Swap maxSize 8192000 + 131072 KB, estimated 640236 objects
2012/03/13 14:31:36| Target number of buckets: 32011
2012/03/13 14:31:36| Using 32768 Store buckets
2012/03/13 14:31:36| Max Mem size: 131072 KB
2012/03/13 14:31:36| Max Swap size: 8192000 KB
2012/03/13 14:31:36| /var/spool/squid/swap.state.new: (28) No space left on device
FATAL: storeDirOpenTmpSwapLog: Failed to open swap log.
Squid Cache (Version 3.1.8): Terminated abnormally.
CPU Usage: 0.044 seconds = 0.035 user + 0.009 sys
Maximum Resident Size: 31696 KB
Page faults with physical i/o: 0
2012/03/13 14:31:39| Starting Squid Cache version 3.1.8 for i386-redhat-linux-gnu...
2012/03/13 14:31:39| Process ID 7763
2012/03/13 14:31:39| With 1024 file descriptors available
2012/03/13 14:31:39| Initializing IP Cache...
2012/03/13 14:31:39| DNS Socket created at [::], FD 7
2012/03/13 14:31:39| DNS Socket created at 0.0.0.0, FD 8
2012/03/13 14:31:39| Adding nameserver 192.168.0.1 from squid.conf
2012/03/13 14:31:39| User-Agent logging is disabled.
2012/03/13 14:31:39| Referer logging is disabled.
2012/03/13 14:31:39| Unlinkd pipe opened on FD 13
2012/03/13 14:31:39| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2012/03/13 14:31:39| Store logging disabled
2012/03/13 14:31:39| Swap maxSize 8192000 + 131072 KB, estimated 640236 objects
2012/03/13 14:31:39| Target number of buckets: 32011
2012/03/13 14:31:39| Using 32768 Store buckets
2012/03/13 14:31:39| Max Mem size: 131072 KB
2012/03/13 14:31:39| Max Swap size: 8192000 KB
2012/03/13 14:31:39| /var/spool/squid/swap.state.new: (28) No space left on device
FATAL: storeDirOpenTmpSwapLog: Failed to open swap log.
Squid Cache (Version 3.1.8): Terminated abnormally.
CPU Usage: 0.046 seconds = 0.032 user + 0.014 sys
Maximum Resident Size: 31680 KB
Page faults with physical i/o: 0
2012/03/13 14:31:42| Starting Squid Cache version 3.1.8 for i386-redhat-linux-gnu...
2012/03/13 14:31:42| Process ID 7766
2012/03/13 14:31:42| With 1024 file descriptors available
2012/03/13 14:31:42| Initializing IP Cache...
2012/03/13 14:31:42| DNS Socket created at [::], FD 7
2012/03/13 14:31:42| DNS Socket created at 0.0.0.0, FD 8
2012/03/13 14:31:42| Adding nameserver 192.168.0.1 from squid.conf
2012/03/13 14:31:42| User-Agent logging is disabled.
2012/03/13 14:31:42| Referer logging is disabled.
2012/03/13 14:31:43| Unlinkd pipe opened on FD 13
2012/03/13 14:31:43| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2012/03/13 14:31:43| Store logging disabled
2012/03/13 14:31:43| Swap maxSize 8192000 + 131072 KB, estimated 640236 objects
2012/03/13 14:31:43| Target number of buckets: 32011
2012/03/13 14:31:43| Using 32768 Store buckets
2012/03/13 14:31:43| Max Mem size: 131072 KB
2012/03/13 14:31:43| Max Swap size: 8192000 KB
2012/03/13 14:31:43| /var/spool/squid/swap.state.new: (28) No space left on device
FATAL: storeDirOpenTmpSwapLog: Failed to open swap log.
Squid Cache (Version 3.1.8): Terminated abnormally.
CPU Usage: 0.044 seconds = 0.035 user + 0.009 sys
Maximum Resident Size: 31920 KB
Page faults with physical i/o: 0
2012/03/13 14:36:09| Creating Swap Directories
2012/03/13 14:36:09| /var/spool/squid exists
2012/03/13 14:36:09| Making directories in /var/spool/squid/00
2012/03/13 14:36:09| Making directories in /var/spool/squid/01
2012/03/13 14:36:09| Making directories in /var/spool/squid/02
2012/03/13 14:36:09| Making directories in /var/spool/squid/03
2012/03/13 14:36:09| Making directories in /var/spool/squid/04
2012/03/13 14:36:09| Making directories in /var/spool/squid/05
2012/03/13 14:36:09| Making directories in /var/spool/squid/06
2012/03/13 14:36:09| Making directories in /var/spool/squid/07
2012/03/13 14:36:09| Making directories in /var/spool/squid/08
2012/03/13 14:36:09| Making directories in /var/spool/squid/09
2012/03/13 14:36:09| Making directories in /var/spool/squid/0A
2012/03/13 14:36:09| Making directories in /var/spool/squid/0B
2012/03/13 14:36:09| Making directories in /var/spool/squid/0C
2012/03/13 14:36:09| Making directories in /var/spool/squid/0D
2012/03/13 14:36:09| Making directories in /var/spool/squid/0E
2012/03/13 14:36:09| Making directories in /var/spool/squid/0F
2012/03/13 14:36:14| Starting Squid Cache version 3.1.8 for i386-redhat-linux-gnu...
2012/03/13 14:36:14| Process ID 7871
2012/03/13 14:36:14| With 1024 file descriptors available
2012/03/13 14:36:14| Initializing IP Cache...
2012/03/13 14:36:14| DNS Socket created at [::], FD 7
2012/03/13 14:36:14| DNS Socket created at 0.0.0.0, FD 8
2012/03/13 14:36:14| Adding nameserver 192.168.0.1 from squid.conf
2012/03/13 14:36:14| User-Agent logging is disabled.
2012/03/13 14:36:14| Referer logging is disabled.
2012/03/13 14:36:15| Unlinkd pipe opened on FD 13
2012/03/13 14:36:15| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2012/03/13 14:36:15| Store logging disabled
2012/03/13 14:36:15| Swap maxSize 8192000 + 131072 KB, estimated 640236 objects
2012/03/13 14:36:15| Target number of buckets: 32011
2012/03/13 14:36:15| Using 32768 Store buckets
2012/03/13 14:36:15| Max Mem size: 131072 KB
2012/03/13 14:36:15| Max Swap size: 8192000 KB
2012/03/13 14:36:15| Rebuilding storage in /var/spool/squid (DIRTY)
2012/03/13 14:36:15| Using Least Load store dir selection
2012/03/13 14:36:15| Set Current Directory to /var/spool/squid
2012/03/13 14:36:15| Loaded Icons.
2012/03/13 14:36:15| Accepting intercepted HTTP connections at 192.168.0.1:3123, FD 15.
2012/03/13 14:36:15| HTCP Disabled.
2012/03/13 14:36:15| Squid modules loaded: 0
2012/03/13 14:36:15| Adaptation support is off.
2012/03/13 14:36:15| Ready to serve requests.
2012/03/13 14:36:15| Done scanning /var/spool/squid swaplog (0 entries)
2012/03/13 14:36:15| Finished rebuilding storage from disk.
2012/03/13 14:36:15| 0 Entries scanned
2012/03/13 14:36:15| 0 Invalid entries.
2012/03/13 14:36:15| 0 With invalid flags.
2012/03/13 14:36:15| 0 Objects loaded.
2012/03/13 14:36:15| 0 Objects expired.
2012/03/13 14:36:15| 0 Objects cancelled.
2012/03/13 14:36:15| 0 Duplicate URLs purged.
2012/03/13 14:36:15| 0 Swapfile clashes avoided.
2012/03/13 14:36:15| Took 0.11 seconds ( 0.00 objects/sec).
2012/03/13 14:36:15| Beginning Validation Procedure
2012/03/13 14:36:15| Completed Validation Procedure
2012/03/13 14:36:15| Validated 25 Entries
2012/03/13 14:36:15| store_swap_size = 0
2012/03/13 14:36:16| storeLateRelease: released 0 objects
2012/03/13 14:38:45| clientProcessRequest: Invalid Request
2012/03/13 14:55:11| clientProcessRequest: Invalid Request
2012/03/13 14:58:46| clientProcessRequest: Invalid Request
2012/03/13 14:59:59| clientProcessRequest: Invalid Request
2012/03/13 15:11:48| clientProcessRequest: Invalid Request
2012/03/13 15:44:28| clientProcessRequest: Invalid Request
2012/03/13 16:51:30| clientProcessRequest: Invalid Request
2012/03/13 17:02:37| clientProcessRequest: Invalid Request

Quando limpo o cache e dou squid -z squid -k reconfigure e service squid start tudo volta ao normal
Alguem pode me ajudar?


12. Só para avisar

Wellington Maciel de Souza
cabralwms

(usa Debian)

Enviado em 14/03/2012 - 12:04h

Não estou com HD lotado foi a primeira coisa que olhei, as permissões estão leitura e gravação para squid e grupo squid. Não sei mais o que fazer.

se alguem puder ajuda ficaria grato



01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts