Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: zimbramon can't locate Socket6.pm in @INC

  1. #1
    pixelplumber is offline Active Member
    Join Date
    Mar 2007
    Posts
    45
    Rep Power
    8

    Default zimbramon can't locate Socket6.pm in @INC

    I've just upgraded from 5.0.10 to 5.0.12 with the RHEL4 32bit packages onto a centos4 32bit server. It all seems to be working from a user perspective but I;m getting the following error on each incoming email in the zimbra.log

    [edit: this is an oss zimbra install too]

    Code:
    Jan 31 17:22:22 mail amavis[27654]: (27654-01) (!)_DIE: Can't locate Socket6.pm in @INC (@INC contains: /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.5/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.5 /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.4 /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.3 /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.2 /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.1 /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.0 /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi /opt/zimbra/zimbramon/lib/5.8.5/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/5.8.5 /opt/zimbra/zimbramon/lib/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/5.8.4 /opt/zimbra/zimbramon/lib/5.8.3 /opt/zimbra/zimbramon/lib/5.8.2 /opt/zimbra/zimbramon/lib/5.8.1 /opt/zimbra/zimbramon/lib/5.8.0 /opt/zimbra/zimbramon/lib /opt/zimbra/zimbramon/lib/i...
    Jan 31 17:22:22 mail amavis[27654]: (27654-01) (!)...386-linux-thread-multi/5.8.5/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/i386-linux-thread-multi/5.8.5 /opt/zimbra/zimbramon/lib/i386-linux-thread-multi/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/i386-linux-thread-multi/5.8.4 /opt/zimbra/zimbramon/lib/i386-linux-thread-multi/5.8.3 /opt/zimbra/zimbramon/lib/i386-linux-thread-multi/5.8.2 /opt/zimbra/zimbramon/lib/i386-linux-thread-multi/5.8.1 /opt/zimbra/zimbramon/lib/i386-linux-thread-multi/5.8.0 /opt/zimbra/zimbramon/lib/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/5.8.5/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/5.8.5 /opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/5.8.4 /opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/5.8.3 /opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/5.8.2 /opt/zimbra/zimbramon/lib/i486-linux-gnu-thre...
    Jan 31 17:22:22 mail amavis[27654]: (27654-01) (!)...ad-multi/5.8.1 /opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/5.8.0 /opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi /opt/zimbra/zimbramon/lib/i586-linux-thread-multi/5.8.5/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/i586-linux-thread-multi/5.8.5 /opt/zimbra/zimbramon/lib/i586-linux-thread-multi/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/i586-linux-thread-multi/5.8.4 /opt/zimbra/zimbramon/lib/i586-linux-thread-multi/5.8.3 /opt/zimbra/zimbramon/lib/i586-linux-thread-multi/5.8.2 /opt/zimbra/zimbramon/lib/i586-linux-thread-multi/5.8.1 /opt/zimbra/zimbramon/lib/i586-linux-thread-multi/5.8.0 /opt/zimbra/zimbramon/lib/i586-linux-thread-multi /opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi/5.8.5/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi/5.8.5 /opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi/5.8.4 /...
    Jan 31 17:22:22 mail amavis[27654]: (27654-01) (!)...opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi/5.8.3 /opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi/5.8.2 /opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi/5.8.1 /opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi/5.8.0 /opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi /opt/zimbra/zimbramon/lib/darwin-thread-multi-2level/5.8.5/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/darwin-thread-multi-2level/5.8.5 /opt/zimbra/zimbramon/lib/darwin-thread-multi-2level/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/darwin-thread-multi-2level/5.8.4 /opt/zimbra/zimbramon/lib/darwin-thread-multi-2level/5.8.3 /opt/zimbra/zimbramon/lib/darwin-thread-multi-2level/5.8.2 /opt/zimbra/zimbramon/lib/darwin-thread-multi-2level/5.8.1 /opt/zimbra/zimbramon/lib/darwin-thread-multi-2level/5.8.0 /opt/zimbra/zimbramon/lib/darwin-thread-multi-2level /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl...
    Jan 31 17:22:22 mail amavis[27654]: (27654-01) (!).../5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /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 /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /u...
    Jan 31 17:22:22 mail amavis[27654]: (27654-01) (!)...sr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /opt/zimbra/zimbramon/lib/IO/Socket/SSL.pm line 61,  line 5.\n
    I can't find a socket6.pm anywhere in the zimbra tree, is this a bug in the upgrade?

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    Default

    If this is a 32bit installation, why does your error messages above show this:

    Code:
    Jan 31 17:22:22 mail amavis[27654]: (27654-01) (!)_DIE: Can't locate Socket6.pm in @INC (@INC contains: /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.5/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.5 /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.4 /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.3 /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.2 /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.1 /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.0 /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi /opt/zimbra/zimbramon/lib/5.8.5/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/5.8.5 /opt/zimbra/zimbramon/lib/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/5.8.4 /opt/zimbra/zimbramon/lib/5.8.3 /opt/zimbra/zimbramon/lib/5.8.2 /opt/zimbra/zimbramon/lib/5.8.1 /opt/zimbra/zimbramon/lib/5.8.0 /opt/zimbra/zimbramon/lib /opt/zimbra/zimbramon/lib/i..
    That has a reference to a 64bit directory which (AFAIK) shouldn't be on your system. My 32bit CentOS installation doesn't have that directory.

    Code:
    ls -l /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/
    ls: /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/: No such file or directory
    Are you absolutely sure you've installed the correct version of Zimbra? What does the following show:

    Code:
    zmcontrol -v
    BTW, is this in a VM or on a real server?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    pixelplumber is offline Active Member
    Join Date
    Mar 2007
    Posts
    45
    Rep Power
    8

    Default

    Hi Phoenix,

    Yeah, I noticed the 64bit lines as well, that's why I wondered if there was some problem with the installer. I can't find that perl module anywhere on the system either.

    zmcontrol gives: Release 5.0.12_GA_2789.RHEL4_20090126032808 CentOS4 FOSS edition

    I downloaded the package: http://h.yimg.com/lo/downloads/5.0.1...0126032808.tgz from the zimbra site.

    It is a centos4.7 32 bit container on an openvz centos 4.7 64bit hardware node. So fortunately I can flip back to the backup VM very quickly if this is a real problem - first issue I've had with installation/upgrades since 4.5

    I have noticed though that the messages seem to occur after a zmcontrol stop/start and stop occurring after 10min or so although new messages continue to arrive.

    I still have stats, and the admin console doesn't indicate any part of zimbra isn't working.

    weird.

    I'm not a mail guru, is there some extra logging detail/or directories I can poke about in to find out exactly what process is looking for these files? the syslog message indicates its amavis logging the error...

    Cheers.

  4. #4
    pixelplumber is offline Active Member
    Join Date
    Mar 2007
    Posts
    45
    Rep Power
    8

    Default

    I can't even find a reference to Socket6.pm in any file in the zimbra directory.

    Grepping through /usr/ there are references to it in the perl-Net-DNS.i386 modules installed with yum. So I'm thinking now its a problem thrown up by DNS queries being made by amavis? Seems its possible its a centos problem then...

    Code:
    /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Net/DNS/Resolver/Base.pm
    /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Net/DNS/Resolver.pm
    /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Net/DNS/Nameserver.pm

  5. #5
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    Default

    Was this version of Zimbra ever migrated form another server or have you ever tried the 64bit Zimbra on this server?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    pixelplumber is offline Active Member
    Join Date
    Mar 2007
    Posts
    45
    Rep Power
    8

    Default

    No. It's always been a 32bit install, both centos and zimbra.

    There's a file Resolver.pm installed by perl-Net-DNS.i386 at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Net/DNS/ that mentions usage of Socket6 if IPV6 connections are made, although I'm not using IPV6 on the network.
    Code:
    The Net::DNS::Resolver library will use IPv6 transport if the
    appropriate libraries (Socket6 and IO::Socket::INET6) are available
    and the address the server tries to connect to is an IPv6 address.
    
    The print() will method will report if IPv6 transport is available.
    
    You can use the force_v4() method with a non-zero argument
    to force IPv4 transport.
    
    The nameserver() method has IPv6 dependend behavior. If IPv6 is not
    available or IPv4 transport has been forced the nameserver() method
    will only return IPv4 addresses.
    
    For example
    
        $res->nameservers('192.168.1.1', '192.168.2.2', '2001:610:240:0:53:0:0:3');
        $res->force_v4(1);
        print join (" ",$res->nameserver());
    
    Will print: 192.168.1.1 192.168.2.2
    Additionally, this looks like a 3rd party rpmforge package rather than the older centos4 version, so that could be a cause as well.

    I'll keep poking around. It doesn't seem to be impacting the server atm.

  7. #7
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    Default

    If you have a backup I'd suggest testing this by stopping Zimbra then renaming the offending 64bit directory and then restarting Zimbra. See what happens with that and if it's a problem then just rename the directory back to the original.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    pixelplumber is offline Active Member
    Join Date
    Mar 2007
    Posts
    45
    Rep Power
    8

    Default

    I've rid myself of the log messages by installing perl-Net-Socket6 and perl-Net-INET6 from the rpmforge repository to complement the perl-Net-DNS already installed. I guess its a dependency issue stemming from not using the Centos provided perl.

    I don't have IPV6 enabled though, and I'm still idly curious as to why it should change just after the 5.0.12 upgrade as the perl-Net-DNS has been there since March 27 last year.

    But nothing about Socket6 in the last 30 days of zimbra logs.

    At any rate, the problem is solved to my satisfaction for now, thanks for your quick response!

  9. #9
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    Default

    You shouldn't need that perl module, I have IP6 enabled on my systems and don't see the problem you're having and that perl module isn't installed. I also have the rpmforge repository on my Zimbra CentOS system. Do you have the protectbase and priorities plugin installed for yum? If no, I'd suggest you add them so you don't end up with incorrect modules updating your system. I'm also still concerned that you have a 64bit directory in your /opt/zimbra directory structure.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    pixelplumber is offline Active Member
    Join Date
    Mar 2007
    Posts
    45
    Rep Power
    8

    Default

    Does the zimbra installer configure the perl @INC to look at all possible combos of path for the libs? If I look at the zimbramon directory I don't have the X_64 linux-thread-multi libs in there, its all i386.

    Code:
    @INC contains: /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.5/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.5 /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.4 /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.3 /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.2 /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.1 /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.0 /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi /opt/zimbra/zimbramon/lib/5.8.5/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/5.8.5 /opt/zimbra/zimbramon/lib/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/5.8.4 /opt/zimbra/zimbramon/lib/5.8.3 /opt/zimbra/zimbramon/lib/5.8.2 /opt/zimbra/zimbramon/lib/5.8.1 /opt/zimbra/zimbramon/lib/5.8.0 /opt/zimbra/zimbramon/lib /opt/zimbra/zimbram...
    Code:
    [root@mail lib]# pwd
    /opt/zimbra/zimbramon/lib
    [root@mail lib]# ls
    Apache   Bundle    Crypt  Digest  Getopt  IO      List  Net      SOAP    Test  UDDI    WWW     Zimbra                   lwpcook.pod
    Archive  Compress  Date   Email   HTML    LWP     MIME  OldDocs  Sub     Time  URI     XML     auto                     lwptut.pod
    Array    Convert   Devel  File    HTTP    LWP.pm  Mail  Pod      Swatch  Tree  URI.pm  XMLRPC  i386-linux-thread-multi  spamassassin-run.pod
    Since I've installed those extra modules, and restarted the VM, I get a shorter list in the @INC now versus what was in it when I was getting the zimbra.log errors before.

    Now:
    Code:
    [root@mail lib]# perl -V
    Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
      Platform:
        osname=linux, osvers=2.6.9-67.0.15.elvm, archname=i386-linux-thread-multi
        uname='linux v20z-c4i386.home.local 2.6.9-67.0.15.elvm #1 wed may 7 13:46:12 edt 2008 i686 athlon i386 gnulinux '
    
    --SNIPPED--
    
    USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
      Built under linux
      Compiled at Jun 12 2008 12:37:31
      @INC:
        /usr/lib/perl5/5.8.5/i386-linux-thread-multi
        /usr/lib/perl5/5.8.5
        /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
        /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
        /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
        /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
        /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
        /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
        /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
        /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
        /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
        /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
        /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
        /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
        /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
        /usr/lib/perl5/vendor_perl/5.8.5
        /usr/lib/perl5/vendor_perl/5.8.4
        /usr/lib/perl5/vendor_perl/5.8.3
        /usr/lib/perl5/vendor_perl/5.8.2
        /usr/lib/perl5/vendor_perl/5.8.1
        /usr/lib/perl5/vendor_perl/5.8.0
        /usr/lib/perl5/vendor_perl
        .
    Before:
    Code:
    @INC contains: 
    /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.5/i386-linux-thread-multi 
    /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.5 
    /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/i386-linux-thread-multi
    /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.4 
    /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.3 
    /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.2 
    /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.1 
    /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi/5.8.0 
    /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi 
    /opt/zimbra/zimbramon/lib/5.8.5/i386-linux-thread-multi 
    /opt/zimbra/zimbramon/lib/5.8.5 
    /opt/zimbra/zimbramon/lib/i386-linux-thread-multi 
    /opt/zimbra/zimbramon/lib/5.8.4 /opt/zimbra/zimbramon/lib/5.8.3 
    /opt/zimbra/zimbramon/lib/5.8.2 /opt/zimbra/zimbramon/lib/5.8.1 
    /opt/zimbra/zimbramon/lib/5.8.0 /opt/zimbra/zimbramon/lib 
    /opt/zimbra/zimbram...etc
    All the X_64 references are gone. That was why I thought I had solved the issue. As to why the perl-Net-DNS module (I think) is calling out to the IPV6 stuff, I don't know. I'll take some time tomorrow to have a dig.

    re the priorities plugin that looks like a very good idea. *slaps forehead*

    Cheers.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. speed up the net
    By mcesari in forum Administrators
    Replies: 10
    Last Post: 04-25-2008, 11:24 AM
  2. Spam training problem...
    By TaskMaster in forum Installation
    Replies: 2
    Last Post: 05-08-2007, 09:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •