Re: SquidGuard problem

2010-05-07 Thread Stuart Henderson
On 2010-05-06, Alessandro Baggi alessandro.ba...@gmail.com wrote:
 Hi there,
 thanks for the reply. I've added in makefile -pthread, compiled and 
 runned squidclamav but
 squid + squidclamav + squidguard problem persist.
 Other issue?

I don't know what else it might be..
FWIW, ports/www/havp does work ok.



Re: SquidGuard problem

2010-05-07 Thread Alessandro Baggi

Stuart Henderson wrote:

On 2010-05-06, Alessandro Baggi alessandro.ba...@gmail.com wrote:
  

Hi there,
thanks for the reply. I've added in makefile -pthread, compiled and 
runned squidclamav but

squid + squidclamav + squidguard problem persist.
Other issue?



I don't know what else it might be..
FWIW, ports/www/havp does work ok.


  
I've tried also to modify squidguard to handle read error but the 
problem there is also. Yes I'm trying havp from ports.

Thanks for the reply



Re: SquidGuard problem

2010-05-06 Thread Alessandro Baggi

Hi there,
thanks for the reply. I've added in makefile -pthread, compiled and 
runned squidclamav but

squid + squidclamav + squidguard problem persist.
Other issue?

thanks in advance
Stuart Henderson wrote:

On 2010-05-04, Alessandro Baggi alessandro.ba...@gmail.com wrote:
  

Hi there.
 I've a problem using squidguard under openbsd (4.4, 4.5, 4.6) with this 
combination (squid + squidclamav + squidguard). The problem is that 
after different hours that squidguard got not request, all squidguard 
processes becomes zombies.


squid + squidguard (works fine)
squid + squidclamav (works fine)
squid + squidclamav + squidguard (squidguard processes becomes zombie)
squid + ad-zap (zapchain) + squidclamav + squidguard (squidguard 
processes becomes zombie)



Run 'ldd /path/to/squidclamav'. If it doesn't include
libpthread then try adding -pthread to the compiler flags when
you build it.




SquidGuard problem

2010-05-04 Thread Alessandro Baggi

Hi there.
I've a problem using squidguard under openbsd (4.4, 4.5, 4.6) with this 
combination (squid + squidclamav + squidguard). The problem is that 
after different hours that squidguard got not request, all squidguard 
processes becomes zombies.

when the error show i get from
[/var/squidguard/log/squidGuard.log] reports:

2010-04-22 18:30:00 [6702] Info: recalculating alarm in 30 seconds
2010-04-22 18:30:00 [6702] squidGuard stopped (1259515800.261)

..


and ps:

_squid6702  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
_squid   29852  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
_squid   13322  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
_squid   19733  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
_squid   23681  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
_squid   29024  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
_squid   10963  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
_squid4752  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
_squid9844  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
_squid   10946  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
_squid   15118  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
_squid   24546  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
_squid   28657  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
_squid   26160  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
_squid   10505  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
_squid   31381  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
_squid6034  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
_squid8429  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
_squid   32393  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
_squid8880  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
_squid9160  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
_squid   20881  0.0  0.0 0 0 ??  Z -  0:00.00 
(squidGuard)
root 18821  0.0  0.4  1236  1268 ??  Is 3:15PM0:00.02 squid 
-d 10
_squid   16228  0.0  4.3 10312 12804 ??  S  3:15PM0:09.64 
(squid) -d 10 (squid)
_squid   31884  0.0  0.7   756  2076 ??  Is 3:15PM0:00.81 
(squidclamav) (squidclamav)
_squid   25836  0.0  0.7   632  2076 ??  Is 3:15PM0:00.54 
(squidclamav) (squidclamav)
_squid6972  0.0  0.7   764  2084 ??  Is 3:15PM0:00.27 
(squidclamav) (squidclamav)
_squid   15649  0.0  0.7   776  2052 ??  Is 3:15PM0:00.16 
(squidclamav) (squidclamav)
_squid6213  0.0  0.7   672  2064 ??  Is 3:15PM0:00.16 
(squidclamav) (squidclamav)
_squid   17857  0.0  0.7   716  2076 ??  Is 3:15PM0:00.21 
(squidclamav) (squidclamav)
_squid   17810  0.0  0.7   756  2076 ??  Is 3:15PM0:00.17 
(squidclamav) (squidclamav)
_squid 988  0.0  0.7   652  2072 ??  Is 3:15PM0:00.14 
(squidclamav) (squidclamav)
_squid4536  0.0  0.7   608  1920 ??  Is 3:15PM0:00.15 
(squidclamav) (squidclamav)
_squid   13393  0.0  0.7   508  1952 ??  Is 3:15PM0:00.14 
(squidclamav) (squidclamav)
_squid 623  0.0  0.7   668  1936 ??  Is 3:15PM0:00.08 
(squidclamav) (squidclamav)
_squid   24677  0.0  0.7   696  1948 ??  Is 3:15PM0:00.10 
(squidclamav) (squidclamav)
_squid   30591  0.0  0.7   544  1940 ??  Is 3:15PM0:00.08 
(squidclamav) (squidclamav)
_squid   32597  0.0  0.7   688  1920 ??  Is 3:15PM0:00.14 
(squidclamav) (squidclamav)
_squid   24345  0.0  0.7   584  1920 ??  Is 3:15PM0:00.11 
(squidclamav) (squidclamav)
_squid3959  0.0  0.7   568  1940 ??  Is 3:15PM0:00.07 
(squidclamav) (squidclamav)
_squid   24872  0.0  0.7   668  1924 ??  Is 3:15PM0:00.14 
(squidclamav) (squidclamav)
_squid   26243  0.0  0.7   484  1924 ??  Is 3:15PM0:00.14 
(squidclamav) (squidclamav)
_squid   26139  0.0  0.7   528  1948 ??  Is 3:15PM0:00.14 
(squidclamav) (squidclamav)
_squid1263  0.0  0.7   516  1936 ??  Is 3:15PM0:00.13 
(squidclamav) (squidclamav)
_squid8850  0.0  0.7   588  1932 ??  Is 3:15PM0:00.07 
(squidclamav) (squidclamav)
_squid7546  0.0  0.7   504  1952 ??  Is 3:15PM0:00.13 
(squidclamav) (squidclamav)


After this error, squid can receive the request, and send the request to 
squidclamav, squidclamav, receive the request and (log) says:


[6972] DEBUG Request:http://www.openbsd.org/ 192.168.1.65/- - GET
[6972] DEBUG Sending request to chained program: /usr/local/bin/squidGuard

but all processes of squidguard are died...and they don't process the 
request.



Then, I've make different tests.


squid + squidguard (works fine)
squid + squidclamav (works fine)
squid + squidclamav + squidguard 

Re: SquidGuard problem

2010-05-04 Thread Stuart Henderson
On 2010-05-04, Alessandro Baggi alessandro.ba...@gmail.com wrote:
 Hi there.
  I've a problem using squidguard under openbsd (4.4, 4.5, 4.6) with this 
 combination (squid + squidclamav + squidguard). The problem is that 
 after different hours that squidguard got not request, all squidguard 
 processes becomes zombies.

 squid + squidguard (works fine)
 squid + squidclamav (works fine)
 squid + squidclamav + squidguard (squidguard processes becomes zombie)
 squid + ad-zap (zapchain) + squidclamav + squidguard (squidguard 
 processes becomes zombie)

Run 'ldd /path/to/squidclamav'. If it doesn't include
libpthread then try adding -pthread to the compiler flags when
you build it.