Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Squid error messages on startup

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 4 Posters 2.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      majortom1981
      last edited by

      We have squid running on pfsense 2.0 release . IT works but on startup there are a whole bunch of error messages relating to squid. It seems like squid has trouble starting and does eventually.

      here are some of the messages. Are these normal or is there a problem. We even tried a fresh install and still get these errors.

      WARNING lots of text

      "
      Sep 22 06:53:29 php: : Starting Squid
      Sep 22 06:53:29 check_reload_status: Syncing firewall
      Sep 22 06:53:27 php: : SQUID is installed but not started. Not installing "filter" rules.
      Sep 22 06:53:27 php: : SQUID is installed but not started. Not installing "pfearly" rules.
      Sep 22 06:53:27 php: : SQUID is installed but not started. Not installing "nat" rules.
      Sep 22 06:53:22 php: : SQUID is installed but not started. Not installing "filter" rules.
      Sep 22 06:53:22 php: : SQUID is installed but not started. Not installing "pfearly" rules.
      Sep 22 06:53:17 php: : Not calling package sync code for dependency squidcache of squid because some include files are missing.
      Sep 22 06:53:17 php: : Not calling package sync code for dependency squidusers of squid because some include files are missing.
      Sep 22 06:53:17 php: : Not calling package sync code for dependency squidauth of squid because some include files are missing.
      Sep 22 06:53:17 php: : Not calling package sync code for dependency squidupstream of squid because some include files are missing.
      Sep 22 06:53:17 php: : Not calling package sync code for dependency squidtraffic of squid because some include files are missing.
      Sep 22 06:53:17 php: : Not calling package sync code for dependency squid of squid because some include files are missing.
      Sep 22 06:53:17 php: : Not calling package sync code for dependency squidnac of squid because some include files are missing.
      Sep 22 06:53:17 php: : Not calling package sync code for dependency squidcache of squid because some include files are missing.
      Sep 22 06:53:17 check_reload_status: Reloading filter
      Sep 22 06:53:17 hp: : The command '/usr/local/sbin/squid -k reconfigure' returned exit code '1', the output was 'squid: ERROR: No running copy'
      Sep 22 06:53:17 php: : Reloading Squid for configuration sync
      Sep 22 06:53:17 php: : Not calling package sync code for dependency squidcache of squid because some include files are missing.
      Sep 22 06:53:16 php: : Not calling package sync code for dependency squidusers of squid because some include files are missing.
      Sep 22 06:53:16 php: : Restarting/Starting all packages.
      Sep 22 06:53:16 php: : Not calling package sync code for dependency squidauth of squid because some include files are missin
      Sep 22 06:53:16 php: : Not calling package sync code for dependency squidupstream of squid because some include files are missing.
      Sep 22 06:53:16 php: : Not calling package sync code for dependency squidtraffic of squid because some include files are missing.
      Sep 22 06:53:16 php: : Not calling package sync code for dependency squid of squid because some include files are missing.
      Sep 22 06:53:16 php: : Not calling package sync code for dependency squidnac of squid because some include files are missing.
      Sep 22 06:53:16 php: : Not calling package sync code for dependency squidcache of squid because some include files are missing.
      Sep 22 06:53:16 check_reload_status: Reloading filter
      Sep 22 06:53:16 squid[28726]: Squid Parent: child process 28975 started
      Sep 22 06:53:16 php: : Starting Squid
      "

      1 Reply Last reply Reply Quote 0
      • N
        Nachtfalke
        last edited by

        Not sure if this is "normal" or not but I am using squid, too and I got the same error messages as you. For me squid is working without any problems and I think for many other, too.

        Just use it, it will work :-)

        1 Reply Last reply Reply Quote 0
        • L
          LinuxTracker
          last edited by

          I'm having the same log entries as well, except Squid never starts.
          I've installed it (w/ squidguard) on a couple of dozen  pfSense boxes and it's always behaved before.

          What I did:
          Without any packages installed - I updated to i386-20110929-1702 from http://files.pfsense.org/jimp/ipv6/

          Straightened out the ntpd not running issue.
          Installed unbound and fixed Unbound not running issue.
          Installed CountryBlock+IPBlocklist without issue.

          Installed Squid this morning - No errors during the install but Squid won't start.
          Tried to access the config page and got No Such File or Directory /usr/local/sbin/squid .
          I touch /usr/local/sbin/squid, chown -R root:wheel squid, chmod 555 squid .

          That ditched that error but squid still isn't starting.
          I installed squidguard and config'd it but no luck.

          I uninstalled everything  but squid and rebooted.  Squid won't start.

          The only clue I have is that the Language Dropdown is empty on the Proxy Server -> General page.

          Edit:Latest Install Logs.

          Oct 12 13:53:51 	php: : SQUID is installed but not started. Not installing "filter" rules.
          Oct 12 13:53:51 	php: : SQUID is installed but not started. Not installing "pfearly" rules.
          Oct 12 13:53:50 	php: : SQUID is installed but not started. Not installing "nat" rules.
          Oct 12 13:53:45 	check_reload_status: Reloading filter
          Oct 12 13:53:40 	php: : SQUID is installed but not started. Not installing "filter" rules.
          Oct 12 13:53:40 	php: : SQUID is installed but not started. Not installing "pfearly" rules.
          Oct 12 13:53:40 	php: : SQUID is installed but not started. Not installing "nat" rules.
          Oct 12 13:53:35 	php: : SQUID is installed but not started. Not installing "filter" rules.
          Oct 12 13:53:35 	php: : SQUID is installed but not started. Not installing "pfearly" rules.
          Oct 12 13:53:35 	php: : SQUID is installed but not started. Not installing "nat" rules.
          Oct 12 13:53:35 	php: /pkg_edit.php: Starting Squid
          Oct 12 13:53:30 	php: /pkg_edit.php: Creating squid cache subdirs in /var/squid/cache
          Oct 12 13:53:30 	check_reload_status: Reloading filter
          Oct 12 13:53:30 	check_reload_status: Syncing firewall
          Oct 12 13:53:30 	check_reload_status: Reloading filter
          Oct 12 13:53:20 	php: /pkg_edit.php: Starting Squid
          Oct 12 13:53:15 	php: /pkg_edit.php: Creating squid cache subdirs in /var/squid/cache
          Oct 12 13:53:12 	php: : SQUID is installed but not started. Not installing "filter" rules.
          Oct 12 13:53:12 	php: : SQUID is installed but not started. Not installing "pfearly" rules.
          Oct 12 13:53:12 	php: : SQUID is installed but not started. Not installing "nat" rules.
          Oct 12 13:53:06 	php: : SQUID is installed but not started. Not installing "filter" rules.
          Oct 12 13:53:06 	php: : SQUID is installed but not started. Not installing "pfearly" rules.
          Oct 12 13:53:06 	php: : SQUID is installed but not started. Not installing "nat" rules.
          Oct 12 13:53:02 	check_reload_status: Syncing firewall
          Oct 12 13:53:01 	check_reload_status: Reloading filter
          Oct 12 13:53:01 	check_reload_status: Syncing firewall
          Oct 12 13:53:00 	check_reload_status: Reloading filter
          Oct 12 13:52:51 	php: : SQUID is installed but not started. Not installing "filter" rules.
          Oct 12 13:52:51 	php: : SQUID is installed but not started. Not installing "pfearly" rules.
          Oct 12 13:52:51 	php: : SQUID is installed but not started. Not installing "nat" rules.
          Oct 12 13:52:50 	php: /pkg_mgr_install.php: Starting Squid
          Oct 12 13:52:45 	php: /pkg_mgr_install.php: Creating squid cache subdirs in /var/squid/cache
          Oct 12 13:52:45 	check_reload_status: Reloading filter
          Oct 12 13:52:39 	php: : SQUID is installed but not started. Not installing "filter" rules.
          Oct 12 13:52:39 	php: : SQUID is installed but not started. Not installing "pfearly" rules.
          Oct 12 13:52:39 	php: : SQUID is installed but not started. Not installing "nat" rules.
          Oct 12 13:52:38 	Squid_Alarm[180]: Reconfiguring filter...
          Oct 12 13:52:36 	php: : SQUID is installed but not started. Not installing "filter" rules.
          Oct 12 13:52:36 	php: : SQUID is installed but not started. Not installing "pfearly" rules.
          Oct 12 13:52:36 	php: : SQUID is installed but not started. Not installing "nat" rules.
          Oct 12 13:52:35 	php: /pkg_mgr_install.php: Starting Squid
          Oct 12 13:52:35 	Squid_Alarm[51115]: Attempting restart...
          Oct 12 13:52:35 	Squid_Alarm[50636]: Squid has exited. Reconfiguring filter.
          Oct 12 13:52:30 	php: /pkg_mgr_install.php: Creating squid cache subdirs in /var/squid/cache
          Oct 12 13:52:30 	check_reload_status: Reloading filter
          Oct 12 13:52:30 	php: /pkg_mgr_install.php: Starting a proxy monitor script
          Oct 12 13:52:30 	php: /pkg_mgr_install.php: Starting Squid
          Oct 12 13:52:25 	php: /pkg_mgr_install.php: Creating squid cache subdirs in /var/squid/cache
          Oct 12 13:52:24 	php: /pkg_mgr_install.php: Stopping any running proxy monitors
          Oct 12 13:52:19 	php: /pkg_mgr_install.php: Creating squid cache subdirs in /var/squid/cache
          Oct 12 13:52:19 	check_reload_status: Syncing firewall
          Oct 12 13:52:05 	check_reload_status: Syncing firewall
          Oct 12 13:52:04 	php: /pkg_mgr_install.php: Beginning package installation for squid .
          Oct 12 13:52:03 	check_reload_status: Syncing firewall
          

          I'm running out of stuff to try and could really use some help.

          Thanks.

          1 Reply Last reply Reply Quote 0
          • L
            LinuxTracker
            last edited by

            I wiped and reloaded with the same version.

            I inserted the missing semi-colons into xmlrpc_client.inc to restore access to the packages window.

            I downloaded the Squid package, go to the squid config page and get:
            Warning: dir(/usr/local/etc/squid/errors/): failed to open dir: No such file or directory in /etc/inc/pfsense-utils.inc on line 432 Fatal error: Call to a member function read() on a non-object in /etc/inc/pfsense-utils.inc on line 433

            It's not looking hopeful yet.

            1 Reply Last reply Reply Quote 0
            • L
              LinuxTracker
              last edited by

              Here's what I've been able to determine.

              The squid installer fails to create:
              /usr/local/sbin/squid
              /usr/local/libexec/
              /usr/local/etc/squid/

              I copied the above file & 2 directories (recursively) from a working version of squid in 2.0.
              I also edited /usr/local/etc/squid/squid.conf to get the IP bindings to match up.

              Squid shows running now.  I haven't tested to see if it works after grafting in those files.

              I'm pretty sure this is a squid installer bug - for this version of 2.1 Dev.  I'm going to open a new thread about it.
              Hopefully that won't be a breach of forum protocol.

              1 Reply Last reply Reply Quote 0
              • C
                collinsl
                last edited by

                Do you think this is also the case in 2.0 release? I am having the same problem and have been ever since 2.0-RC1

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.