Lightsquid show me "500 - Internal Server Error" in graphics tab
-
I seem to remember encountering this problem before and I think it may have had something to do with the order the packages were installed in. I would try reinstalling lightsquid. If that doesn't work try removing all of the packages and installing squid, then lightsquid and see if it works. If it works proceed with squidgard.
If I had a 1.2.3 box I would test this but I'm now running 2.0. Good luck!
-
I try reinstall the package lightsquid, but the error persist :(
-
Have you tried clicking 'refresh full' ? You might have to remove all of the packages and try only squid and lightsquid.
-
If I remember right, it is a problem with the version of perl.
Give it a try and search the forum. Not sure where to find it now and post you a link. -
Check the following directories for any perl symlinks:
/usr/bin
/usr/local/binDelete any that you find, then:
cd /usr/bin
ln -s /usr/local/bin/perl /usr/bin/perl
ls -ltr | grep -i perl
lrwxr-xr-x 1 root wheel 19 Sep 11 23:02 perl -> /usr/local/bin/perl
That is how I solved the Error 500 message.
;)
-
Thank's for reply. I will try it.
Thank's again. -
Can you explain these commands to better understand?
-
Check the following directories for any perl symlinks:
/usr/bin
/usr/local/binDelete any that you find, then:
cd /usr/bin
ln -s /usr/local/bin/perl /usr/bin/perl
ls -ltr | grep -i perl
lrwxr-xr-x 1 root wheel 19 Sep 11 23:02 perl -> /usr/local/bin/perl
That is how I solved the Error 500 message.
;)
Questions:
1. is perl symlink a file?
2. Are these codes needed to be copied verbatim in Diagnostics>Command Prompt>Execute shell command?cd /usr/bin
ln -s /usr/local/bin/perl /usr/bin/perl
ls -ltr | grep -i perl
lrwxr-xr-x 1 root wheel 19 Sep 11 23:02 perl -> /usr/local/bin/perl
-
The graphics tab not working may be something else entirely. The perl-related 500 error made it not work at all.
There is probably some graphing library that tab tries to use that isn't being pulled in.
-
I have the same "500 - Internal Server Error" when I try to see Lightsquid Report.
2.0-RC2 (i386) built on Tue Jun 14 11:14:26 EDT 2011
It was working before updating to the version above.
Remove package, reinstalled and the error persist. -
you could try to force it a bit:
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.
-
The symlink trick and the reinstall trick didn't work either…
I'm really surprised that the Team did not fix this!
We are many people using pfsense in this configuration : squid > squidguard > lightsquid
This problem remains since the 1.2.3.
Any xml fix could be considered?Thanks for all your hard work making us love pfSense.
-
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.
-
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