Lightsquid show me "500 - Internal Server Error" in graphics tab
-
If you reinstall the lightsquid package now, does it behave any differently?
I made some fixes yesterday, though I haven't tested it out on a fresh 1.2.3 vm.
I am having the very same issue, where the whole report page has been replaced by a "500 - Internal Server Error" in 2.0 RC1 version from yesterday. reinstalling makes no difference, sadly.
Is there a way we could fix this?
Thanks!
-
I know for a fact it's fine on 2.0. Update to RC3 (it's out officially) and if it doesn't work after the packages reinstall there (should happen automatically with the firmware update), try what I mention earlier in the thread (quoted below).
uninstall lightsquid, squidguard, and squid
Then go to Diagnostics > Command or the shell, and type:
pkg_delete -f \*squid\* perl\*
And then reinstall squid, squidguard, and lightsquid.
-
2.0-RC3 (amd64)
built on Fri Jun 24 09:54:09 EDT 2011squid + Lightquid + squidguard it's working perfectly. No special install order.
-
I still have this 500 ERROR.
Already tried:
@jimp:I know for a fact it's fine on 2.0. Update to RC3 (it's out officially) and if it doesn't work after the packages reinstall there (should happen automatically with the firmware update), try what I mention earlier in the thread (quoted below).
uninstall lightsquid, squidguard, and squid
Then go to Diagnostics > Command or the shell, and type:
pkg_delete -f \*squid\* perl\*
And then reinstall squid, squidguard, and lightsquid.
Also tried install order but to no avail.
-
In the directory "/usr/bin" file appeared "perl 0 B 1970.01.01 03:00:00 (0) ? –- --- ---",
selected on the picture and you can not delete it, because it says that the file is not correct. What can I do?
-
Hi all!
After several re-installation of packages Squid and Lighsquid, it worked.
File has the normal value. What's the problem I still do not understand.
-
What I did to get this working was:
ln -s /usr/local/bin/perl5.12.4 /usr/bin/perl
(after deleting the link: /usr/bin/perl)Kind regards
Aubrey Kloppers
Cape Town -
What I did to get this working was:
ln -s /usr/local/bin/perl5.12.4 /usr/bin/perl
(after deleting the link: /usr/bin/perl)Kind regards
Aubrey Kloppers
Cape TownYou are grate man. This solve my problem.
-
the problem is about the perl version or symlink to the perl subversion if u have more the one version installed on your system.
something like that[2.0.1-RELEASE][root@pfsense.backbone]/usr/bin(41): pkg_info |grep perl
p5-GD-2.46 A perl5 interface to Gd Graphics Library version2
perl-5.10.1_3 Practical Extraction and Report Language
perl-5.12.3 Practical Extraction and Report Language
perl-5.12.4_3 Practical Extraction and Report Language[2.0.1-RELEASE][root@pfsense.backbone]/usr/bin(17): ls -al /usr/local/bin/perl5*
lrwxr-xr-x 1 root wheel 25 Feb 1 15:47 /usr/local/bin/perl5 -> /usr/local/bin/perl5.12.3
-rwxr-xr-x 1 root wheel 7248 Feb 11 2011 /usr/local/bin/perl5.10.1
-rwxr-xr-x 2 root wheel 7304 Jun 29 2011 /usr/local/bin/perl5.12.3
-rwxr-xr-x 1 root wheel 7304 Jan 27 09:19 /usr/local/bin/perl5.12.4change it:
from /usr/local/bin/perl5.12.3
to /usr/local/bin/perl5.12.4[2.0.1-RELEASE][root@pfsense.backbone]/usr/bin(40): ls -al /usr/bin/perl*
lrwxr-xr-x 1 root wheel 25 Apr 2 13:10 /usr/bin/perl -> /usr/local/bin/perl5.12.4
lrwxr-xr-x 1 root wheel 25 Apr 2 13:23 /usr/bin/perl5 -> /usr/local/bin/perl5.12.4 -
What I did to get this working was:
ln -s /usr/local/bin/perl5.12.4 /usr/bin/perl
(after deleting the link: /usr/bin/perl)Kind regards
Aubrey Kloppers
Cape TownThis works on 2.1 also. Shouldn't this placed as a bug somewhere so they fixed on the package?.
Regards,
Andrés.
-
It works fine on 2.1, at least it did every time I tested it. It also works fine for most people on 2.0.x. This isn't a general issue with the lightsquid package, so there isn't really anything to "fix". It's some odd combination of installed packages/files and ordering and who knows what, but most people have no problems with it.
-
I fixed it by uninstalling all packages that require pearl (the last one you uninstall will also uninstall pearl), then when I reinstalled squid and lightsquid which reinstalled pearl. All the cache and logs created by squid were still there, no data loss.