Hi, All.

I'm testing OTRS4 on AWS instance with Amazon Linux 2015.09.

DB(MySQL) and perl modules has successfully installed. But, Web
server(Apache) doesn't run well.
Apache's error logs are below.

> [Sat Oct 17 14:00:59.452039 2015] [perl:error] [pid 32749] Cannot find
current script '/opt/' at /usr/share/perl5/FindBin.pm line 166.\nBEGIN
failed--compilation aborted at /usr/share/perl5/FindBin.pm line
166.\nCompilation failed in require at /opt/otrs//Kernel/Config/Defaults.pm
line 30.\nBEGIN failed--compilation aborted at
/opt/otrs//Kernel/Config/Defaults.pm line 30.\nCompilation failed in
require at (eval 7) line 2.\n\t...propagated at /usr/share/perl5/base.pm
line 84.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/Config.pm
line 97.\nCompilation failed in require at /opt/otrs/scripts/
apache2-perl-startup.pl line 69.\nBEGIN failed--compilation aborted at
/opt/otrs/scripts/apache2-perl-startup.pl line 69.\nCompilation failed in
require at (eval 2) line 1.\n
> [Sat Oct 17 14:00:59.452069 2015] [perl:error] [pid 32749] Can't load
Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server
ip-172-31-40-255.us-west-2.compute.internal:0, exiting...

This messages seems like this one.
http://bugs.otrs.org/show_bug.cgi?id=8533

Then, I commented out lines uses/depends on FindBin function in
"Kernel/Config/Defaults.pm", and modified to full-path, as same as original
ones.
So, Apache runs successfully, but get Internal Server Error in "installer.pl
".
Following messages are This one.

> [Sat Oct 17 14:30:05.092246 2015] [suexec:notice] [pid 642] AH01232:
suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
> [Sat Oct 17 14:30:05.835751 2015] [auth_digest:notice] [pid 643] AH01757:
generating secret for digest authentication ...
> [Sat Oct 17 14:30:05.836437 2015] [lbmethod_heartbeat:notice] [pid 643]
AH02282: No slotmem from mod_heartmonitor
> [Sat Oct 17 14:30:05.839621 2015] [mpm_prefork:notice] [pid 643] AH00163:
Apache/2.4.16 (Amazon) mod_perl/2.0.7 Perl/v5.16.3 configured -- resuming
normal operations
> [Sat Oct 17 14:30:05.839640 2015] [core:notice] [pid 643] AH00094:
Command line: '/usr/sbin//opt/'
> [Sat Oct 17 14:30:16.905579 2015] [:error] [pid 646] Cannot find current
script '/opt/' at /usr/share/perl5/FindBin.pm line 166.\nBEGIN
failed--compilation aborted at /usr/share/perl5/FindBin.pm line
166.\nCompilation failed in require at /opt/otrs/bin/cgi-bin/installer.pl
line 26.\nBEGIN failed--compilation aborted at /opt/otrs/bin/cgi-bin/
installer.pl line 26.\n

Maybe, when I modify to avoid FindBin function like
"Kernel/Config/Defaults.pm" makes good. But impact range is too large(over
80 files must be modify).
Do you have any idea?

Regards,
Hisatoshi Onishi

E-Mail: hisatoshi.oni...@gmail.com
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Reply via email to