Squid e Active Directory

1. Squid e Active Directory

Flávio Luiz Coelho Conceição
flavio_conceicao

(usa Debian)

Enviado em 11/12/2007 - 10:09h

Oá Estou c/ o seguinte problema, tenho um servidor linux c/ squid c/ autenticação via AD.
Toda manha tenho que ficar reiniciando pois esta c/ erro no cache.log e com isso a caixa de autenticação no browser não aparece. Vou postar o cache abaixo.
Preciso de uma solução urgente, pois senão precisarei reinstalar o servidor. segue abaixo.

2007/12/11 00:01:42| storeDirWriteCleanLogs: Starting...
2007/12/11 00:01:43| Finished. Wrote 60365 entries.

2007/12/11 00:01:43| Took 0.1 seconds (527938.4 entries/sec).

2007/12/11 00:01:43| logfileRotate: /var/log/squid/store.log

2007/12/11 00:01:43| logfileRotate: /var/log/squid/access.log

2007/12/11 00:01:43| helperOpenServers: Starting 5 'ldap_auth' processes

2007/12/11 00:01:43| WARNING: Cannot run '/usr/lib/squid/ldap_auth' process.

2007/12/11 00:04:52| WARNING: Cannot run '/usr/lib/squid/ldap_auth' process.

2007/12/11 00:08:01| WARNING: Cannot run '/usr/lib/squid/ldap_auth' process.

2007/12/11 00:11:10| WARNING: Cannot run '/usr/lib/squid/ldap_auth' process.

2007/12/11 00:14:19| WARNING: Cannot run '/usr/lib/squid/ldap_auth' process.

2007/12/11 00:14:19| helperOpenServers: Starting 5 'squid_ldap_group' processes

2007/12/11 00:17:28| WARNING: Cannot run '/usr/lib/squid/squid_ldap_group' process.

2007/12/11 00:20:37| WARNING: Cannot run '/usr/lib/squid/squid_ldap_group' process.

2007/12/11 00:23:46| WARNING: Cannot run '/usr/lib/squid/squid_ldap_group' process.

2007/12/11 00:26:55| WARNING: Cannot run '/usr/lib/squid/squid_ldap_group' process.

2007/12/11 00:30:04| WARNING: Cannot run '/usr/lib/squid/squid_ldap_group' process.

2007/12/11 08:07:37| Preparing for shutdown after 639 requests

2007/12/11 08:07:37| Waiting 30 seconds for active connections to finish

2007/12/11 08:07:37| FD 23 Closing HTTP connection

2007/12/11 08:07:39| Shutting down...

2007/12/11 08:07:39| FD 24 Closing ICP connection

2007/12/11 08:07:39| Closing unlinkd pipe on FD 21

2007/12/11 08:07:39| storeDirWriteCleanLogs: Starting...

2007/12/11 08:07:39| Finished. Wrote 60365 entries.

2007/12/11 08:07:39| Took 0.2 seconds (395126.1 entries/sec).

CPU Usage: 15.200 seconds = 6.780 user + 8.420 sys

Maximum Resident Size: 0 KB
Page faults with physical i/o: 5

Memory usage for squid via mallinfo():

total space in arena: 11460 KB

Ordinary blocks: 11202 KB 29 blks

Small blocks: 0 KB 0 blks

Holding blocks: 204 KB 1 blks

Free Small blocks: 0 KB
Free Ordinary blocks: 257 KB

Total in use: 11406 KB 100%

Total free: 257 KB 2%

2007/12/11 08:07:39| Squid Cache (Version 2.5.STABLE12): Exiting normally.

2007/12/11 08:08:55| Starting Squid Cache version 2.5.STABLE12 for i386-debian-linux-gnu...

2007/12/11 08:08:55| Process ID 3527

2007/12/11 08:08:55| With 1024 file descriptors available

2007/12/11 08:08:55| DNS Socket created at 0.0.0.0, port 1025, FD 6

