1.2-BETA-1-PRERELEASE-SNAPSHOT-04-21-07 - Too many squid services



  • Hello,

    I install this snapshot and following the squid package. Restart the pfsense.

    During the system boot, some messages in the screen about squid, like image1

    Why squid has reinstalled every boot? If my Wan conections is down the files squid.inc and squid_*.xml are empty.

    In the services a lot of squid services are showing, like image2

    And in the system logs this messages:

    
    Apr 23 09:08:23 	php: : New alert found: The squid package is missing required dependencies and must be reinstalled.
    Apr 23 09:08:23 	php: : Beginning package installation for 0.
    Apr 23 09:08:32 	php: : New alert found: The squid package is missing required dependencies and must be reinstalled.
    Apr 23 09:08:32 	php: : Beginning package installation for 0.
    Apr 23 09:08:39 	php: : New alert found: The squid package is missing required dependencies and must be reinstalled.
    Apr 23 09:08:39 	php: : Beginning package installation for 0.
    Apr 23 09:08:47 	php: : New alert found: The squid package is missing required dependencies and must be reinstalled.
    Apr 23 09:08:47 	php: : Beginning package installation for 0.
    Apr 23 09:08:57 	check_reload_status: check_reload_status is starting
    Apr 23 09:08:57 	check_reload_status: rc.newwanip starting
    Apr 23 09:08:58 	php: : Informational: rc.newwanip is starting le0.
    Apr 23 09:08:58 	php: : rc.newwanip working with IP address 10.0.1.129 wan le0.
    Apr 23 09:09:01 	php: : Informational: DHClient spawned /etc/rc.newwanip and the new ip is wan - 10.0.1.129.
    Apr 23 09:09:01 	php: : Creating rrd update script
    Apr 23 09:09:03 	php: : Resyncing configuration for all packages.
    Apr 23 09:09:03 	squid[752]: Squid Parent: child process 756 exited due to signal 15
    Apr 23 09:09:03 	php: : Reloading Squid for configuration sync
    Apr 23 09:09:03 	php: : New alert found: The squid package is missing required dependencies and must be reinstalled.
    Apr 23 09:09:03 	php: : Beginning package installation for 0.
    Apr 23 09:09:04 	Squid_Alarm[1133]: Squid has exited. Reconfiguring filter.
    Apr 23 09:09:04 	Squid_Alarm[1135]: Attempting restart...
    Apr 23 09:09:04 	squid[1142]: Squid Parent: child process 1145 started
    Apr 23 09:09:07 	login: login on ttyv0 as root
    Apr 23 09:09:07 	Squid_Alarm[1165]: Reconfiguring filter...
    Apr 23 09:09:09 	squid[1142]: Squid Parent: child process 1145 exited due to signal 9
    Apr 23 09:09:10 	php: : SQUID is installed but not started. Not installing redirect rules.
    Apr 23 09:09:10 	php: : SQUID is installed but not started. Not installing redirect rules.
    Apr 23 09:09:12 	php: : Stopping any running proxy monitors
    Apr 23 09:09:13 	php: : Starting Squid
    Apr 23 09:09:13 	php: : Starting a proxy monitor script
    Apr 23 09:09:13 	squid[1276]: Squid Parent: child process 1279 started
    Apr 23 09:09:14 	php: : Reloading Squid for configuration sync
    Apr 23 09:09:14 	php: : Reloading Squid for configuration sync
    Apr 23 09:09:16 	php: : New alert found: The squid package is missing required dependencies and must be reinstalled.
    Apr 23 09:09:16 	php: : Beginning package installation for 0.
    Apr 23 09:09:25 	php: : New alert found: The squid package is missing required dependencies and must be reinstalled.
    Apr 23 09:09:25 	php: : Beginning package installation for 0.
    Apr 23 09:09:32 	php: : New alert found: The squid package is missing required dependencies and must be reinstalled.
    Apr 23 09:09:32 	php: : Beginning package installation for 0.
    Apr 23 09:09:42 	php: : New alert found: The squid package is missing required dependencies and must be reinstalled.
    Apr 23 09:09:42 	php: : Beginning package installation for 0.
    Apr 23 09:09:49 	php: : New alert found: The squid package is missing required dependencies and must be reinstalled.
    Apr 23 09:09:49 	php: : Beginning package installation for 0.
    Apr 23 09:09:56 	php: : New alert found: The squid package is missing required dependencies and must be reinstalled.
    Apr 23 09:09:56 	php: : Beginning package installation for 0.
    Apr 23 09:10:03 	php: : XML error: not well-formed (invalid token) at line 1
    Apr 23 09:10:03 	php: : pfSense package system has detected an ip change -> 10.0.1.129 ... Restarting packages.
    Apr 23 09:10:06 	php: : Configuring slbd
    Apr 23 09:10:06 	check_reload_status: reloading filter
    Apr 23 09:10:08 	check_reload_status: updating dyndns
    
    

    Any suggestion?

    Thanks





  • Was this on a clean install or an upgrade?



  • Uninstall and reinstall the squid package.



  • Clean install in a VM machine.

    Ok, i will install and reinstall.



  • One doubt.

    In file /etc/inc/filter.inc and the code:

    if (is_package_installed('squid') && file_exists('/usr/local/pkg/squid.inc')) {
    		require_once('squid.inc');
    		$natrules .= squid_generate_rules('nat');
    	}
    

    Whats happys if the file squid.inc is empty? the function squid_generate_rules('nat') will not work.

    I have install squid and disconnected WAN interface of the Internet, reboot. During the boot, I see this error and nothing work again.


Log in to reply