Squid reiniciando

1. Squid reiniciando

Sergio Maia Rabelo
smrabelo

(usa Ubuntu)

Enviado em 17/01/2013 - 18:02h

Pessoal alguém pode dar uma luz sobre esse problema?

Jan 17 14:59:26 servidor squid[1559]: Squid Parent: child process 15677 started
Jan 17 14:59:23 servidor squid[1559]: Squid Parent: child process 15461 exited d
ue to signal 6 with status 0
Jan 17 14:40:55 servidor squid[1559]: Squid Parent: child process 15461 started
Jan 17 14:40:52 servidor squid[1559]: Squid Parent: child process 15308 exited d
ue to signal 6 with status 0
Jan 17 14:33:39 servidor squid[1559]: Squid Parent: child process 15308 started
Jan 17 14:33:36 servidor squid[1559]: Squid Parent: child process 20670 exited d
ue to signal 6 with status 0
Jan 16 14:45:09 servidor squid[1559]: Squid Parent: child process 20670 started
Jan 16 14:45:06 servidor squid[1559]: Squid Parent: child process 20165 exited d
ue to signal 6 with status 0
Jan 16 14:07:55 servidor squid[1559]: Squid Parent: child process 20165 started
Jan 16 14:07:52 servidor squid[1559]: Squid Parent: child process 18428 exited d
ue to signal 6 with status 0
Jan 16 11:39:11 servidor squid[1559]: Squid Parent: child process 18428 started
Jan 16 11:39:08 servidor squid[1559]: Squid Parent: child process 16297 exited d
ue to signal 6 with status 0
Jan 16 08:32:02 servidor squid[1559]: Squid Parent: child process 16297 started
Jan 16 08:31:59 servidor squid[1559]: Squid Parent: child process 6295 exited du
e to signal 6 with status 0

Já tentei tudo que foi possível, aumento de childrens e várias outras opções e nada...



  


2. Re: Squid reiniciando

Phillip Vieira
phrich

(usa Slackware)

Enviado em 17/01/2013 - 18:09h

Inicie o squid da seguinte maneira:

squid3 -d 10

Depois post a saída aqui.


3. Re: Squid reiniciando

Sergio Maia Rabelo
smrabelo

(usa Ubuntu)

Enviado em 23/01/2013 - 16:25h

phrich escreveu:

Inicie o squid da seguinte maneira:

squid3 -d 10

Depois post a saída aqui.


2013/01/23 16:13:04| Starting Squid Cache version 3.1.6 for i486-pc-linux-gnu...
2013/01/23 16:13:04| Process ID 22706
2013/01/23 16:13:04| With 8192 file descriptors available
2013/01/23 16:13:04| Initializing IP Cache...
2013/01/23 16:13:04| DNS Socket created at [::], FD 7
2013/01/23 16:13:04| DNS Socket created at 0.0.0.0, FD 8
2013/01/23 16:13:04| Adding nameserver 200.221.11.100 from squid.conf
2013/01/23 16:13:04| Adding nameserver 8.8.8.8 from squid.conf
2013/01/23 16:13:04| Adding nameserver 8.8.4.4 from squid.conf
2013/01/23 16:13:04| helperOpenServers: Starting 30/30 'ncsa_auth' processes
2013/01/23 16:13:04| Unlinkd pipe opened on FD 73
2013/01/23 16:13:04| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2013/01/23 16:13:04| Swap maxSize 53686272 + 2097152 KB, estimated 4291032 objects
2013/01/23 16:13:04| Target number of buckets: 214551
2013/01/23 16:13:04| Using 262144 Store buckets
2013/01/23 16:13:04| Max Mem size: 2097152 KB
2013/01/23 16:13:04| Max Swap size: 53686272 KB
2013/01/23 16:13:04| Version 1 of swap file with LFS support detected...
2013/01/23 16:13:04| Rebuilding storage in /var/spool/squid3 (CLEAN)
2013/01/23 16:13:04| Using Least Load store dir selection
2013/01/23 16:13:04| Set Current Directory to /var/spool/squid3
2013/01/23 16:13:04| Loaded Icons.
2013/01/23 16:13:04| Accepting HTTP connections at [::]:3128, FD 79.
2013/01/23 16:13:04| HTCP Disabled.
2013/01/23 16:13:04| Squid modules loaded: 0
2013/01/23 16:13:04| Adaptation support is off.
2013/01/23 16:13:04| Ready to serve requests.
2013/01/23 16:13:04| Store rebuilding is 0.22% complete
2013/01/23 16:13:14| Done reading /var/spool/squid3 swaplog (1884536 entries)
2013/01/23 16:13:14| Finished rebuilding storage from disk.
2013/01/23 16:13:14| 1884536 Entries scanned
2013/01/23 16:13:14| 0 Invalid entries.
2013/01/23 16:13:14| 0 With invalid flags.
2013/01/23 16:13:14| 1884536 Objects loaded.
2013/01/23 16:13:14| 0 Objects expired.
2013/01/23 16:13:14| 0 Objects cancelled.
2013/01/23 16:13:14| 0 Duplicate URLs purged.
2013/01/23 16:13:14| 0 Swapfile clashes avoided.
2013/01/23 16:13:14| Took 10.09 seconds (186693.95 objects/sec).
2013/01/23 16:13:14| Beginning Validation Procedure
2013/01/23 16:13:14| 524288 Entries Validated so far.
2013/01/23 16:13:14| 1835008 Entries Validated so far.
2013/01/23 16:13:14| 2097152 Entries Validated so far.
2013/01/23 16:13:14| 2359296 Entries Validated so far.
2013/01/23 16:13:14| 2621440 Entries Validated so far.
2013/01/23 16:13:15| Completed Validation Procedure
2013/01/23 16:13:15| Validated 3769085 Entries
2013/01/23 16:13:15| store_swap_size = 45625304
2013/01/23 16:13:16| storeLateRelease: released 0 objects
2013/01/23 16:14:14| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAt4II4gAAAAAAAAAAAAAAAAAAAAAGAbAdAAAADw=='
2013/01/23 16:17:08| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAt4II4gAAAAAAAAAAAAAAAAAAAAAGAbAdAAAADw=='
2013/01/23 16:20:18| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAt4II4gAAAAAAAAAAAAAAAAAAAAAGAbAdAAAADw=='
2013/01/23 16:22:57| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAt4II4gAAAAAAAAAAAAAAAAAAAAAGAbAdAAAADw=='

