squid error

This is a discussion on squid error within the Squid Users forums, part of the Web Server and Related Forums category; I have RH9 with squid installed linux server.we have 256kbps leased line.In this linux server around 50 systems ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-14-2006
jp_durai@hotmail.com
 
Posts: n/a
Default squid error

I have RH9 with squid installed linux server.we have 256kbps leased
line.In this linux server
around 50 systems with win2Kprof connected with .Browsing is going on
smoothly.
Yesterday suddenly all the clients could not able to browse. In linux I
confirmed Internet connection was there.

I gave the command service squid status .It replies

squid dead but subsys locked
squid :ERROR.Not running copy

After sometime i gave same service squid status
then it replies 'squid(pid5221 5210) is running squid : Error No
running copy'

What is this problem.
How to eliminate and correct

Please reply

Reply With Quote
  #2 (permalink)  
Old 03-15-2006
jasper.zondervan@gmail.com
 
Posts: n/a
Default Re: squid error

>I gave the command service squid status .It replies
>squid dead but subsys locked
>squid :ERROR.Not running copy
>After sometime i gave same service squid status
>then it replies 'squid(pid5221 5210) is running squid : Error No
>running copy'
>What is this problem.
>How to eliminate and correct


For some reason your Squid server stopped working. Try restarting your
linux server, if Squid fails to start, take a look at the log files
(usually in /var/log/squid) and see if you can find a cause there.
Common causes include no working internet connection, cache or log disk
with no free space, but it could be anything of course..

Reply With Quote
  #3 (permalink)  
Old 03-16-2006
jp_durai@hotmail.com
 
Posts: n/a
Default Re: squid error

Thank u for ur nice reply.

You said some common causes.
Internet connection is there , Using iptables it is working fine.

We use iptables as well as squid.Squid stopped by giving this above
problems.

So iptables helped this peculiar time

can you explain more about 'no free space' and how to check cache? how
to clear and what are the logs for squid working?

Thanks in advance

Reply With Quote
  #4 (permalink)  
Old 03-16-2006
jasper.zondervan@gmail.com
 
Posts: n/a
Default Re: squid error

>can you explain more about 'no free space' and how to check cache? how
>to clear and what are the logs for squid working?


Check the available disk space on the host with a 'df -H' on a console.
You should have at least 90% free disk space on the partition with your
cache. Also, make sure the drive containing the log-files has enough
free space. You might want to check your /etc/squid.conf for the
location of your cache and log-files.

Also, most errors are logged in a couple of log-files. These are
usually in /var/log/squid, although it might be different on your
system (i'm not a RedHat user). Check the most recent logs, they should
contain errormessage(s). If you post those messages here I might be
able to give you a clue about what is causing squid to fail.

Regards,

Jasper

Reply With Quote
  #5 (permalink)  
Old 03-16-2006
jasper.zondervan@gmail.com
 
Posts: n/a
Default Re: squid error

>You should have at least 90% free disk space on the partition with your
>cache.


Sorry, this should be 10% of course :)

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:05 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0