I see, okay will check. 

Thank you very much! In deed a big help for me. 

Best Regards,
Robert- 

-----Original Message-----
From: Edel SM [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 19, 2004 3:52 PM
To: [EMAIL PROTECTED]
Cc: Philippine Linux Users Group Mailing List
Subject: Re: [plug] on Squid

what log? did you mean the swap or syslog? if there are no logfiles in
/var/log/squid dir, perhaps you disabled logging in
/etc/squid/squid.conf. logging is enabled by default.

if you have corrupt swap, you can delete the file /cache/swap.state
and restart squid. im not sure but i read that from hte squid list.

also, check that squid user has permission to read/write in all
diretories it want to touch. try: chmod -R squid:squid /cache&&chmod
-R squid:squid /var/log/squid

for your reference, here's my actual squid.conf file:

# My minimal squid.conf
# Edel SM
 
http_port 3128
ssl_unclean_shutdown off
icp_port 3130
htcp_port 0
hierarchy_stoplist cgi-bin ?
half_closed_clients off
server_persistent_connections off
client_persistent_connections off
#cache_peer parentcache.domain.com parent 3128 0 no-query prefer_direct
off
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 8 MB
cache_swap_low 93
cache_swap_high 95
maximum_object_size 4096 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 8 KB
store_avg_object_size 50 KB
memory_replacement_policy lru
cache_dir diskd /cache 900 16 256

cache_access_log /dev/null
cache_log /var/log/squid/cache.log
cache_store_log /dev/null

# for testing only
#cache_access_log /var/log/squid/access.log
#cache_log /var/log/squid/cache.log
#cache_store_log /var/log/squid/store.log

logfile_rotate 10
log_icp_queries off
buffered_logs on # 'off' while testing/debugging
request_header_max_size 12 KB
ftp_user [EMAIL PROTECTED]
ftp_list_width 32
ftp_passive on
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443 563     # https, snews
acl Safe_ports port 70          # gopher
acl Safe_ports port 210         # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280         # http-mgmt
acl Safe_ports port 488         # gss-http
acl Safe_ports port 591         # filemaker
acl Safe_ports port 777         # multiling http
acl Safe_ports port 901         # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl BLDG_LAN src 192.168.201.0/24
acl NOC_LAN src 192.168.200.0/24
acl NOC_DU src y.y.y.y/24
acl NOC_DMZ src x.x.x.x/27
acl web_server src x.x.x.y/32
http_access allow NOC_LAN
http_access allow BLDG_LAN
http_access allow NOC_DU
http_access allow NOC_DMZ
http_access allow web_server
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow all
cache_mgr [EMAIL PROTECTED]
cachemgr_passwd xyz all
cache_effective_user squid
cache_effective_group squid
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_single_host off
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
forwarded_for off
snmp_port 3401
snmp_access allow web_server
snmp_access allow localhost
snmp_access deny all
wccp_router 0.0.0.0
wccp_version 4
#

On Fri, 19 Nov 2004 14:59:08 +0800, Robert de los Santos
<[EMAIL PROTECTED]> wrote:
> 
> Hi Edel,
> 
> I think one of its logs was removed while on runlevel 5. what might be
> the solution.
> 
> 
> 
> Thanks!
> 
> Regards,
> Robert-
> 
> -----Original Message-----
> From: Edel SM [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 19, 2004 12:27 PM
> To: [EMAIL PROTECTED]
> Cc: Philippine Linux Users Group Mailing List
> Subject: Re: [plug] on Squid
> 
> sure bro, no prob. gudluck :)
> 
> On Fri, 19 Nov 2004 12:23:57 +0800, Robert de los Santos
> <[EMAIL PROTECTED]> wrote:
> > Okay. Thanks. Update you later.
> >
> > Thanks!
> >
> >
> >
> > -----Original Message-----
> > From: Edel SM [mailto:[EMAIL PROTECTED]
> > Sent: Friday, November 19, 2004 12:18 PM
> > To: [EMAIL PROTECTED]
> > Cc: Philippine Linux Users Group Mailing List
> > Subject: Re: [plug] on Squid
> >
> > no. you should first check if you have config
(/etc/squid/squid.conf)
> > errors that prevents youtr squid from starting.
> >
> > squid -d <level>
> >
> > check the output message, and you shoud now start fixing any erros
you
> > spotted. i can guess taht you forget initializing the cache disk,
> > permission, or an invalid entry in you config file.
> >
> > check at squid website (http://www.squid-cache.org) for more info.
> >
> > hth.
> >
> > On Fri, 19 Nov 2004 11:59:12 +0800, Robert de los Santos
> > <[EMAIL PROTECTED]> wrote:
> > > After this I need to restart the squid am I correct?..
> > >
> > > Then everything would be back to normal right? ..
> > >
> > >
> > >
> > >
> > > Thanks!
> > >
> > > Regards,
> > > Robert-
> > >
> > > -----Original Message-----
> > > From: Edel SM [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, November 19, 2004 11:46 AM
> > > To: [EMAIL PROTECTED]
> > > Cc: Philippine Linux Users Group Mailing List
> > > Subject: Re: [plug] on Squid
> > >
> > > in that case, try to remove the pid file manually by "rm -f
> > > /var/run/squid.pid".
> > >
> > > On Fri, 19 Nov 2004 11:41:33 +0800, Robert de los Santos
> > > <[EMAIL PROTECTED]> wrote:
> > > > I executed the squid -d level here is the output
> > > >
> > > > pag check ko sa status, squid dead but subsys locked
> > > > squid: ERROR: No running copy
> > > >
> > > >
> > > > What Should I do? ... advised pls.
> > > >
> > > > Thanks!
> > > >
> > > > Regards,
> > > > Robert-
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Edel SM [mailto:[EMAIL PROTECTED]
> > > > Sent: Friday, November 19, 2004 11:15 AM
> > > > To: [EMAIL PROTECTED]; Philippine Linux Users Group
Mailing
> > > List
> > > > Subject: Re: [plug] on Squid
> > > >
> > > > i think your squid has died, probably a config parsing error.
run
> > with
> > > > "squid -d<level>" to test and log error on stderr.
> > > >
> > > > On Fri, 19 Nov 2004 11:07:21 +0800, Robert de los Santos
> > > > <[EMAIL PROTECTED]> wrote:
> > > > > Hi peeps,
> > > > >
> > > > > Just like to ask anyone to interpret this error.
> > > > >
> > > > > Thanks!
> > > > >
> > > > > squid (pid 1791) is running...
> > > > > malxtrick: squid: ERROR: No running copy
> > > > >
> > > > > Regards,
> > > > > Robert-
> > > > >
> > > > > --
> > > > > Philippine Linux Users' Group (PLUG) Mailing List
> > > > > [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
> > > > > Official Website: http://plug.linux.org.ph
> > > > > Searchable Archives: http://marc.free.net.ph
> > > > > .
> > > > > To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
> > > > > .
> > > > > Are you a Linux newbie? To join the newbie list, go to
> > > > > http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
> 
>

--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to