Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Advanced troubleshooting pandora_server fails to start with undefined symbol Perl_Istack_sp_ptr error

  • pandora_server fails to start with undefined symbol Perl_Istack_sp_ptr error

    Posted by jerahian on April 11, 2014 at 22:47

    I installed PandoraFMS via the automated install using the Pandora FMS Repository on an AWS Linux instance (Linux 3.4.62-53.42.amzn1.i686 #1 SMP Fri Sep 20 07:23:52 UTC 2013 i686 i686 i386 GNU/Linux), and all seemed to go smoothly, including the installation of all deps.

    The console was also configured and is up and running with no issues.

    However, when I try to start the the server using via

        /etc/init.d/pandora_server start

    I get the following error:

        /usr/bin/perl: symbol lookup error: /usr/local/lib/perl5/auto/Encode/Encode.so: undefined symbol: Perl_Istack_sp_ptr
        Cannot start Pandora FMS Server. Aborted.

        Check Pandora FMS log files at '/var/log/pandora/pandora_server.error & pandora_server.log'

    When I try to check the log files, I see that no log files are actually generated.

    Anyone have any ideas on how to resolve this?  Does Pandora need an older version of Perl?

    Any help would be appreciated!!!

    Thanks,
    Ara


    Here are the PandoraFMS packages I have installed:

        Package pandorafms_console-5.0SP3-1.noarch already installed and latest version
        Package pandorafms_server-5.0SP3-1.noarch already installed and latest version

    Here is the detailed version of Perl I have installed:

    [root@x pandora]# perl -V
    Summary of my perl5 (revision 5 version 16 subversion 3) configuration:

      Platform:
        osname=linux, osvers=2.6.18-164.el5az00, archname=i386-linux-thread-multi
        uname='linux gobi-build-31002.sea31.amazon.com 2.6.18-164.el5az00 #1 smp tue sep 15 14:19:07 edt 2009 i686 i686 i386 gnulinux '
        config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=pentium4 -fasynchronous-unwind-tables -Dccdlflags=-Wl,--enable-new-dtags -Dlddlflags=-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=pentium4 -fasynchronous-unwind-tables  -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/lib/perl5 -Dprivlib=/usr/share/perl5 -Dvendorlib=/usr/share/perl5/vendor_perl -Darchlib=/usr/lib/perl5 -Dvendorarch=/usr/lib/perl5/vendor_perl -Darchname=i386-linux-thread-multi -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=undef, use64bitall=undef, 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 -m32 -march=i686 -mtune=pentium4 -fasynchronous-unwind-tables',
        cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
        ccversion='', gccversion='4.8.2 20131212 (Red Hat 4.8.2-7)', gccosandvers=''
        intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
        d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
        ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
        alignbytes=4, prototype=define
      Linker and Libraries:
        ld='gcc', ldflags =' -fstack-protector -L/usr/local/lib'
        libpth=/usr/local/lib /lib /usr/lib
        libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
        perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
        libc=/lib/libc-2.17.so, 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/lib/perl5/CORE'
        cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=pentium4 -fasynchronous-unwind-tables  -L/usr/local/lib'

    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_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 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)
      Built under linux
      Compiled at Apr  2 2014 18:13:48
      @INC:
        /usr/local/lib/perl5
        /usr/local/share/perl5
        /usr/lib/perl5/vendor_perl
        /usr/share/perl5/vendor_perl
        /usr/lib/perl5
        /usr/share/perl5
        .

    ivo_yordanov replied 10 years, 9 months ago 2 Members · 3 Replies
  • 3 Replies
  • ivo_yordanov

    Member
    April 14, 2014 at 12:17
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello

    Are you trying to install Pandora in a Fedora distribution?

    Regards
    Ivo

  • jerahian

    Member
    April 16, 2014 at 21:30
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    No, I’m trying to install it on a virtual instance of the latest Amazon Linux AMI (2014.03) which, to my understanding, is based on RHEL, but technically, is Amazon’s own Linux distribution.

  • ivo_yordanov

    Member
    April 21, 2014 at 13:11
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello

    This is a matter of permissions for the different folders. Can you copy the permissions for the following folder: pandora located at /var/log/

    Regards
    Ivo