Lightsquid on 2.2 should be OK now
-
Reinstall lightsquid, press save on the lightsquid settings, load the report, click the graph icon and make sure to force a refresh (shift+reload)
I dont think it is necessary to press save on settings since the settings will be reread automatically when you reinstall the updated package. I did not do this.
-
Tried all fixes, Not working :(
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 !I am new to Pfsense. Where does config files located?
Tried Reinstall. I had Squidguard. Removed it, Reinstalled lightsquid. no progression.
-
Do you actually have log data from squid?
Did you actually press "Refresh full" on lightsquid settings and wait?If you followed the directions at https://doc.pfsense.org/index.php/Lightsquid_Troubleshooting then you may not have an actual lightsquid problem, but a problem elsewhere leading it to not have data. Probably worth starting a fresh thread for.
-
sqstat works fine for me.
really?
Proxy Squid: Realtime stat (sqstat)
Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /usr/local/www/sqstat/sqstat.class.php on line 426
Squid RealTime stat 1.20 for the proxy server squid/3.4.10
URI Curr. Speed Avg. Speed Size Time
Total: 1 users and 1 connections @ 0.00/0.00 KB/s (CURR/AVG)
Total: 1 users and 1 connections @ 0.00/0.00 KB/s (CURR/AVG)not working at all for me.
-
Not sure about the error at the top, but when I tested it, clients with long, active downloads showed in the list just fine.
-
i can tell you about error at the top - sqstat.class.php
if ($connection) {
# username field is avaible in Squid 2.6 stable
if(substr($v,0,9) == "username ") $parsed["con"][$connection]["username"] = substr($v, 9);
if(substr($v,0,5) == "peer:") $parsed["con"][$connection]["peer"] = substr($v, 6);wtf is this "peer" line here, while squid returns "remote" instead?
this shit right here just CAN'T work on any version above 3.1 or so - you must replace it withif(substr($v,0,7) == "remote:") $parsed["con"][$connection]["peer"] = substr($v, 8);
see?
but even then sqstat shows total BS - speed keep increasing constantly, etc.
so i really don't know, how is that possiblesqstat works fine for me.
:D
tested on fresh install of 2.2-RELEASE (amd64) built on Thu Jan 22 14:03:54 CST 2015 FreeBSD 10.1-RELEASE-p4
3.4.10_2 pkg 0.2.6
1.8.2 pkg v.2.35 -
and btw - there is more bugs in that php code
if(substr($v,0,3)=="me:") $parsed["con"][$connection]["me"]=substr($v,4);
probable need to be replaced with something like
if(substr($v,0,6)=="local:") $parsed["con"][$connection]["me"]=substr($v,7);
tho i saw no difference after that.
-
I don't doubt there are more bugs, I haven't ever touched the code inside there (or even looked).
I was using squid 2.7.x with it, which may explain why it worked for me.
-
I was using squid 2.7.x with it, which may explain why it worked for me.
yea, i think it's the case.
-
Uninstalled lightsquid from 2.2
I ran all the trouble shooting steps
Reinstalled lightquid into 2.2
clicked save on the settings pageran the "./check-setup.pl" from the /usr/local/www/lightsquid path.
LightSquid Config Checker, 2005-9 Sergey Erokhin GNU GPL
LogPath : /var/squid/logs reportpath: /var/lightsquid/report Lang : /usr/pbi/lightsquid-i386/local/share/lightsquid/lang/eng Template : /usr/pbi/lightsquid-i386/local/www/lightsquid/tpl/base Ip2Name : /usr/pbi/lightsquid-i386/local/libexec/lightsquid/ip2name.ip
no: GD.PM found, please install or set $graphreport=0 to disable
tried the "pkg_add" step, but it doesn't work on 2.2 –- how do you fix this?
Thanks,
David -
Try this:
pkg install p5-gd
-
There should be no need for that with the current package. The gd library is there and the package should be invoking ldconfig to nudge the system to find it without such hacks.
Check to see if it's there at all:
find / -name "*GD*.so"