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

    Fresh install of Aquid and Lightsquid

    Scheduled Pinned Locked Moved pfSense Packages
    1 Posts 1 Posters 1.9k 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.
    • D
      draccusfly
      last edited by

      HI,

      I have installed squid and lightsquid so that I can get internet usage reports and have a couple of issues that are bugging me. 
      1. If I enable transparent proxy I can get to www.google.com but if i try and click a link I get an error:
      ERROR

      The requested URL could not be retrieved

      While trying to process the request:

      GET / HTTP/1.1
      Host: www.scan.com
      Connection: keep-alive
      Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
      User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36
      Accept-Encoding: gzip,deflate,sdch
      Accept-Language: en-GB,en-US;q=0.8,en;q=0.6

      The following error was encountered:

      Invalid Request
      Some aspect of the HTTP Request is invalid. Possible problems:

      Missing or unknown request method
      Missing URL
      Missing HTTP Identifier (HTTP/1.0)
      Request is too large
      Content-Length missing for POST or PUT requests
      Illegal character in hostname; underscores are not allowed
      Your cache administrator is webmaster.
      Generated Fri, 02 Aug 2013 06:24:07 GMT by pfsbox.insphire.com (squid/2.7.STABLE9)

      if i switch transparent proxy off then the site will come back up.  I figure it's a config option somewhere but being pretty new to this fwall I don't know where to look.

      2. If I go to Proxy report and then click Lightsquid report i get:

      LigthSquid diagnostic.
      Error : report folder '/var/lightsquid/report' not contain any valid data! Please run lightparser.pl (and check 'report' folder content)
      Please check config file !
      Variable value
      $tplpatph /usr/local/www/lightsquid/tpl
      $templatename base
      $langpatph /usr/local/share/lightsquid/lang
      $langname eng
      $reportpath /var/lightsquid/report
      Access to '/var/lightsquid/report' folder yes
      $graphreport 1
      folder content:

      which seems to be a known issue but there does not seem to be any posts describing how to fix (I have reinstalled the package before and after refreshing)

      3.  Proxy state throws up this error:
      Squid RealTime stat 1.20 for the proxy server (unknown) (192.168.1.5:3128).
      Auto refresh:  sec.    Created at: 06:27:26 02/08/2013
      SqStat error
      Error (1): Cannot get data. Server answered: HTTP/1.0 403 Forbidden

      I believe that 2 and 3 are likely to be linked but don't know how to fix?

      4. I was also getting the following error in the cache.log:
      2013/08/02 05:44:39| commBind: Cannot bind socket FD 13 to *:4827: (48) Address already in use
      FATAL: Cannot open HTCP Socket
      Squid Cache (Version 2.7.STABLE9): Terminated abnormally.

      Though this does not appear to have resurfaced after reinstalling lightsquid.

      Any help would be greatly apprreciated.

      Dean

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