Napp-it error in auto.pl

Discussion in 'Solaris, Nexenta, OpenIndiana, and napp-it' started by manxam, May 29, 2017.

  1. manxam

    manxam Active Member

    Joined:
    Jul 25, 2015
    Messages:
    226
    Likes Received:
    47
    I just received a local mail upon login to my OmniOS server running Napp-it pro 17.04 dev:
    Code:
    ld.so.1: perl: fatal: relocation error: file /var/web-gui/data/napp-it/CGI/auto/IO/Tty/Tty.so: symbol Perl_xs_apiversion_bootcheck: referenced symbol not found
    
    I have seen this thread : [SOLVED] OmniOS r151021 (latest Bloody) and napp-it: Tty.so Perl error on admin.pl but it states that it was fixed in 17.01 for 021 bloody. I'm running 17.04 dev and 022 lts.

    Attempting to run this manually results in:
    Code:
    perl /var/web-gui/data/napp-it/zfsos/_lib/scripts/auto.pl
    Can't load '/var/web-gui/data/napp-it/CGI/auto/IO/Tty/Tty.so' for module IO::Tty: ld.so.1: perl: fatal: /var/web-gui/data/napp-it/CGI/auto/IO/Tty/Tty.so: wrong
     ELF class: ELFCLASS32 at /opt/local/lib/perl5/5.22.0/x86_64-solaris-thread-multi-64/DynaLoader.pm line 193.
     at /var/web-gui/data/napp-it/CGI/IO/Tty.pm line 30.
    Compilation failed in require at /var/web-gui/data/napp-it/CGI/IO/Pty.pm line 7.
    BEGIN failed--compilation aborted at /var/web-gui/data/napp-it/CGI/IO/Pty.pm line 7.
    Compilation failed in require at /var/web-gui/data/napp-it/CGI/Expect.pm line 22.
    BEGIN failed--compilation aborted at /var/web-gui/data/napp-it/CGI/Expect.pm line 22.
    Compilation failed in require at /var/web-gui/data/napp-it/zfsos/_lib/illumos/zfslib.pl line 2843.
    BEGIN failed--compilation aborted at /var/web-gui/data/napp-it/zfsos/_lib/illumos/zfslib.pl line 2843.
    Compilation failed in require at /var/web-gui/data/napp-it/zfsos/_lib/scripts/auto.pl line 89.
    
    I'm not certain if this is significant but, looking at the code, it appears it's used as a taskrunner and may affect things such as my auto replication.

    Can you please take a look at this Gea and advise?

    Thank you!
     
    #1
  2. gea

    gea Well-Known Member

    Joined:
    Dec 31, 2010
    Messages:
    2,261
    Likes Received:
    750
    Have you modified your Perl?
    The Tty Perl module from Expect.pm is precompiled for a default OmniOS 151022 and only working there.

    Check Perl version, The following is the one from OmniOS 151022
    Code:
    ~# perl -v
    This is perl 5, version 24, subversion 1 (v5.24.1) built for i86pc-solaris-thread-multi-64int
    
     
    #2
  3. manxam

    manxam Active Member

    Joined:
    Jul 25, 2015
    Messages:
    226
    Likes Received:
    47
    Thanks Gea. It appears that there is a perl installation of 5.22 in /opt/local/bin though I don't recall installing it myself. I have renamed the executable to perl.old and "which" now shows perl at "/usr/bin/perl" and "perl -v" shows 5.24.
     
    #3
Similar Threads: Napp-it error
Forum Title Date
Solaris, Nexenta, OpenIndiana, and napp-it [Solved] Soft Errors with Napp-It 18.06+ and Solaris 11.4 Mar 4, 2019
Solaris, Nexenta, OpenIndiana, and napp-it ZPool Config advice and Napp-IT Smart Test Errors May 2, 2017
Solaris, Nexenta, OpenIndiana, and napp-it [SOLVED] OmniOS r151021 (latest Bloody) and napp-it: Tty.so Perl error on admin.pl Apr 11, 2017
Solaris, Nexenta, OpenIndiana, and napp-it [solved] Napp-it and folder-acl : write-error Nov 29, 2016
Solaris, Nexenta, OpenIndiana, and napp-it Napp-it perl websocket "error"? messages via mails for root Jun 2, 2016

Share This Page