My Squid proxy



  • I am running ver 2.3.2  and I just installed the Squid Proxy server and it keeps turning its self off shortly after I start it can anyone tell me did I miss something again. I tried to follow a guy on youtube that set his up and I did it just like he did but mine keeps turning off.  In the service status it keeps saying that it is starting and stopping is it suppose to do that or stay running.


  • Banned

    Sigh. There's the realtime tab with logs; there are also pfSense logs (Status - System Logs). Both of those will provide much more useful info than YT.  ::)



  • This is what the service log shows I am not understanding about the rules thing and the other stuff it says can you help me figure it out just point me in the right direction I want to try to figure it out on my own but i need a little push in the right direction to get my brain to understand LOL.

    Thanks for responding.

    Nov 28 18:54:48 (squid-1) UFSSwapDir::openLog: Failed to open swap log.
    Nov 28 18:54:49 check_reload_status Reloading filter
    Nov 28 18:54:49 check_reload_status Syncing firewall
    Nov 28 18:54:49 check_reload_status Reloading filter
    Nov 28 18:54:49 php-fpm 63972 /pkg_edit.php: [squid] - squid_resync function call pr:1 bp: rpc:no
    Nov 28 18:54:50 php-fpm 64757 /rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'nat' rules.
    Nov 28 18:54:51 xinetd 15288 Starting reconfiguration
    Nov 28 18:54:51 xinetd 15288 Swapping defaults
    Nov 28 18:54:51 xinetd 15288 readjusting service 6969-udp
    Nov 28 18:54:51 xinetd 15288 Reconfigured: new=0 old=1 dropped=0 (services)
    Nov 28 18:54:51 php-fpm 64757 /rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'pfearly' rules.
    Nov 28 18:54:52 php-fpm 64757 /rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'filter' rules.
    Nov 28 18:54:52 (squid-1) UFSSwapDir::openLog: Failed to open swap log.
    Nov 28 18:54:54 php-fpm 73522 /rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'nat' rules.
    Nov 28 18:54:54 xinetd 15288 Starting reconfiguration
    Nov 28 18:54:54 xinetd 15288 Swapping defaults
    Nov 28 18:54:54 xinetd 15288 readjusting service 6969-udp
    Nov 28 18:54:54 xinetd 15288 Reconfigured: new=0 old=1 dropped=0 (services)
    Nov 28 18:54:54 php-fpm 73522 /rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'pfearly' rules.
    Nov 28 18:54:55 php-fpm 73522 /rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'filter' rules.
    Nov 28 18:54:55 (squid-1) UFSSwapDir::openLog: Failed to open swap log.
    Nov 28 18:54:57 php-fpm 63972 /pkg_edit.php: [squid] Removing cronjobs …
    Nov 28 18:54:57 check_reload_status Syncing firewall
    Nov 28 18:54:57 check_reload_status Syncing firewall
    Nov 28 18:54:57 php-fpm 63972 /pkg_edit.php: [squid] Antivirus features disabled.
    Nov 28 18:54:57 php-fpm 63972 /pkg_edit.php: [squid] Stopping and disabling C-ICAP…
    Nov 28 18:54:59 (squid-1) UFSSwapDir::openLog: Failed to open swap log.
    Nov 28 18:55:02 (squid-1) UFSSwapDir::openLog: Failed to open swap log.
    Nov 28 18:55:02 php-fpm 63972 /pkg_edit.php: [squid] Stopping and disabling ClamAV…
    Nov 28 18:55:13 php-fpm 63972 /pkg_edit.php: [squid] ClamAV still running, forcibly killing clamd process(es).
    Nov 28 18:55:13 php-fpm 63972 /pkg_edit.php: [squid] Removing freshclam cronjob.
    Nov 28 18:55:13 check_reload_status Syncing firewall
    Nov 28 18:55:13 php-fpm 63972 /pkg_edit.php: [squid] Stopping any running proxy monitors
    Nov 28 18:55:14 check_reload_status Reloading filter
    Nov 28 18:55:15 php-fpm 74900 /rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'nat' rules.
    Nov 28 18:55:15 xinetd 15288 Starting reconfiguration
    Nov 28 18:55:15 xinetd 15288 Swapping defaults
    Nov 28 18:55:15 xinetd 15288 readjusting service 6969-udp
    Nov 28 18:55:15 xinetd 15288 Reconfigured: new=0 old=1 dropped=0 (services)
    Nov 28 18:55:15 php-fpm 74900 /rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'pfearly' rules.
    Nov 28 18:55:16 php-fpm 74900 /rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'filter' rules.



  • Sorry forgot to say the real time log doesn’t say anything about what’s going on just that the anti virus deal is updating and that’s about it nothing else is showing in there.


  • Banned

    
    Nov 28 18:54:50 	php-fpm 	64757 	/rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'nat' rules.
    Nov 28 18:54:51 	php-fpm 	64757 	/rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'pfearly' rules.
    Nov 28 18:54:52 	php-fpm 	64757 	/rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'filter' rules.
    Nov 28 18:54:54 	php-fpm 	73522 	/rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'nat' rules.
    Nov 28 18:54:54 	php-fpm 	73522 	/rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'pfearly' rules.
    Nov 28 18:54:57 	php-fpm 	63972 	/pkg_edit.php: [squid] Antivirus features disabled.
    Nov 28 18:54:57 	php-fpm 	63972 	/pkg_edit.php: [squid] Stopping and disabling C-ICAP...
    Nov 28 18:55:15 	php-fpm 	74900 	/rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'nat' rules.
    Nov 28 18:55:15 	php-fpm 	74900 	/rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'pfearly' rules.
    Nov 28 18:55:16 	php-fpm 	74900 	/rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'filter' rules. 
    
    

    Your Squid is disabled. No wonder it won't start. Kindly tick the Enable checkbox and save.



  • I did have it checked this was just after i turned it off after it keep turning its self off. So I came here to see if someone could tell me why it keeps shutting down on me. I am still new to this stuff but i want to learn I* just don't get the firewall rules and nat and all the different stuff that goes with it.

    is there a place here i should be looking i am not sure how to do searches for things here yet i have a hard time trying to get things to come up i guess i am not asking the right questions in the search box or something.

    so if there is a place to go here or on a sight that deals with things that deal with setting up pfsense let me know and i will go see if i can read up on it and maybe answer my own questions LOL.

    But thank you for the help so far i will keep checking back for any answers i can get from you folks here thanks again. Ron Frazier AKA Wildmanron


  • Banned

    Uncheck the other box ("Keep Settings/Data"), Save, remove Squid, reinstall and reconfigure from scratch. No explanation for your self-disabling Squid, sorry.



  • UFSSwapDir::openLog: Failed to open swap log
    

    I wonder if squid can't write to its own logs due to incorrect user permissions?  Was this an upgrade from pfSense 2.2.x?  There was a similar issue awhile back.  This might be easily fixed but dok's idea is better.  Blow it all away and then reinstall it.



  • Sorry it took so long to get back to you on the upgrade yes it was I forget what ver I started with it upgraded like two or three times I cant remember right now but yes it was up grade.

    I have taking the system back to the beginning of when I first got it up and running and am just doing with out the squid for now I am looking for new system to build or buy to redo pfsense I will be using the new ver I downloaded and burned to disk.

    I hope that fixes the problem.

    I  will keep you all up to date with my progress on getting it to work with new system. Thanks for the help so far though I would still be wondering around in the dark if it wasn’t for you folks so thank you so very much.