Project

General

Profile

Actions

Bug #1443

closed

Squid errors on updating version

Added by Lloyd Collins about 13 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Squid
Target version:
-
Start date:
04/16/2011
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
2.0
Affected Plus Version:
Affected Architecture:

Description

As per http://forum.pfsense.org/index.php/topic,35673.0.html some of us are experiencing Squid errors when updating from one version of 2.0RC to another.

I have installed Squid on PFSense 2.0RC1 versions pfSense-Full-2.0-RC1-i386-20110412-1007 and pfSense-Full-2.0-RC1-i386-20110322-2318.
The system log errors (newest on top) are:

Apr 12 20:29:28 php: /pkg_mgr_install.php: SQUID is installed but not started. Not installing "filter" rules.
Apr 12 20:29:28 php: /pkg_mgr_install.php: SQUID is installed but not started. Not installing "nat" rules.
Apr 12 19:51:45 php: : Reloading Squid for configuration sync
Apr 12 19:51:36 php: : Not calling package sync code for dependency squidcache of squid because some include files are missing.
Apr 12 19:51:36 php: : Not calling package sync code for dependency squidusers of squid because some include files are missing.
Apr 12 19:51:36 php: : Not calling package sync code for dependency squidauth of squid because some include files are missing.
Apr 12 19:51:36 php: : Not calling package sync code for dependency squidupstream of squid because some include files are missing.
Apr 12 19:51:36 php: : Not calling package sync code for dependency squidtraffic of squid because some include files are missing.
Apr 12 19:51:36 php: : Not calling package sync code for dependency squid of squid because some include files are missing.
Apr 12 19:51:36 php: : Not calling package sync code for dependency squidnac of squid because some include files are missing.
Apr 12 19:51:36 php: : Not calling package sync code for dependency squidcache of squid because some include files are missing.
Apr 12 19:51:35 squid56818: Squid Parent: child process 57246 started
Apr 12 19:51:35 php: : Starting Squid
Apr 12 19:51:32 php: : SQUID is installed but not started. Not installing "filter" rules.
Apr 12 19:51:32 php: : SQUID is installed but not started. Not installing "nat" rules.
Apr 12 19:51:32 php: : SQUID is installed but not started. Not installing "filter" rules.
Apr 12 19:51:31 php: : SQUID is installed but not started. Not installing "nat" rules.
Apr 12 19:51:20 php: : SQUID is installed but not started. Not installing "filter" rules.
Apr 12 19:51:19 php: : SQUID is installed but not started. Not installing "nat" rules.
Apr 12 19:50:53 php: : SQUID is installed but not started. Not installing "filter" rules.
Apr 12 19:50:53 php: : SQUID is installed but not started. Not installing "nat" rules.
Apr 12 19:50:50 php: : SQUID is installed but not started. Not installing "filter" rules.
Apr 12 19:50:50 php: : SQUID is installed but not started. Not installing "nat" rules.

I can't provide Squid log errors as I have uninstalled the package so the logs have been deleted.

Actions #1

Updated by Lloyd Collins about 13 years ago

UPDATE: I have just reinstalled the latest version of 2.0RC1-i386-20110415-11416 and I still have the same issues. This was a clean install. The errors from the system log are:

Apr 17 03:10:25 php: : Not calling package sync code for dependency squidcache of squid because some include files are missing.
Apr 17 03:10:25 php: : Not calling package sync code for dependency squidusers of squid because some include files are missing.
Apr 17 03:10:25 php: : Not calling package sync code for dependency squidauth of squid because some include files are missing.
Apr 17 03:10:25 php: : Not calling package sync code for dependency squidupstream of squid because some include files are missing.
Apr 17 03:10:25 php: : Not calling package sync code for dependency squidtraffic of squid because some include files are missing.
Apr 17 03:10:25 php: : Not calling package sync code for dependency squid of squid because some include files are missing.
Apr 17 03:10:25 php: : Not calling package sync code for dependency squidnac of squid because some include files are missing.
Apr 17 03:10:25 php: : Not calling package sync code for dependency squidcache of squid because some include files are missing.

Actions #2

Updated by Chris Buechler about 13 years ago

  • Project changed from pfSense to pfSense Packages
  • Target version deleted (2.0)
Actions #3

Updated by Chris Buechler about 13 years ago

  • Category set to Squid
Actions #4

Updated by Lloyd Collins about 13 years ago

More information:

Reinstalling the package allows it to run for the period of time that the system is up. As soon as the system is restarted the errors occur again and the package needs to be reinstalled to make it run. Also, if the service is stopped or restarted in the service page of the webgui, it cannot be restarted without reinstalling the package.

There are no issues with using Squid once it is started, it just won't start on a reboot/service stop with these errors.

Actions #5

Updated by Jim Pingle about 13 years ago

I can't reproduce this. I have installed/reinstalled/uninstalled and starting and stopping the service works as expected. There is about a 5-second delay when it's stopped because the rc script sleeps for 5 seconds in the middle to make sure it has stopped cleanly before forcibly killing it during the stop command (which also runs during restart)

So if you refresh the page right away, it may show stopped, but wait 5-10 seconds and it's running as it should.

I never did see the "include files are missing" error either.

Actions #6

Updated by Lloyd Collins about 13 years ago

I definitely have the errors, as does Nachtfalke as per http://forum.pfsense.org/index.php/topic,35673.0.html

I installed and reinstalled (after a clean format) PFSense and squid yesterday and the issue still persisted.

Actions #7

Updated by Jim Pingle almost 13 years ago

Lloyd is still having issues (See #1563)

I still can't reproduce this no matter what I do.

Actions #8

Updated by Lloyd Collins over 12 years ago

I just checked and this is happening in the release version as well, in both VMware and on physical hardware.

Actions #9

Updated by Lloyd Collins over 12 years ago

This is now less of an issue as I have found that Squid will still run correctly. The error messages still appear, but the service does stop and restart in the correct manner. The web page just doesn't update unless a different page is selected and the services page is returned to.

Actions #10

Updated by Alexander Wilke over 12 years ago

Hi,

I do not have any problem that squid isn't starting after a reboot. It is starting just fine and squid is working. The only problem is the output of that dependencies are missing - like it is written in the first post. But this is only happening after a reboot of pfsense - not after restarting the service.

I found out that these erros disappear if I change this line in all .XML files from this

<include_file>squid.inc</include_file>

to this:

<include_file>/usr/local/pkg/squid.inc</include_file>

I hvae/had the same problems with freeradius and freeradius2 package.
I changed <include_file> like above and then the problems for both freeradius packages disappeard.

Actions #11

Updated by Jim Pingle over 12 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Applied in changeset commit:be323f2c81a23357869ae23be68057b2469976f1.

Actions #12

Updated by Jim Pingle almost 12 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF