Project

General

Profile

Actions

Bug #2457

closed

Lightsquid 1.8.2 pkg v.2.32 logpath is wrong in lightsquid.cfg

Added by Gabriel Paniagua Castro almost 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Squid
Target version:
-
Start date:
05/26/2012
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.1
Affected Plus Version:
Affected Architecture:
amd64

Description

In my pfSense router:

2.1-DEVELOPMENT (amd64)
built on Mon May 14 10:01:41 EDT 2012
FreeBSD 8.3-RELEASE-p1

Squid 2.7.9 pkg v.4.3.1
Lightsquid 1.8.2 pkg v.2.32

I received an error saying that in this folder: /usr/pbi/lightsquid-amd64/www/lightsquid/report is empty and the report does not worked.

I used this script: perl /usr/pbi/lightsquid-amd64/www/lightsquid/check-setup.pl and this was the result:
$ perl /usr/pbi/lightsquid-amd64/www/lightsquid/check-setup.pl
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "en_US.ISO8859-1"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
can't access to /usr/pbi/lightsquid-amd64/squid/logs `access.log` file
check $logpath variable or privilege
LightSquid Config Checker, (c) 2005-9 Sergey Erokhin GNU GPL

So I edited the /usr/pbi/lightsquid-amd64/etc/lightsquid/lightsquid.cfg at line 23 and
changed this: $logpath ="/usr/pbi/lightsquid-amd64/squid/logs";
to this: $logpath ="/var/squid/logs";
and now Lightsquid is working perfect and the script $ perl /usr/pbi/lightsquid-amd64/www/lightsquid/check-setup.pl shows:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "en_US.ISO8859-1"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
no: GD.PM found, please install or set $graphreport=0 to disable
LightSquid Config Checker, (c) 2005-9 Sergey Erokhin GNU GPL

LogPath : /var/squid/log
reportpath: /usr/pbi/lightsquid-amd64/www/lightsquid/report
Lang : /usr/pbi/lightsquid-amd64/share/lightsquid/lang/eng
Template : /usr/pbi/lightsquid-amd64/www/lightsquid/tpl/base
Ip2Name : /usr/pbi/lightsquid-amd64/libexec/lightsquid/ip2name.simple

Actions #1

Updated by Jim Pingle almost 12 years ago

  • Status changed from New to Resolved

this was fixed a while back, no problems now.

Actions

Also available in: Atom PDF