Страница 1 из 1

Internal Server Error

Добавлено: Пн янв 12, 2009 5:28 am
diza
В общем подобная тема была, но не раскрыта до конца.

Ситуация такая:

Клиент входит в веб-морду.
НАжиает ДОКУМЕНТЫ. появляется Internal Server Error
Лог апача грит:
Can't call method "pi" on unblessed reference at ..//Abills/modules/Docs/webinterface line 472., referer: http://billing.u2net.ru/index.cgi
Premature end of script headers: index.cgi, referer: http://billing.u2net.ru/index.cgi

вот и собсна вопрос:
Какой модуль перл нада прикрутить в систему?
потому что все, что в требованиях стоят - уже прикручены:
# pkg_info | grep p5
p5-Crypt-CBC-2.30 Perl5 interface to Cipher Block Chaining with DES and IDEA
p5-Crypt-DES-2.05 Perl5 interface to DES block cipher
p5-DBD-mysql-4.006 MySQL driver for the Perl5 Database Interface (DBI)
p5-DBI-1.60.4 The perl5 Database Interface. Required for DBD::* modules
p5-Digest-MD4-1.5 Perl5 interface to the MD4 message digest algorithm
p5-Digest-MD5-2.38 Perl5 interface to the MD5 algorithm
p5-Digest-SHA1-2.11 Perl interface to the SHA-1 Algorithm
p5-Locale-Maketext-1.13 A framework for software localization and inheritance-based
p5-Locale-Maketext-Gettext-1.26 Joins gettext and Maketext frameworks
p5-Locale-PGetText-0.16 Pure perl implementation of GNU gettext
p5-Storable-2.18 Persistency for perl data structures
p5-gettext-1.05_2 Message handling functions

Добавлено: Чт фев 19, 2009 10:37 am
Night_Spirit
У меня та же фигня...

Код: Выделить всё

[Thu Feb 19 12:56:43 2009] [error] [client 192.168.1.35] Can't locate object method "del" via package "Docs" at ../../Abills/mysql//Docs.pm line 33., referer: http://192.168.1.110/abills/admin/index.cgi?index=15&UID=3
[Thu Feb 19 12:56:43 2009] [error] [client 192.168.1.35] Compilation failed in require at /usr/local/abills/cgi-bin/admin/index.cgi line 1643., referer: http://192.168.1.110/abills/admin/index.cgi?index=15&UID=3
[Thu Feb 19 12:57:03 2009] [error] [client 192.168.1.35] Can't locate object method "del" via package "Docs" at ../../Abills/mysql//Docs.pm line 33., referer: http://192.168.1.110/abills/admin/index.cgi?index=15&UID=2
[Thu Feb 19 12:57:03 2009] [error] [client 192.168.1.35] Compilation failed in require at /usr/local/abills/cgi-bin/admin/index.cgi line 1643., referer: http://192.168.1.110/abills/admin/index.cgi?index=15&UID=2
[Thu Feb 19 13:33:45 2009] [error] [client 192.168.1.35] Can't call method "pi" on unblessed reference at ..//Abills/modules/Docs/webinterface line 472., referer: http://192.168.1.110/abills/index.cgi
[Thu Feb 19 13:33:45 2009] [error] [client 192.168.1.35] Premature end of script headers: index.cgi, referer: http://192.168.1.110/abills/index.cgi
Ни на какие недостающие модули вроде не ругается... :roll:

Re: Internal Server Error

Добавлено: Пн окт 26, 2009 10:22 am
Margulis
Эта проблема как-нибудь решилась?

Re: Internal Server Error

Добавлено: Пн окт 26, 2009 11:18 am
~AsmodeuS~
Обновитесь до последней версии

Re: Internal Server Error

Добавлено: Ср июл 03, 2013 3:49 am
batushkaaa
Dear Friends ?

I have installed FreeBSD+Mysql+Apache+Freeradius+Abills. But I cannot access to http://192.168.1.10:9443/admin/ and getting "Internal Server Error" message.

Please help me how to solve that issue ? I have been isntalled this system so many times but getting same error message ( "Internal Server Error" ).


As below is /usr/local/abills/libexec/config.pl

#DB configuration
$conf{dbhost}='localhost';
$conf{dbname}='abills';
$conf{dbuser}='abills';
$conf{dbpasswd}='sqlpassword';
$conf{dbtype}='mysql';
#For MySQL 5 and highter (cp1251, utf8)
$conf{dbcharset}='utf8';
$conf{mpd_filters}=1;
$conf{RADIUS2}=1;


#Mail configuration
$conf{ADMIN_MAIL}='battumur_m@yahoo.com';
$conf{USERS_MAIL_DOMAIN}='mail.yahoo.com';
$conf{MAIL_CHARSET}='utf-8';
$conf{default_language}='russian';
$conf{default_charset}='utf-8';
$conf{WEB_TITLE}='';


Best Regards
Batushkaaa

Re: Internal Server Error

Добавлено: Ср июл 03, 2013 7:28 am
~AsmodeuS~
tail /var/log/httpd/abills-error.log

Re: Internal Server Error

Добавлено: Чт июл 04, 2013 9:32 am
batushkaaa
Thank you for your quick reply :)

tumur# tail /var/log/httpd/abills-error.log
[Thu Jul 04 17:22:12 2013] [error] [client 202.55.179.27] at ../../Abills/mysql //main.pm line 71
[Thu Jul 04 17:22:12 2013] [error] [client 202.55.179.27] Premature end of scrip t headers: index.cgi
[Thu Jul 04 17:23:20 2013] [warn] RSA server certificate CommonName (CN) `battum ur' does NOT match server name!?
[Thu Jul 04 17:23:21 2013] [warn] RSA server certificate CommonName (CN) `battum ur' does NOT match server name!?
[Thu Jul 04 17:26:50 2013] [error] [client 202.55.179.27] install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: ../../Abills/ ../../li bexec/ ../../ ../../Abills/mysql/ /usr/local/lib/perl5/5.14/BSDPAN /usr/local/li b/perl5/site_perl/5.14/mach /usr/local/lib/perl5/site_perl/5.14 /usr/local/lib/p erl5/5.14/mach /usr/local/lib/perl5/5.14 .) at (eval 6) line 3.
[Thu Jul 04 17:26:50 2013] [error] [client 202.55.179.27] Perhaps the DBD::mysql perl module hasn't been fully installed,
[Thu Jul 04 17:26:50 2013] [error] [client 202.55.179.27] or perhaps the capital isation of 'mysql' isn't right.
[Thu Jul 04 17:26:50 2013] [error] [client 202.55.179.27] Available drivers: DBM , ExampleP, File, Gofer, Proxy, Sponge.
[Thu Jul 04 17:26:50 2013] [error] [client 202.55.179.27] at ../../Abills/mysql //main.pm line 71
[Thu Jul 04 17:26:50 2013] [error] [client 202.55.179.27] Premature end of scrip t headers: index.cgi
tumur#


Please help me ? I have been trying to work it during last few months.


Best Regards
Battumur

Re: Internal Server Error

Добавлено: Чт июл 04, 2013 9:53 am
~AsmodeuS~

Re: Internal Server Error

Добавлено: Чт июл 04, 2013 10:10 am
batushkaaa
It is works. Thanks you for help me.

BR
Battumur