O que pode ser?


4. Re: Squid reiniciando

Phillip Vieira
phrich

(usa Slackware)

Enviado em 23/01/2013 - 16:43h

Cara, isso é problema nas configurações de autenticação... alguma conf na seção do NTLM está errada...

2013/01/23 16:14:14| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAt4II4gAAAAAAAAAAAAAAAAAAAAAGAbAdAAAADw=='
2013/01/23 16:17:08| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAt4II4gAAAAAAAAAAAAAAAAAAAAAGAbAdAAAADw=='
2013/01/23 16:20:18| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAt4II4gAAAAAAAAAAAAAAAAAAAAAGAbAdAAAADw=='
2013/01/23 16:22:57| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAt4II4gAAAAAAAAAAAAAAAAAAAAAGAbAdAAAADw=='





5. Re: Squid reiniciando

Leandro
rahremix

(usa Arch Linux)

Enviado em 23/01/2013 - 16:54h

Esses erros acontecem no meu squid também, mas aqui está rodando tudo certinho.

Poste pra gente o resultado do comando tail do seu arquivo cache.log para ver se não há mais nada de errado.


6. Re: Squid reiniciando

Sergio Maia Rabelo
smrabelo

(usa Ubuntu)

Enviado em 23/01/2013 - 16:59h

rahremix escreveu:

Esses erros acontecem no meu squid também, mas aqui está rodando tudo certinho.

Poste pra gente o resultado do comando tail do seu arquivo cache.log para ver se não há mais nada de errado.



2013/01/23 16:14:14| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAt4II4gAAAAAAAAAAAAAAAAAAAAAGAbAdAAAADw=='
2013/01/23 16:17:08| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAt4II4gAAAAAAAAAAAAAAAAAAAAAGAbAdAAAADw=='
2013/01/23 16:20:18| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAt4II4gAAAAAAAAAAAAAAAAAAAAAGAbAdAAAADw=='
2013/01/23 16:22:57| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAt4II4gAAAAAAAAAAAAAAAAAAAAAGAbAdAAAADw=='
2013/01/23 16:26:12| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAt4II4gAAAAAAAAAAAAAAAAAAAAAGAbAdAAAADw=='

Mesma coisa. E agora???


7. Re: Squid reiniciando

Phillip Vieira
phrich

(usa Slackware)

Enviado em 23/01/2013 - 17:00h

rahremix escreveu:

Esses erros acontecem no meu squid também, mas aqui está rodando tudo certinho.

Poste pra gente o resultado do comando tail do seu arquivo cache.log para ver se não há mais nada de errado.


Só complementando, nem tudo o que apareceu no post anterior é erro, apenas o que eu comentei/inseri, quando há erros deste tipo o processo do squid é "morto", pois lógicamente, a autenticação não funcionaria mesmo com o processo ainda "vivo". ;-)

Quanto a questão do /var/log/squid3/cache.log, não se aplica a esta situação, pois não está relacionado ao erro de autenticação.


8. Re: Squid reiniciando

