Problems with Squid and SpamD
-
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.