Не работает lightsquid [РЕШЕНО]
-
Пришел я на работу, запустил комп и решил посмотреть логи…
А мне - 500 - Internal Server ErrorИ ошибки в логах...
Aug 20 14:05:23 check_reload_status: Syncing firewall
Aug 20 14:05:19 kernel: pid 61772 (lighttpd), uid 0: exited on signal 6 (core dumped)
Aug 20 14:05:18 ipfw-classifyd: Loaded Protocol: bittorrent (rule action block)
Aug 20 14:05:18 ipfw-classifyd: Reloading config...
Aug 20 14:05:18 php: : Sending HUP signal to 24159
Aug 20 14:05:13 check_reload_status: Reloading filter
Aug 20 14:05:07 php: /pkg_mgr_install.php: Beginning package installation for Lightsquid.
Aug 20 14:05:06 check_reload_status: Syncing firewall
Aug 20 14:05:06 check_reload_status: Syncing firewall
Aug 20 14:04:57 kernel: pid 29517 (lighttpd), uid 0: exited on signal 6 (core dumped)
Aug 20 14:04:56 kernel: pid 29303 (lighttpd), uid 0: exited on signal 6 (core dumped)
Aug 20 14:02:45 apinger: /usr/local/bin/rrdtool respawning too fast, waiting 300s.
Aug 20 14:02:25 sshd[55797]: Accepted keyboard-interactive/pam for root from 192.168.0.36 port 38092 ssh2
Aug 20 14:02:09 ipfw-classifyd: Loaded Protocol: bittorrent (rule action block)
Aug 20 14:02:09 ipfw-classifyd: Reloading config…
Aug 20 14:02:09 php: : Sending HUP signal to 24159
Aug 20 14:02:05 kernel: pid 27052 (lighttpd), uid 0: exited on signal 6 (core dumped)
Aug 20 14:02:04 kernel: pid 26798 (lighttpd), uid 0: exited on signal 6 (core dumped)
Aug 20 14:02:03 kernel: pid 22442 (lighttpd), uid 0: exited on signal 6 (core dumped)Гуглил, были советы по переустановки perl а окозалось в /usr/local/bin файла perl вообще не было.
Взял его с http://files.pfsense.org
Не помогло...
На запуск lightparser.pl ошибка[2.0.1-RELEASE][root@pfsense.localdomain]/usr/local/www/lightsquid(26): ./lightparser.pl
./lightparser.pl: Permission denied.Что делать? :(
-
Какие пакеты вобще установлены (pkg_info) и что выдает perl -v ?
Мне помогло:
1. Удаление и чистка от старого perl (pkg_delete -f perl*).
2. Установка нового (pkg_add -r http://files.pfsense.org/packages/8/All/perl-5.12.3.tbz).
3. Пересоздание симлинка (ln -s /usr/local/bin/perl /usr/bin/perl).
3. Перезагрузка pfsense. -
[2.0.1-RELEASE][root@pfsense.localdomain]/usr/local/www/lightsquid(41): pkg_info
arc-5.21p Create & extract files from DOS .ARC files
arj-3.10.22_4 Open-source ARJ
bsdinstaller-2.0.2011.1212 BSD Installer mega-package
clamav-0.97.5_1 Command line virus scanner written entirely in C
cyrus-sasl-2.1.23_3 RFC 2222 SASL (Simple Authentication and Security Layer)
cyrus-sasl-2.1.25_1 RFC 2222 SASL (Simple Authentication and Security Layer)
db3-3.3.11_3,1 The Berkeley DB package, revision 3.3
db41-4.1.25_4 The Berkeley DB package, revision 4.1
db42-4.2.52_5 The Berkeley DB package, revision 4.2
freetype2-2.4.7 A free and portable TrueType font rendering engine
gd-2.0.35_7,1 A graphics library for fast creation of images
gettext-0.18.1.1 GNU gettext package
grub-0.97_4 GRand Unified Bootloader
havp-0.91_1 HTTP Antivirus Proxy
jpeg-8_3 IJG's jpeg compression utilities
lha-1.14i_6 Archive files using LZSS and Huffman compression (.lzh file
libiconv-1.13.1_1 A character set conversion library
libltdl-2.4.2 System independent dlopen wrapper
libwww-5.4.0_4 The W3C Reference Library
mbmon-205_5 A tty motherboard monitor for LM78/79, W8378x, AS99127F, VT
openldap-client-2.4.26 Open source LDAP client implementation
openldap-client-2.4.31_1 Open source LDAP client implementation
p5-GD-2.46 A perl5 interface to Gd Graphics Library version2
perl-5.12.4_3 Practical Extraction and Report Language
perl-threaded-5.12.4_4 Practical Extraction and Report Language
pkg-config-0.25_1 A utility to retrieve information about installed libraries
png-1.4.8 Library for manipulating PNG images
squid-2.7.9_1 HTTP Caching Proxy
squid-3.1.20 HTTP Caching Proxy
squidGuard-1.4_4 A fast redirector for squid
unzoo-4.4_2 A zoo archive extractor[2.0.1-RELEASE][root@pfsense.localdomain]/usr/local/www/lightsquid(106): perl -v
/usr/bin/perl: Permission denied.После вашего способа ошибка стала 404 - Not Found :) Щас пробую переустановить lightsquid
-
После переустановки lightsquid все заработало. :)
Спасибо большое! А в чем была проблема? С чем это связано? -
Как вариант - у вас 2 версии perl было. Возможно, что и конфликтовали.
P.s. Добавьте, пож-та, в название вашей темы в конец [РЕШЕНО]. Так будет удобнее для тех, кто столкнется с этой проблемой в будущем и будет искать варианты решения.
P.s.s. Похоже, что проблема не такая уж редкая. Ув. модераторы, возможно ли решение добавить в FAQ? -
Сделал, надеюсь еще кому то поможет решение :)