Sergio Maia Rabelo
smrabelo

(usa Ubuntu)

Enviado em 23/01/2013 - 17:01h

phrich escreveu:

Cara, isso é problema nas configurações de autenticação... alguma conf na seção do NTLM está errada...

2013/01/23 16:14:14| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAt4II4gAAAAAAAAAAAAAAAAAAAAAGAbAdAAAADw=='
2013/01/23 16:17:08| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAt4II4gAAAAAAAAAAAAAAAAAAAAAGAbAdAAAADw=='
2013/01/23 16:20:18| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAt4II4gAAAAAAAAAAAAAAAAAAAAAGAbAdAAAADw=='
2013/01/23 16:22:57| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAt4II4gAAAAAAAAAAAAAAAAAAAAAGAbAdAAAADw=='




auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/senhas/senhas
auth_param basic children 5
auth_param basic realm Por Favor Informe usuario e senha!!!
auth_param basic credentialsttl 4 hours
auth_param basic casesensitive off

Não tem anda além disso no squid.conf sobre autenticação.


9. Re: Squid reiniciando

Phillip Vieira
phrich

(usa Slackware)

Enviado em 23/01/2013 - 17:02h

Na linha

auth_param basic realm Por Favor Informe usuario e senha!!!


Coloque assim:

auth_param basic realm "Por Favor Informe usuario e senha!!!"

Com as aspas...


10. Re: Squid reiniciando

Sergio Maia Rabelo
smrabelo

(usa Ubuntu)

Enviado em 23/01/2013 - 17:07h

phrich escreveu:

Na linha

auth_param basic realm Por Favor Informe usuario e senha!!!


Coloque assim:

auth_param basic realm "Por Favor Informe usuario e senha!!!"

Com as aspas...


Feito. fiz um reload /etc/init.d/squid3 reload. Vou monitorar...se for só isso hoje eu saio pra beber! Porque to há 3 meses batendo cabeça com isso.

Valeu.


11. Re: Squid reiniciando

Phillip Vieira
phrich

(usa Slackware)

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

É só vc dar um squid3 -d 10, se saída não mais aparecer aqueles erros (que eu indiquei, o restante é normal do squid mesmo), era só isso mesmo.


12. Re: Squid reiniciando

Leandro
rahremix

(usa Arch Linux)

Enviado em 23/01/2013 - 17:12h

Segue um tail do meu cache.log

2013/01/23 15:32:31| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAB7IIogsACwAyAAAACgAKACgAAAAFASgKAAAAD1RSSUJVVE9TMDFOUE1QU1NFUlZFUg=='
2013/01/23 15:32:46| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAB7IIogsACwAyAAAACgAKACgAAAAFASgKAAAAD1RSSUJVVE9TMDFOUE1QU1NFUlZFUg=='
2013/01/23 15:33:02| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAB7IIogsACwAyAAAACgAKACgAAAAFASgKAAAAD1RSSUJVVE9TMDFOUE1QU1NFUlZFUg=='
2013/01/23 15:36:20| TunnelStateData::Connection::error: FD 215: read/write failure: (32) Broken pipe
2013/01/23 15:40:24| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAB7IIogsACwAyAAAACgAKACgAAAAFASgKAAAAD1RSSUJVVE9TMDFOUE1QU1NFUlZFUg=='
2013/01/23 15:40:38| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAB7IIogsACwAyAAAACgAKACgAAAAFASgKAAAAD1RSSUJVVE9TMDFOUE1QU1NFUlZFUg=='
2013/01/23 15:40:53| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAB7IIogsACwAyAAAACgAKACgAAAAFASgKAAAAD1RSSUJVVE9TMDFOUE1QU1NFUlZFUg=='
2013/01/23 15:54:05| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAB7IIogsACwAyAAAACgAKACgAAAAFASgKAAAAD1RSSUJVVE9TMDFOUE1QU1NFUlZFUg=='
2013/01/23 15:54:20| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAB7IIogsACwAyAAAACgAKACgAAAAFASgKAAAAD1RSSUJVVE9TMDFOUE1QU1NFUlZFUg=='
2013/01/23 15:54:35| AuthConfig::CreateAuthUser: Unsupported or unconfigured/inactive proxy-auth scheme, 'NTLM TlRMTVNTUAABAAAAB7IIogsACwAyAAAACgAKACgAAAAFASgKAAAAD1RSSUJVVE9TMDFOUE1QU1NFUlZFUg=='


E aqui o squid está normal, funcionando desde o dia 2 sem cair.

O disco onde você gera os logs do squid (access.log e cache.log) não encheu? Pois o arquivo access.log tende a ganhar volume depressa, ainda mais em redes grandes com bastante tráfego.



01 02 03



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts