Hi all!
Now that the last Linux and glibc are more thread aware and that oops should work really
fine on them, I have that beautifull Gentoo with a 2.6.11 kernel and squid+dansguardian
that I'd like to substitue with the wanderfull oops + dansguardian.
The problem is that the wanderfull oops works only if I go on google. It is, b.e., if I try
to open the site www.comune.cossato.bi.it, my browser doesn't come to it but it continues to
try to open without success and without error messages, instead if I go on google (that works),
I search "comune cossato" and then I click on the google result link, I arrive without trouble
on www.comune.cossato.bi.it.
I read the really good D.Robinson's article on oops, but I can't solve this issue.
Any hints will be greatly apreciated.
Here you are my oops.cfg:
nameserver 192.168.1.122 http_port 8080 userid squid logfile /var/log/oops/oops.log accesslog /var/log/oops/oops.access pidfile /var/run/oops/oops.pid statistics /var/log/oops/oops_statfile mem_max 128m lo_mark 96m #start_red 0 start_red 500 #refuse_at 0 refuse_at 500 default-expire-value 7 ftp-expire-value 7 max-expire-value 30 last-modified-factor 5 default-expire-interval 1 #icp_timeout 1000 disk-low-free 3 disk-ok-free 5 force_http11 always_check_freshness force_completion 80 maxresident 3m insert_x_forwarded_for no insert_x_forwarded_for no #connect-from localhost stop_cache ? stop_cache cgi-bin
group cossato {
networks 127.0.0.0/30 ;
# redir_mods fastredir;
badports [0:79],110,138,139,513,[6000:6010] ;
miss allow;
http {
allow dstdomain * ;
}
}group world {
networks 0/0;
badports [0:79],110,138,139,513,[6000:6010];
http {
deny dstdomain * ;
}
}storage {
#path /var/lib/oops/storage/oops_storage ;
path /var/cache/squid/oops_storage ;
size 1000m ;
}module oopsctl {
# path to oopsctl unix socket
socket_path /var/run/oops/oopsctl;
# time to auto-refresh page (seconds)
html_refresh 300;
}module vary {
user-agent by_charset;
accept-charset ignore;
}module berkeley_db {
dbhome /var/lib/oops/db;
dbname dburl;
}
This is the last excerpt of the oops.log:
Mon Apr 4 10:39:52 2005 [0x4000]open_db(): dbp->open(dburl;): (2)
Mon Apr 4 10:39:52 2005 [0x4000]init_domain_name(): 4: host_name = `squid' domain_name = `.(none)'
Mon Apr 4 10:39:52 2005 [0x4000]report_limits(): RLIMIT_DATA: 4294967295
Mon Apr 4 10:39:52 2005 [0x4000]report_limits(): RLIMIT_NOFILE: 8196
Mon Apr 4 10:39:52 2005 [0x4000]report_limits(): RLIMIT_CORE: 0
Mon Apr 4 10:39:52 2005 [0x4000]report_limits(): RLIMIT_NPROC: 4095
Mon Apr 4 10:39:52 2005 [0x4000]main(): oops 1.5.23 Started.
Mon Apr 4 10:39:52 2005 [0x4000]run(): http_listen on descriptor 29
Mon Apr 4 10:39:52 2005 [0x4000]run(): icp_listen on descriptor 30
Mon Apr 4 10:39:52 2005 [0x4000]Starting threads
Mon Apr 4 10:39:52 2005 [0x4002]prep_storages(): Storages checked.
Mon Apr 4 10:39:52 2005 [0x8003]Statistics started.
Mon Apr 4 10:39:52 2005 [0xc004]Garbage collector started.
Mon Apr 4 10:39:52 2005 [0x10005]Garbage drop started.
Mon Apr 4 10:39:52 2005 [0x18007]Clean disk started.
Mon Apr 4 10:39:52 2005 [0x14006]Log rotator started.
Mon Apr 4 10:39:52 2005 [0x1c002]Eraser started.
Mon Apr 4 10:40:18 2005 [0x4000]cleanup(): Clean up and exit.
Mon Apr 4 10:40:18 2005 [0x4000]cleanup(): Flushing mem_cache.
Mon Apr 4 10:40:18 2005 [0x4000]cleanup(): Locking config.
Mon Apr 4 10:40:18 2005 [0x4000]cleanup(): Locking config...Done.
Mon Apr 4 10:40:18 2005 [0x4000]cleanup(): Locking /var/cache/squid/oops_storage
Mon Apr 4 10:40:18 2005 [0x4000]cleanup(): Storage /var/cache/squid/oops_storage closed.
and the oops.acess errors are of the type:
1112602740.000 308 127.0.0.1 TCP_ERROR/200 4160 GET http://www.comune.cossato.bi.it/ - DIRECT/www.comune.cossato.bi.it text/html
while the successful connections to google have TCP_MISS/200 instead of TCP_ERROR/200.
Best regards to all and thx to replying people,
Andrea Ferraris
===================================================================== If you would like to unsubscribe from this list send message to [EMAIL PROTECTED] with "unsubscribe oops-eng" in message body. Archive is accessible on http://lists.paco.net/oops-eng/
