Hi.
I noticed some windows updates were taking longer than normal to download.
As I had configured squid to cache the updates a long time ago, I didn't understand why the delay.
So... I logged into the server-manager and looked for the squid log files.
There weren't any....
So, I logged in via console and ran "ps aux | less", which didnt show squid running at all.
I had a look in /service/ for squid, and it wasn't there...
I tried to flush the cache using:
sv d /service/squid
echo "" > /var/spool/squid/swap.state
sv u /service/squid
it returned:
"unable to change to service directory: file does not exist"
However, if I run "squid" from the console without arguments it does nothing... ie doesn't throw a "command not found" error.
I haven't changed any settings on this server for months, so I'm not sure what has changed.
However, this could have occurred ages ago and I may not have noticed.
i had a look through the messages log. it had this:
Oct 9 15:05:55 webserver squid[3353]: Squid Parent: child process 3355 started
Oct 9 15:05:56 webserver squid[3355]: Failed to verify one of the swap directories, Check cache.log for
details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
Oct 9 15:05:56 webserver squid[3353]: Squid Parent: child process 3355 exited due to signal 6
Oct 9 15:05:59 webserver squid[3353]: Squid Parent: child process 3360 started
Oct 9 15:06:00 webserver squid[3360]: Failed to verify one of the swap directories, Check cache.log for
details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
Oct 9 15:06:00 webserver squid[3353]: Squid Parent: child process 3360 exited due to signal 6
Oct 9 15:06:03 webserver squid[3353]: Squid Parent: child process 3363 started
Oct 9 15:06:03 webserver squid[3363]: Failed to verify one of the swap directories, Check cache.log for
details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
Oct 9 15:06:03 webserver squid[3353]: Squid Parent: child process 3363 exited due to signal 6
Oct 9 15:06:06 webserver squid[3353]: Squid Parent: child process 3366 started
Oct 9 15:06:06 webserver squid[3366]: Failed to verify one of the swap directories, Check cache.log for
details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
Oct 9 15:06:06 webserver squid[3353]: Squid Parent: child process 3366 exited due to signal 6
Oct 9 15:06:09 webserver squid[3353]: Squid Parent: child process 3369 started
Oct 9 15:06:10 webserver squid[3369]: Failed to verify one of the swap directories, Check cache.log for
details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time.
Oct 9 15:06:10 webserver squid[3353]: Squid Parent: child process 3369 exited due to signal 6
Oct 9 15:06:10 webserver squid[3353]: Exiting due to repeated, frequent failures
so, I ran squid -z, as suggested, and it reported "creating swap directories" or words to that effect.
I rebooted, and the issue remains.
I tried looking at cache.log, but it also doesnt seem to exist - at least not in the server-manager logs.
I'm no expert with SME server, so I am aware that this could be a very serious case of user fault but...where has squid gone?
And if it actually has gone, what is the best way to reinstall it?
I seem to remember some page in the server manager that referred to squid settings and options to force users to use squid, or to bypass it... but after going through all the pages, I cannot find it.
Perhaps this has something to do with it?
I installed a few updates today including one that referred to squid, after I noticed this issue, just to see if that helped.
After a reboot I rechecked and issue remains.
Thanks for any advice you can provide.
Running sme8.1 in server-gateway mode...
Currently has all software updates as of today.