Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi
Ive installed squid on a debian system using webmin to administrate it...It serves 30 computers and it has been doing fine for the first 5 days ..on the sixth day it stopped working and any request on port 80 would only result in the typical IE page.."The page you requested...404"...NOT the squid error page...so I cleared and rebuilt the cache and everything worked allright..what must I do to prevent this from happening again .
P.S.. the syslogs did not reveal anything about the issue
could it be that you had accidentally deleted the cache?? granted, i'm not sure if that would actually produce those kinda effects (IE's error page instead of Squid's), but maybe you can try and see if it does...
also, did you try doing other things before you rebuilt the cache?? maybe a reboot, restarting squid, or something like that?? i'm just wondering whether restarting squid (without rebuilding the cache) would have brought it back online...
AFAIK, if squid doesnot finds the cache directory it will complain and fail to start. you have to create the dir manually and see to it that squid has proper permission to write to it.
I surely did not erase the cache..because the problem happened out of a sudden without me touching the whole system for a couple of days..and I tried the usual stuff reboot squid..etc..and even a system reboot "The result of a power outage --Typical in Lebanon--
AFAIK, if squid doesnot finds the cache directory it will complain and fail to start. you have to create the dir manually and see to it that squid has proper permission to write to it.
okay, then this adds weight to the idea that the cache was deleted/altered on day 6... IIRC a "squid -z" won't fix permissions, so if it was permissions then the cache wouldn't have been able to be rebuilt - unless the webmin front-end takes care of permissions also when rebuilding...
I surely did not erase the cache..because the problem happened out of a sudden without me touching the whole system for a couple of days..and I tried the usual stuff reboot squid..etc..and even a system reboot "The result of a power outage --Typical in Lebanon--
wait, this started to happen right after a power outage??
actually, i take that back... i just tried it and it seems "squid -z" will create the cache dir (with proper permissions) if it doesn't exist... yet, it will (of course) terminate if the cache dir doesn't have the right permissions... examples:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.