LightSquid and 500 - Internal Server Error
-
Hello!
Yes, I understood that changing the perl lib was not a good idea :) . I've returned everything to original versions. I only did the change of lib as a test.
Could I provide any more info to help solve this "500" problem?
-
Hello!
Yes, I understood that changing the perl lib was not a good idea :) . I've returned everything to original versions. I only did the change of lib as a test.
Could I provide any more info to help solve this "500" problem?
Im not sure. but pls look permissions /usr/local/www/lightsquid/index.cgi (i have /www)
and content of file /usr/local/www/lightsquid/.htaccessOptions FollowSymLinks ExecCGI DirectoryIndex index.cgi
-
Looks OK to me.
-r-xr-xr-x 1 www www 7015 Jul 6 08:25 index.cgi
# cd /usr/local/www/ # cd lightsquid/ # ls -la total 2206 drwxr-xr-x 3 root wheel 512 Sep 18 02:03 . drwxr-xr-x 12 root wheel 6144 Sep 18 01:04 .. -r--r--r-- 1 www www 56 Jul 6 08:25 .htaccess -r-xr-xr-x 1 www www 2307 Jul 6 08:25 bigfiles.cgi -r-xr-xr-x 1 www www 2556 Jul 6 08:25 check-setup.pl -r-xr-xr-x 1 www www 9185 Jul 6 08:25 common.pl -r-xr-xr-x 1 www www 4740 Jul 6 08:25 day_detail.cgi -r-xr-xr-x 1 www www 1324 Jul 6 08:25 fixreport.pl -r-xr-xr-x 1 www www 1210 Jul 6 08:25 get.cgi -r-xr-xr-x 1 www www 10054 Jul 6 08:25 graph.cgi -r-xr-xr-x 1 www www 6710 Jul 6 08:25 group_detail.cgi -r-xr-xr-x 1 www www 7015 Jul 6 08:25 index.cgi -r-xr-xr-x 1 www www 16353 Jul 6 08:25 lightparser.pl -rw------- 1 root wheel 2129920 Sep 18 01:57 lighttpd.core -r-xr-xr-x 1 www www 3779 Jul 6 08:25 month_detail.cgi -rw-r--r-- 1 root wheel 491 Sep 18 02:03 temp.txt -r-xr-xr-x 1 www www 4757 Jul 6 08:25 topsites.cgi drwxr-xr-x 6 root wheel 512 Sep 18 01:04 tpl -r-xr-xr-x 1 www www 4038 Jul 6 08:25 user_detail.cgi -r-xr-xr-x 1 www www 3132 Jul 6 08:25 user_month.cgi -r-xr-xr-x 1 www www 4049 Jul 6 08:25 user_time.cgi -r-xr-xr-x 1 www www 3572 Jul 6 08:25 whousesite.cgi # cat .htaccess Options FollowSymLinks ExecCGI DirectoryIndex index.cgi #
-
Bump.
Anyone got this working in latest 1.2.1?
-
This had me baffled as well.
In index.cgi take a look at the shebang at the top of the file. The path it has for perl is incorrect. I made a symlink and now everything works.
# head -n 3 /usr/local/www/lightsquid/index.cgi #!/usr/bin/perl # # LightSquid Project (c) 2004-2005 Sergey Erokhin aka ESL # which perl /usr/local/bin/perl # ln -s /usr/local/bin/perl /usr/bin/perl # which perl /usr/bin/perl
-
Good job!
Thanks! -
I just posted this in the 1.2.1 thread section regarding the same problem.
Can somebody update the package to fix this issue? I don't know how to create a symlink :(
-
I just posted this in the 1.2.1 thread section regarding the same problem.
Can somebody update the package to fix this issue? I don't know how to create a symlink :(
Execute from shell
ln -s /usr/local/bin/perl /usr/bin/perl -
For some reason, I can't reinstall it.
The directory is missing in /usr/local/www
Reinstalled package a bunch of times, no directory shows up even after refresh.
The xml and options do work in the gui, services does not display lightsquid though.
Is there anyway I could get this installed manualy, it seems the install through the gui isnt' working anymore.
-
Package not fixed
Can you execute from pfSense GUI
'Diagnostics: Execute command > Execute Shell command' next cmd (?) :ln -s /usr/local/bin/perl /usr/bin/perl
-
Thanks for the quick reply, I tried that, still no difference.
Even after reinstall of the package in GUI. It's not even making the directories/config files anymore.
-
This recept helped to me:
ln -s /usr/local/bin/perl /usr/bin/perlThank you, dvserg.
-
I am having the same problem as AudiAddict now. It seems unrelated to the perl path issue. I think the package is broken, it does not install anything into /usr/loca/www/ so the lightsquid directory does not exist.
-
Jep I'm also still having this same problem.
Even when I create the directories myself and give them chhmod 777, nothing happends.. no files get created
-
Problem fixed with the help of dvserg!! (THANKS!!)
He asked me to post the instructions
- Remove package from GUI
- Go to the firewall shell and type pkg_info
- If lightsquid is listed, use PKG_delete to remove it (pkg_delete lightsquid-1.7.1_1)
- Reinstall from GUI now and it should be fixed!
-
That fixed the problem, thanks dvserg and Audi!
-
YAYYYYYYY.
That fixed my final issue with pfsense.
Finally pfsense 1.2.1 with squid/squidguard/bandwidthd/lightsquid ALL WORK!!!!!! -
Geat!Thanks wilagobler,Thanks dvserg! ;D ;D ;D ;D
-
I´ve done this but cant get Lightsquid to work. Same error message still after the manual uninstall. =/ Any other tips?
-
Uninstall like explained above and then reinstall the package in the gui
then type in the shell :
ln -s /usr/local/bin/perl /usr/bin/perl
Make sure the log setting is switched on for squid and set to the standard dir and then go to lightsquid and refresh/update settings and it should work.