Squid problems please advise



  • Hey guys,

    Having some major issues with squid since I installed it last night. I installed Squid, Lightsquid, and SquidGuard. I only configured squid and went through SquidGuard a good bit, since most settings I can configure later. I woke up this morning to check system logs and heres what I see:

    Aug 21 09:07:51 squid[22091]: Exiting due to repeated, frequent failures
    Aug 21 09:07:51 squid[22091]: Squid Parent: child process 22533 exited due to signal 6
    Aug 21 09:07:51 kernel: pid 22533 (squid), uid 62: exited on signal 6
    Aug 21 09:07:51 squid[22533]: 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.
    Aug 21 09:07:51 squid[22091]: Squid Parent: child process 22533 started
    Aug 21 09:07:48 squid[22091]: Squid Parent: child process 22522 exited due to signal 6
    Aug 21 09:07:48 kernel: pid 22522 (squid), uid 62: exited on signal 6
    Aug 21 09:07:48 squid[22522]: 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.
    Aug 21 09:07:47 squid[22091]: Squid Parent: child process 22522 started
    Aug 21 09:07:44 squid[22091]: Squid Parent: child process 22375 exited due to signal 6
    Aug 21 09:07:44 kernel: pid 22375 (squid), uid 62: exited on signal 6
    Aug 21 09:07:44 squid[22375]: 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.
    Aug 21 09:07:44 squid[22091]: Squid Parent: child process 22375 started
    Aug 21 09:07:42 Squid_Alarm[22274]: Squid has resumed. Reconfiguring filter.
    Aug 21 09:07:41 squid[22091]: Squid Parent: child process 22108 exited due to signal 6
    Aug 21 09:07:41 kernel: pid 22108 (squid), uid 62: exited on signal 6
    Aug 21 09:07:41 squid[22108]: 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.
    Aug 21 09:07:40 squid[22091]: Squid Parent: child process 22108 started
    Aug 21 09:07:40 Squid_Alarm[22105]: Reconfiguring filter…
    Aug 21 09:07:37 squid[22091]: Squid Parent: child process 22094 exited due to signal 6
    Aug 21 09:07:37 kernel: pid 22094 (squid), uid 62: exited on signal 6
    Aug 21 09:07:37 squid[22094]: 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.
    Aug 21 09:07:37 squid[22091]: Squid Parent: child process 22094 started
    Aug 21 09:07:37 Squid_Alarm[22084]: Attempting restart…
    Aug 21 09:07:37 Squid_Alarm[22082]: Squid has exited. Reconfiguring filter.
    Aug 21 09:06:48 squid[21610]: Exiting due to repeated, frequent failures

    And the messages continue to be redundant. Can someone please tell me what I am doing wrong? Also, squidguard says STOPPED. No matter how many times I reinstall/uninstall all squid packages.

    I am running v 1.2.1 pfsense.

    Thanks guys,

    Brandon



  • Run 'squid -z' to create swap directories.



  • Can you tell me how to run squid -z? I have no idea where to input it for a program. I tried console and it did nothing. Sorry im a noob.



  • GUI>>Diagnostics>>Command prompt
    –-
    Execute Shell command

    input in Command line: squid -z
    press (Execute) button.



  • I got it…. Thanks so much, everything is now working.


Log in to reply