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

    Squid suddenly won't start... (for reverse proxy)

    Scheduled Pinned Locked Moved Cache/Proxy
    6 Posts 2 Posters 967 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.
    • N
      nafeasonto
      last edited by

      /pkg_edit.php: The command '/usr/local/sbin/squid -f /usr/local/etc/squid/squid.conf' returned exit code '1', the output was '2020/03/21 02:09:10| FATAL: http_port: failed to resolve Host/IP: Array 2020/03/21 02:09:10| FATAL: Bungled /usr/local/etc/squid/squid.conf line 89: http_port Array:80 accel defaultsite=mysite.com vhost 2020/03/21 02:09:10| Squid Cache (Version 4.9): Terminated abnormally. CPU Usage: 0.007 seconds = 0.007 user + 0.000 sys Maximum Resident Size: 65728 KB Page faults with physical i/o: 0'

      That's the error I am getting. There was no issues like 2 days ago. I checked the DNS in the firewall it's fine. What is the issue here?

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        @nafeasonto said in Squid suddenly won't start... (for reverse proxy):

        /usr/local/etc/squid/squid.conf

        Hi,

        Consider comparing the config file with some sources on the net like http://www.sosst.sk/doc/squid/examples/squid.conf

        It complain about the " http_port" setting ... not hard to find.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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

          What?

          1 Reply Last reply Reply Quote 0
          • N
            nafeasonto @Gertjan
            last edited by

            @Gertjan The settings are right it seems on the latest version of pfsense devel, it broke it.

            1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan
              last edited by

              Latest squid or latest pfSense ?
              What devel are your referring to ?

              The fatal error you mentioned above is 100 % Squid thing : it complaints about it's own config file.

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              • GertjanG
                Gertjan
                last edited by

                Check also https://forum.netgate.com/topic/151523/reverse-squid-no-longer-working-on-latest-development-branch

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

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