2007/12/11 08:08:55| Adding nameserver 200.204.0.10 from /etc/resolv.conf

2007/12/11 08:08:55| Adding nameserver 200.204.0.138 from /etc/resolv.conf

2007/12/11 08:08:55| helperOpenServers: Starting 5 'ldap_auth' processes

2007/12/11 08:08:55| helperOpenServers: Starting 5 'squid_ldap_group' processes

2007/12/11 08:08:55| User-Agent logging is disabled.

2007/12/11 08:08:55| Referer logging is disabled.

2007/12/11 08:08:55| Unlinkd pipe opened on FD 21

2007/12/11 08:08:55| Swap maxSize 1024000 KB, estimated 78769 objects

2007/12/11 08:08:55| Target number of buckets: 3938

2007/12/11 08:08:55| Using 8192 Store buckets

2007/12/11 08:08:55| Max Mem size: 16384 KB

2007/12/11 08:08:55| Max Swap size: 1024000 KB
2007/12/11 08:08:55| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec

2007/12/11 08:08:55| Rebuilding storage in /var/spool/squid (CLEAN)

2007/12/11 08:08:55| Using Least Load store dir selection

2007/12/11 08:08:55| Current Directory is /
2007/12/11 08:08:55| Loaded Icons.

2007/12/11 08:08:58| Accepting HTTP connections at 192.168.6.250, port 3128, FD 23.

2007/12/11 08:08:58| Accepting ICP messages at 0.0.0.0, port 3130, FD 24.

2007/12/11 08:08:58| HTCP Disabled.

2007/12/11 08:08:58| WCCP Disabled.

2007/12/11 08:08:58| Ready to serve requests.

2007/12/11 08:08:58| Store rebuilding is 6.8% complete
2007/12/11 08:09:01| Done reading /var/spool/squid swaplog (60365 entries)

2007/12/11 08:09:01| Finished rebuilding storage from disk.

2007/12/11 08:09:01| 60365 Entries scanned

2007/12/11 08:09:01| 0 Invalid entries.

2007/12/11 08:09:01| 0 With invalid flags.

2007/12/11 08:09:01| 60365 Objects loaded.

2007/12/11 08:09:01| 0 Objects expired.
2007/12/11 08:09:01| 0 Objects cancelled.

2007/12/11 08:09:01| 0 Duplicate URLs purged.

2007/12/11 08:09:01| 0 Swapfile clashes avoided.

2007/12/11 08:09:01| Took 5.1 seconds (11766.0 objects/sec).

2007/12/11 08:09:01| Beginning Validation Procedure

2007/12/11 08:09:01| Completed Validation Procedure

2007/12/11 08:09:01| Validated 60365 Entries

2007/12/11 08:09:01| store_swap_size = 921072k

2007/12/11 08:09:03| storeLateRelease: released 0 objects



  


2. Re: Squid e Active Directory

Flávio Luiz Coelho Conceição
flavio_conceicao

(usa Debian)

Enviado em 12/12/2007 - 08:51h

Alguem sabe???
Ja passaram por isso??


3. Re: Squid e Active Directory

Aldo Silva
aldo.rj

(usa Debian)

Enviado em 12/12/2007 - 19:07h

Ola tudo bem, não tenho muita prática com squit mas sim com AD, normalmente é padrão do windows 2003 (se é esse que vc usa) "cortar conexão inátivo por um certo tempo" dá uma olhada no logs event view dentro de ferramentas administrativas.


4. Re: Squid e Active Directory

Flávio Luiz Coelho Conceição
flavio_conceicao

(usa Debian)

Enviado em 13/12/2007 - 09:34h

Cara olhei e não achei nada.
O que penso ser é alguma rotina que apos as 0:00 hrs é rodada, pois apartir desse horario nao funciona mais o SQUID. NoA D nao tem nada de mais !!!

Valeu pela ajudar, vou continuar tentando, senao vou ter que reinstalar o server.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts