Thanks Florian and Yves for your replies.

I'm definetely no perl (and not even linux) expert.

All I have to offer as additional info i sas follows:

Full apache log for error:
[Fri Jun 24 08:41:05.797341 2016] [mpm_prefork:notice] [pid 2707] AH00163: 
Apache/2.4.18 (Amazon) mod_perl/2.0.7 Perl/v5.16.3 configured -- resuming 
normal operations
[Fri Jun 24 08:41:05.797352 2016] [core:notice] [pid 2707] AH00094: Command 
line: '/usr/sbin//opt/'
[Fri Jun 24 08:41:14.130011 2016] [:error] [pid 2711] 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

Perl is in /usr/bin/perl

perl -V output:
Summary of my perl5 (revision 5 version 16 subversion 3) configuration:

  Platform:
    osname=linux, osvers=3.2.45-0.6.wd.514.39.260.metal1.x86_64, 
archname=x86_64-linux-thread-multi
    uname='linux gobi-build-64003.pdx4.amazon.com 
3.2.45-0.6.wd.514.39.260.metal1.x86_64 #1 smp thu feb 27 01:14:25 utc 2014 
x86_64 x86_64 x86_64 gnulinux '
    config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
-Dccdlflags=-Wl,--enable-new-dtags -Dlddlflags=-shared -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic  -DDEBUGGING=-g -Dversion=5.16.3 
-Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, 
Inc. -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr/local 
-Dsitelib=/usr/local/share/perl5 -Dsitearch=/usr/local/lib64/perl5 
-Dprivlib=/usr/share/perl5 -Dvendorlib=/usr/share/perl5/vendor_perl 
-Darchlib=/usr/lib64/perl5 -Dvendorarch=/usr/lib64/perl5/vendor_perl 
-Darchname=x86_64-linux-thread-multi -Dlibpth=/usr/local/lib64 /lib64 
/usr/lib64 -Duseshrplib -Dusethreads -Duseithreads -Dusedtrace=/usr/bin/dtrace 
-Duselargefiles -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog 
-Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly 
-Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto 
-Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto 
-Ud_endservent_r_proto -Ud_setservent_r_proto -Dscriptdir=/usr/bin 
-Dusesitecustomize'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe 
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64',
    optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe 
-fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.8.2 20140120 (Red Hat 4.8.2-16)', 
gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -fstack-protector'
    libpth=/usr/local/lib64 /lib64 /usr/lib64
    libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.17'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, 
ccdlflags='-Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic '


Characteristics of this binary (from libperl):
  Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
                        PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT
                        PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_ALL
                        USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
                        USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
                        USE_REENTRANT_API USE_SITECUSTOMIZE
  Locally applied patches:
        Fedora Patch1: Removes date check, Fedora/RHEL specific
        Fedora Patch3: support for libdir64
        Fedora Patch4: use libresolv instead of libbind
        Fedora Patch5: USE_MM_LD_RUN_PATH
        Fedora Patch6: Skip hostname tests, due to builders not being network 
capable
        Fedora Patch7: Dont run one io test due to random builder failures
        Fedora Patch9: Fix find2perl to translate ? glob properly (RT#113054)
        Fedora Patch10: Fix broken atof (RT#109318)
        Fedora Patch13: Clear $@ before "do" I/O error (RT#113730)
        Fedora Patch14: Do not truncate syscall() return value to 32 bits 
(RT#113980)
        Fedora Patch15: Override the Pod::Simple::parse_file (CPANRT#77530)
        Fedora Patch16: Do not leak with attribute on my variable (RT#114764)
        Fedora Patch17: Allow operator after numeric keyword argument 
(RT#105924)
        Fedora Patch18: Extend stack in File::Glob::glob, (RT#114984)
        Fedora Patch19: Do not crash when vivifying $|
        Fedora Patch20: Fix misparsing of maketext strings (CVE-2012-6329)
        Fedora Patch21: Add NAME headings to CPAN modules (CPANRT#73396)
        Fedora Patch22: Fix leaking tied hashes (RT#107000) [1]
        Fedora Patch23: Fix leaking tied hashes (RT#107000) [2]
        Fedora Patch24: Fix leaking tied hashes (RT#107000) [3]
        Fedora Patch25: Fix dead lock in PerlIO after fork from thread 
(RT#106212)
        Fedora Patch26: Make regexp safe in a signal handler (RT#114878)
        Fedora Patch27: Update h2ph(1) documentation (RT#117647)
        Fedora Patch28: Update pod2html(1) documentation (RT#117623)
        Fedora Patch29: Document Math::BigInt::CalcEmu requires Math::BigInt 
(CPAN RT#85015)
  Built under linux
  Compiled at Sep 15 2014 18:16:40
  @INC:
    /usr/local/lib64/perl5
    /usr/local/share/perl5
    /usr/lib64/perl5/vendor_perl
    /usr/share/perl5/vendor_perl
    /usr/lib64/perl5
    /usr/share/perl5
    .

Once again, any help is appreciated.
paolo

Paolo Mosconi

[ACTVALUE_LOGO firma email]
ActValue Consulting and Solutions
Via V. Buzzi, 4 - 20017 RHO (Milano) - ITALY
T +39 02 934642 27
M +39 335 8107163
Skype: pmosconi
paolo.mosc...@actvalue.com<mailto:paolo.mosc...@actvalue.com>
www.actvalue.com<http://www.actvalue.com/>
www.my-ecommerce.it<http://www.my-ecommerce.it/>

Da: Paolo Mosconi
Inviato: giovedì 23 giugno 2016 17:47
A: 'otrs@otrs.org' <otrs@otrs.org>
Oggetto: Version 5.0.10 installation on AWS Linux Centos

Hi,
I am doing a fresh installation from rpm and I got the following error.

[:error] [pid 2426] 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 25.\nBEGIN failed--compilation aborted 
at /opt/otrs/bin/cgi-bin/installer.pl line 25.

Installation commands:
sudo yum install httpd24 mod24_perl --nogpgcheck otrs-5.0.10-01.noarch.rpm
sudo yum -y install 
http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
sudo yum -y install "perl(Text::CSV_XS)"

I have a running V 4 since 2 years and I don't remember having encountered this 
in the past.

Any help is appreciated

Paolo Mosconi

[ACTVALUE_LOGO firma email]
ActValue Consulting and Solutions
Via V. Buzzi, 4 - 20017 RHO (Milano) - ITALY
T +39 02 934642 27
M +39 335 8107163
Skype: pmosconi
paolo.mosc...@actvalue.com<mailto:paolo.mosc...@actvalue.com>
www.actvalue.com<http://www.actvalue.com/>
www.my-ecommerce.it<http://www.my-ecommerce.it/>

---------------------------------------------------------------------
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