in /var/log/koha/koha-error_log Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] Can't locate Modern/Perl.pm in @INC (@INC contains: /usr/share/koha/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 22. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 22. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] Premature end of script headers: mainpage.pl [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: Can't locate DBIx/Connector.pm in @INC (@INC contains: /usr/share/koha/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/koha/lib/C4/Context.pm line 100. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Context.pm line 100. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 28. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line 28. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: Compilation failed in require at /usr/share/koha/intranet/cgi-bin/errors/500.pl line 22. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/errors/500.pl line 22. On Wed, Jun 1, 2016 at 5:37 AM, regina kivuyo <reginaickivuyo@gmail.com> wrote:
in /var/log/koha/koha-error_log
Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] Can't locate Modern/Perl.pm in @INC (@INC contains: /usr/share/koha/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/koha/intranet/cgi-bin/ mainpage.pl line 22. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/ mainpage.pl line 22. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] Premature end of script headers: mainpage.pl [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: Can't locate DBIx/Connector.pm in @INC (@INC contains: /usr/share/koha/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/koha/lib/C4/Context.pm line 100. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Context.pm line 100. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 28. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line 28. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: Compilation failed in require at /usr/share/koha/intranet/cgi-bin/errors/500.pl line 22. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/errors/500.pl line 22.
On Wed, Jun 1, 2016 at 5:25 AM, Pedro Amorim <pjamorim91@gmail.com> wrote:
Hello regina,
What about /var/log/apache2/error.log or /var/log/koha/<instance>/intranet-error.log?
2016-06-01 7:44 GMT+00:00 regina kivuyo <reginaickivuyo@gmail.com>:
when i request koha through web it give the error Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@library-HP-Pro-3400-Series-MT and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
when i check /var/log/apache2/acces.log :46.0) Gecko/20100101 Firefox/46.0" 127.0.0.1 - - [01/Jun/2016:02:51:16 -0400] "GET / HTTP/1.1" 200 485 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:46.0) Gecko/20100101 Firefox/46.0" 127.0.0.1 - - [01/Jun/2016:02:51:16 -0400] "GET /favicon.ico HTTP/1.1" 404 498 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:46.0) Gecko/20100101 Firefox/46.0" 127.0.0.1 - - [01/Jun/2016:02:51:16 -0400] "GET /favicon.ico HTTP/1.1" 404 498 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:46.0) Gecko/20100101 Firefox/46.0" 192.168.19.1 - - [01/Jun/2016:03:01:11 -0400] "GET / HTTP/1.1" 200 429 " http://wi-fi.saut.ac.tz/login" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36" 192.168.19.1 - - [01/Jun/2016:03:01:11 -0400] "GET /favicon.ico HTTP/1.1" 404 447 "http://192.168.19.199/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36" 192.168.19.1 - - [01/Jun/2016:03:01:26 -0400] "GET / HTTP/1.1" 304 155 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36"
how to solve this problem thankx -- regina _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- regina
-- regina
Regina, I can't say I've seen any of these messages before. However, can you provide more information? 1) Koha version; 2) Is it installed through Debian packages? 3) Was Koha working before or is this happening right after installation? Cheers, Pedro Amorim 2016-06-01 9:38 GMT+00:00 regina kivuyo <reginaickivuyo@gmail.com>:
in /var/log/koha/koha-error_log
Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] Can't locate Modern/Perl.pm in @INC (@INC contains: /usr/share/koha/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/koha/intranet/cgi-bin/ mainpage.pl line 22. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/ mainpage.pl line 22. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] Premature end of script headers: mainpage.pl [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: Can't locate DBIx/Connector.pm in @INC (@INC contains: /usr/share/koha/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/koha/lib/C4/Context.pm line 100. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Context.pm line 100. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 28. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line 28. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: Compilation failed in require at /usr/share/koha/intranet/cgi-bin/errors/500.pl line 22. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/errors/500.pl line 22.
On Wed, Jun 1, 2016 at 5:37 AM, regina kivuyo <reginaickivuyo@gmail.com> wrote:
in /var/log/koha/koha-error_log
Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] Can't locate Modern/Perl.pm in @INC (@INC contains: /usr/share/koha/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/koha/intranet/cgi-bin/ mainpage.pl line 22. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/ mainpage.pl line 22. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] Premature end of script headers: mainpage.pl [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: Can't locate DBIx/Connector.pm in @INC (@INC contains: /usr/share/koha/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/koha/lib/C4/Context.pm line 100. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Context.pm line 100. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 28. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line 28. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: Compilation failed in require at /usr/share/koha/intranet/cgi-bin/errors/500.pl line 22. [Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] [Wed Jun 1 05:35:05 2016] 500.pl: BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/errors/500.pl line 22.
On Wed, Jun 1, 2016 at 5:25 AM, Pedro Amorim <pjamorim91@gmail.com> wrote:
Hello regina,
What about /var/log/apache2/error.log or /var/log/koha/<instance>/intranet-error.log?
2016-06-01 7:44 GMT+00:00 regina kivuyo <reginaickivuyo@gmail.com>:
when i request koha through web it give the error Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@library-HP-Pro-3400-Series-MT and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
when i check /var/log/apache2/acces.log :46.0) Gecko/20100101 Firefox/46.0" 127.0.0.1 - - [01/Jun/2016:02:51:16 -0400] "GET / HTTP/1.1" 200 485 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:46.0) Gecko/20100101 Firefox/46.0" 127.0.0.1 - - [01/Jun/2016:02:51:16 -0400] "GET /favicon.ico HTTP/1.1" 404 498 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:46.0) Gecko/20100101 Firefox/46.0" 127.0.0.1 - - [01/Jun/2016:02:51:16 -0400] "GET /favicon.ico HTTP/1.1" 404 498 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:46.0) Gecko/20100101 Firefox/46.0" 192.168.19.1 - - [01/Jun/2016:03:01:11 -0400] "GET / HTTP/1.1" 200 429 " http://wi-fi.saut.ac.tz/login" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36" 192.168.19.1 - - [01/Jun/2016:03:01:11 -0400] "GET /favicon.ico HTTP/1.1" 404 447 "http://192.168.19.199/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36" 192.168.19.1 - - [01/Jun/2016:03:01:26 -0400] "GET / HTTP/1.1" 304 155 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36"
how to solve this problem thankx -- regina _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- regina
-- regina
Hello regina, Some thoughts:
in /var/log/koha/koha-error_log
Wed Jun 01 05:35:05 2016] [error] [client 192.168.19.199] Can't locate Modern/Perl.pm in @INC (@INC contains: /usr/share/koha/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 22.
This tells you that Koha cannot currently use the Modern Perl Perl module. Does the server have all the Perl dependencies that Koha requires installed? As Pedro suggests, if you used a Debian package it should automatically resolve the dependencies. If you installed using a different method, then you will have to install the dependencies manually. Alternatively, if you have installed all the dependencies, it could be that your Koha instance currently does not find the dependencies. You may have to check that your koha-httpd.conf points to the directory with all the Perl modules you installed. HTH, let me know if you want more info on any of the above :-) Alex
participants (3)
-
Alex Sassmannshausen -
Pedro Amorim -
regina kivuyo