The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cpbackup errors (and others)

Discussion in 'Data Protection' started by eagle, May 29, 2008.

  1. eagle

    eagle Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    Today, we had several errors in our logs.

    First the (now solved) perl error:
    Code:
    [checkperlmodules] The perl module Encode::Detect::Detector could not be installed.
    We were able to install Encode-Detect-1.01 manually.

    Then we saw errors in messages (our attention was drawn by the email messages of chkservd):
    Code:
    May 29 06:42:39 host chkservd: chkservd shutdown succeeded
    May 29 06:42:39 host chkservd: chkservd startup succeeded
    May 29 06:43:01 host chkservd: chkservd shutdown succeeded
    May 29 06:43:01 host chkservd: chkservd startup succeeded
    May 29 06:49:55 host exim: exim shutdown failed
    May 29 06:49:55 host exim: antirelayd shutdown failed
    May 29 06:49:55 host exim: spamd shutdown failed
    May 29 06:49:55 host exim: exim startup succeeded
    May 29 06:49:55 host exim: exim startup succeeded
    May 29 06:49:55 host exim: antirelayd startup succeeded
    May 29 06:49:56 host exim: spamd startup succeeded
    May 29 06:49:57 host antirelayd: antirelayd shutdown failed
    Next, we noticed errors in our backup report:
    Code:
    Net::FTP=GLOB(0x9fd4d04)<<< 221 Goodbye.
    Can't locate cPScript/AccessIds/SetUids.pm in @INC (@INC contains: /scripts /usr/local/cpanel /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /scripts/cPScript/AccessIds.pm line 20.
    BEGIN failed--compilation aborted at /scripts/cPScript/AccessIds.pm line 20.
    Compilation failed in require at /scripts/pkgacct line 12.
    BEGIN failed--compilation aborted at /scripts/pkgacct line 12.
    Net::FTP=GLOB(0x9fd4e00)<<< 220 (vsFTPd 1.2.1)
    .
    .
    .
    .
    .
    .
    Net::FTP=GLOB(0x9fd4e00)<<< 221 Goodbye.
    Can't locate cPScript/AccessIds/SetUids.pm in @INC (@INC contains: /scripts /usr/local/cpanel /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /scripts/cPScript/AccessIds.pm line 20.
    BEGIN failed--compilation aborted at /scripts/cPScript/AccessIds.pm line 20.
    Compilation failed in require at /scripts/pkgacct line 12.
    BEGIN failed--compilation aborted at /scripts/pkgacct line 12.
    Net::FTP=GLOB(0x9fd4bd8)<<< 220 (vsFTPd 1.2.1)
    .
    .
    .
    .
    .
    .
    Net::FTP=GLOB(0x9fd4bd8)<<< 221 Goodbye.
    Can't locate cPScript/AccessIds/SetUids.pm in @INC (@INC contains: /scripts /usr/local/cpanel /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /scripts/cPScript/AccessIds.pm line 20.
    BEGIN failed--compilation aborted at /scripts/cPScript/AccessIds.pm line 20.
    Compilation failed in require at /scripts/pkgacct line 12.
    BEGIN failed--compilation aborted at /scripts/pkgacct line 12.
    Net::FTP=GLOB(0x9ff9a98)<<< 220 (vsFTPd 1.2.1)
    I wonder if these events are all related. upcp runs at 05.41, cpbackup runs at 01.00, but finishes between 05.00 and 06.00 (the errors our with the last accounts backed up). They are all more or less related to perl mods. Does anyone know enough of perl to see any connection between the events (or no connection)?

    WHM 11.23.0 cPanel 11.23.1-R24893
    CENTOS Enterprise 4.6 i686
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Looks like some of the Perl modules didn't install. Try /scripts/upcp --force
     
  3. eagle

    eagle Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    More perl troubles I'm afraid:

    1.
    Code:
    cd /tmp/.spamassassin13920jf04Y3tmp
    cd Mail-SpamAssassin-CompiledRegexps-body_0
    re2c -i -b -o scanner1.c scanner1.re
    re2c -i -b -o scanner2.c scanner2.re
    re2c: error: line 141, column 2: Token exceeds limit
    command failed! at /usr/bin/sa-compile line 282, <$fh> line 987.
    Mail::SpamAssassin::Plugin::Rule2XSBody is not available: disabled
    2.
    So, do we have do fix every perl mod manually ;) ?
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
  5. eagle

    eagle Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    cPanel tech quickly fixed the perl errors that lead to the backup errors (cause, a bad 02packages.details.txt.gz causing CPAN to fail). Last night the backup completed without errors. Thumbs up for that!

    The upcp still had the SA rules error:
    Code:
    [29317] info: generic: base extraction starting. this can take a while...
    [29317] info: generic: extracting from rules of type body_0
    .......................................................................................................................................................................................................................................................................................................................................................................................................................................
    100% Completed  83.42 rules/sec in 00m05s
    .....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
    100% Completed 134.72 bases/sec in 00m07s
    [29317] info: body_0: 684 base strings extracted in 14 seconds
    [29317] info: rules: meta test FM_DDDD_TIMES_2 has dependency 'FH_HOST_EQ_D_D_D_D' with a zero score
    [29317] info: rules: meta test FM_SEX_HOSTDDDD has dependency 'FH_HOST_EQ_D_D_D_D' with a zero score
    [29317] info: rules: meta test HS_PHARMA_1 has dependency 'HS_SUBJ_ONLINE_PHARMACEUTICAL' with a zero score
    cd /tmp/.spamassassin29317WlfsZ7tmp
    cd Mail-SpamAssassin-CompiledRegexps-body_0
    re2c -i -b -o scanner1.c scanner1.re
    re2c -i -b -o scanner2.c scanner2.re
    re2c: error: line 141, column 2: Token exceeds limit
    command failed! at /usr/bin/sa-compile line 282, <$fh> line 987.
    Mail::SpamAssassin::Plugin::Rule2XSBody is not available: disabled
    But a /scripts/fixspamassassinfailedupdate completed without errors:

    Code:
    /scripts/fixspamassassinfailedupdate
    [23802] info: generic: base extraction starting. this can take a while...
    [23802] info: generic: extracting from rules of type body_0
    100% [======================================================================================================================= ] 111.65 rules/sec 00m04s DONE
    100% [========================================================================================================================] 146.34 bases/sec 00m07s DONE
    [23802] info: body_0: 684 base strings extracted in 12 seconds
    [23802] info: rules: meta test FM_DDDD_TIMES_2 has dependency 'FH_HOST_EQ_D_D_D_D' with a zero score
    [23802] info: rules: meta test FM_SEX_HOSTDDDD has dependency 'FH_HOST_EQ_D_D_D_D' with a zero score
    [23802] info: rules: meta test HS_PHARMA_1 has dependency 'HS_SUBJ_ONLINE_PHARMACEUTICAL' with a zero score
    cd /tmp/.spamassassin23802ITfvONtmp
    cd Mail-SpamAssassin-CompiledRegexps-body_0
    re2c -i -b -o scanner1.c scanner1.re
    re2c -i -b -o scanner2.c scanner2.re
    re2c -i -b -o scanner3.c scanner3.re
    re2c -i -b -o scanner4.c scanner4.re
    /usr/bin/perl Makefile.PL PREFIX=/tmp/.spamassassin23802ITfvONtmp/ignored INSTALLSITEARCH=/var/lib/spamassassin/compiled/3.002003
    Writing Makefile for Mail::SpamAssassin::CompiledRegexps::body_0
    make
    cp body_0.pm blib/lib/Mail/SpamAssassin/CompiledRegexps/body_0.pm
    /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap  body_0.xs > body_0.xsc && mv body_0.xsc body_0.c
    cc -c   -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2   -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fpic "-I/usr/lib/perl5/5.8.8/i686-linux/CORE"   body_0.c
    cc -c   -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2   -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fpic "-I/usr/lib/perl5/5.8.8/i686-linux/CORE"   scanner1.c
    cc -c   -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2   -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fpic "-I/usr/lib/perl5/5.8.8/i686-linux/CORE"   scanner2.c
    cc -c   -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2   -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fpic "-I/usr/lib/perl5/5.8.8/i686-linux/CORE"   scanner3.c
    cc -c   -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2   -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fpic "-I/usr/lib/perl5/5.8.8/i686-linux/CORE"   scanner4.c
    Running Mkbootstrap for Mail::SpamAssassin::CompiledRegexps::body_0 ()
    chmod 644 body_0.bs
    rm -f blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
    cc  -shared -L/usr/local/lib body_0.o scanner1.o scanner2.o scanner3.o scanner4.o  -o blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so     \
            \
    
    chmod 755 blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
    cp body_0.bs blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.bs
    chmod 644 blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.bs
    Manifying blib/man3/Mail::SpamAssassin::CompiledRegexps::body_0.3
    make install
    Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
    Installing /var/lib/spamassassin/compiled/3.002003/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.bs
    Installing /var/lib/spamassassin/compiled/3.002003/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
    Installing /var/lib/spamassassin/compiled/3.002003/Mail/SpamAssassin/CompiledRegexps/body_0.pm
    Installing /tmp/.spamassassin23802ITfvONtmp/ignored/share/man/man3/Mail::SpamAssassin::CompiledRegexps::body_0.3
    Writing /var/lib/spamassassin/compiled/3.002003/auto/Mail/SpamAssassin/CompiledRegexps/body_0/.packlist
    Appending installation info to /tmp/.spamassassin23802ITfvONtmp/ignored/lib/perl5/5.8.8/i686-linux/perllocal.pod
    cp /tmp/.spamassassin23802ITfvONtmp/bases_body_0.pl /var/lib/spamassassin/compiled/3.002003/bases_body_0.pl
    cd /
    rm -rf /tmp/.spamassassin23802ITfvONtmp
    Removing bloated DynaLoader Dep from Mail::SpamAssassin::CompiledRegexps::body_0.
    Mail::SpamAssassin::Plugin::Rule2XSBody test passed: enabled
    
    So I am assuming that has been fixed also.
     
  6. ManuelT

    ManuelT Well-Known Member

    Joined:
    Sep 30, 2005
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    I'm having very similar issues can support let us know what they did to fix the perl errors. otherwise i'll have to log a ticket myself.
     
Loading...

Share This Page