Problems with Squid and SpamD
-
Ok I managed to run squid manually, first using squid -z to create squid swap. Now it seems to work …
(and it went down ...)Edit :
It still wont work for long, and I cant start the service from the GUI :(
Ok I managed to run squid manually, first using squid -z to create squid swap. Now it seems to work ...
(and it went down ...)Edit :
It still wont work for long, and I cant start the service from the GUI :(
Jul 2 15:07:01 squid[47274]: Squid Parent: child process 47297 exited due to signal 6
Jul 2 15:07:04 squid[47274]: Squid Parent: child process 47307 started
Jul 2 15:07:04 kernel: pid 47307 (squid), uid 62: exited on signal 6
Jul 2 15:07:04 (squid): 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.
Jul 2 15:07:04 squid[47274]: Squid Parent: child process 47307 exited due to signal 6
Jul 2 15:07:07 squid[47274]: Squid Parent: child process 47316 started
Jul 2 15:07:07 kernel: pid 47316 (squid), uid 62: exited on signal 6
Jul 2 15:07:07 (squid): 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.
Jul 2 15:07:07 squid[47274]: Squid Parent: child process 47316 exited due to signal 6
Jul 2 15:07:07 squid[47274]: Exiting due to repeated, frequent failures
Jul 2 15:09:43 squid[47495]: Squid Parent: child process 47497 started
Jul 2 15:11:35 squid[47692]: Squid Parent: child process 47694 started
Jul 2 15:11:35 squid[47692]: Squid Parent: child process 47694 exited due to signal 15
Jul 2 15:12:20 squid[48124]: Squid Parent: child process 48128 started
Jul 2 15:12:46 squid[48274]: Squid Parent: child process 48276 started
Jul 2 15:15:10 squid[48569]: Squid Parent: child process 48572 started
Jul 2 15:16:18 squid[48792]: Squid Parent: child process 48794 started
Jul 2 15:17:14 squid[49330]: Squid Parent: child process 49332 started
Jul 2 15:21:50 squid[50118]: Squid Parent: child process 50120 startedThe transparent mode is activated but does not work.
-
Am i the only one to use or try to use SpamD ? (well, and Squid)
-
hi,
i am in the same situation as u are regarding squid proxy server not starting, causing internet to be slow because i am not able to use upstream proxy as well.
hadi57
-
run 'squid -z' in command prompt
in log this recommended -
You have to do a cvsupdate update in RC1 to get squid to start correctly from the web page. Otherwise it won't start at all. It's a bug in RC1 pressed CD (haven't checked RC1a or the July 5th version that just came out, I'll give you an update in a few).
-
I have RELENG_1_SNAPSHOT-07-03-2006
built on Fri Jun 16 01:10:36 UTC 2006 -
I had the same problem getting Squid to start. Had to squid -z then reboot pfsense for it to start up properly. It still won't start from the GUI though.
-
I am having the same issues with Squid. I can't start it from the GUI.
Any solution to this problem?
-carlo
-
Do a cvs_sync.sh update… Seems to have fixed the problem for me a week or so ago.
-
If at all do a "cvs_sync.sh releng_1" !!! But be aware that this will be tha last sync that will work for releng_1. We disabled this as we from now on only want people to use firmwareupdates that we officially release.
-
I was having the same problem with RC1, I did the cvs_sync.sh update and my system has updated to RC2, but I was still having the problem.
I've looked the code to start a service, and I've seen that the problem was with the function mwexec_bg which is in the /etc/inc/util.inc file
When this function calls php exec function, it uses:
exec("nohup $command > /dev/null 2>&1 &");
I've been trying some combinations, and the problem was with the redirection to stdout, all the others things runs with any problem. So, I've changed the code to look like:
exec("nohup $command 2> /dev/null &");
And squid then starts through the gui with no problem. I hope this change won't break any other thing (I think the only problem which can cause is about the creation of the nohup.out file)
-
Thx
I will do testing this too -
This is not the correct fix. That function is used throughout the system and isnt something we should just start changing for the sake of it. The problem resides in the package, not in pfSense common functions.
-
Any body who profy pls look /usr/local/etc/rc.d/squid.sh
In my system this have right 0755 and group and owner '500'
any other scripts files have owner 'root'#!/bin/sh # This file was automatically generated # by the pfSense service handler. rc_start() { squid -D } rc_stop() { squid -k shutdown # Just to be sure... killall squid 2>/dev/null sleep 1 killall squid 2>/dev/null } case $1 in start) rc_start ;; stop) rc_stop ;; restart) rc_stop rc_start ;; esac
-
I'm now running RC2 and I still have the same problem, I'm still not able to run squid from GUI and it also fails to start when i (re)boot.
If the problem above isn't the proper way to fix it what is?
thx,
Carlo
-
Uninstall and reinstall the squid package.
-
Seems to be working now :)
Thx!
Carlo
-
I'm having the same problem with squid to signal 6 exit won't start in the GUI and I'm running RC2, I also can add IP's to the blacklist and nada, zip no blocks on the websites that the IP's refer too. Also I was under the impression that you could enter host names into squid does the slimed down package (squid) for pfsense not allow that (i get error messg) when I put hotmail.com in the blacklist section.
Thanks
pfSense is a Great system!!!
been there done that two or three times…
-
Uninstall and reinstall the squid package.