Page 1 of 3 123 LastLast
Results 1 to 10 of 30

Thread: first installation ZCS 5.0GA on centos 4.6 failed

  1. #1
    echoadisan is offline Member
    Join Date
    Jan 2008
    Location
    jakarta indonesia
    Posts
    14
    Rep Power
    7

    Default first installation ZCS 5.0GA on centos 4.6 failed

    hi all,

    i was installed zimbra on my server centos 4.6.

    failed(2) when initialized LDAP

    error
    Code:
    [zimbra@domain root]$ /opt/zimbra/libexec/zmldapinit
     is only avaliable with the XS version at /opt/zimbra/zimbramon/lib/IO/Socket/SSL.pm line 30
    BEGIN failed--compilation aborted at /opt/zimbra/zimbramon/lib/IO/Socket/SSL.pm line 30.
    Compilation failed in require at /opt/zimbra/zimbramon/lib/Net/LDAP.pm line 970.
    i was instal Scalar:Util from CPAN. and try install ZCS but it doesnt work.

    may be all u guys can help me.

    tx
    echoadisan
    Last edited by echoadisan; 01-05-2008 at 07:58 AM.

  2. #2
    echoadisan is offline Member
    Join Date
    Jan 2008
    Location
    jakarta indonesia
    Posts
    14
    Rep Power
    7

    Default

    im stuck here..

    can anyone help me

    tx

  3. #3
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

  4. #4
    echoadisan is offline Member
    Join Date
    Jan 2008
    Location
    jakarta indonesia
    Posts
    14
    Rep Power
    7

    Default

    thaks mate

  5. #5
    echoadisan is offline Member
    Join Date
    Jan 2008
    Location
    jakarta indonesia
    Posts
    14
    Rep Power
    7

    Default

    soory is not solved yet. i was export perllib n perl5lib also install new bundle::cpan

    for centos4.6 . it happened again in same place. i was stuck now. can any one tell me how to fix it

  6. #6
    Zig
    Zig is offline Intermediate Member
    Join Date
    Jul 2007
    Posts
    22
    Rep Power
    7

    Default I think it is a bug for the installer

    I am using Centos 4.6.
    I think Zimbra made a mistake. It did not bundle the XS version perllib for RHEL4. So if you run the zmsetup.pl directly, you will receive an error.

    In order to solve this, you have to:

    1. Run cpan -i Scalar::Util to install it again
    2. Edit /opt/zimbra/.bashrc, add the lib directory of your system's perllib before PERLLIB (mine is: PERLLIB=/usr/lib/perl5/5.8.8/i386-linux-thread-multi:/opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi:/opt/zimbra/zimbramon/lib:/opt/zimbra/zimbramon/lib/i386-linux-thread-multi:/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi:/opt/zimbra/zimbramon/lib/i586-linux-thread-multi:/opt/zimbra/zimbramon/lib/darwin-thread-multi-2level)

    In this way the script works. I do not know if this change will cause further problems. You should use it at your own risk.

  7. #7
    Zig
    Zig is offline Intermediate Member
    Join Date
    Jul 2007
    Posts
    22
    Rep Power
    7

    Default

    Another solution is to run this after "cpan -i Scalar::Util"

    cp /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/List/Util/* /opt/zimbra/zimbramon/lib/i386-linux-thread-multi/auto/List/Util/

    It will override the .so required by XS version.
    Maybe there is a version conflict problem between the XS lib provided by Zimbra and CentOS 4.6.

  8. #8
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,196
    Rep Power
    9

    Default

    Quote Originally Posted by Zig View Post
    I am using Centos 4.6.
    I think Zimbra made a mistake. It did not bundle the XS version perllib for RHEL4.
    Actually, as I'm the one who bundled it in for RHEL4, I can assure you it is there. For example, running as root without Zimbra's Scalar::Util present, we get:

    [root@build01 tmp]# perl /tmp/test.pl
    is only avaliable with the XS version at /tmp/test.pl line 7
    BEGIN failed--compilation aborted at /tmp/test.pl line 7.

    Once Zimbra's Scalar::Util is present, we get success with both the zimbra and root user:

    [root@build01 tmp]# perl /tmp/test.pl
    [root@build01 tmp]# su - zimbra
    [zimbra@build01 ~]$ perl /tmp/test.pl
    [zimbra@build01 ~]$


    Code:
    #!/usr/bin/perl
    use lib "/opt/zimbra/libexec";
    use lib "/opt/zimbra/libexec/scripts";
    use lib "/opt/zimbra/zimbramon/mrtg/lib/mrtg2";
    use lib "/opt/zimbra/zimbramon/lib";
    use lib "/opt/zimbra/zimbramon/lib/Zimbra";
    use Scalar::Util qw/dualvar/;
    This is with the 5.0.0 release installed on our RHEL4 box. You may be running into one of the various issues with using CentOS4 instead of RHEL4.

    --Quanah
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  9. #9
    echoadisan is offline Member
    Join Date
    Jan 2008
    Location
    jakarta indonesia
    Posts
    14
    Rep Power
    7

    Default

    tx for your great reply. i will try about next weekend. tx everybody.

  10. #10
    Zig
    Zig is offline Intermediate Member
    Join Date
    Jul 2007
    Posts
    22
    Rep Power
    7

    Default

    Yes. I am using CentOS 4.6.

    The test script fails.

    The maybe it is version conflict problem.

    Quote Originally Posted by quanah View Post
    Actually, as I'm the one who bundled it in for RHEL4, I can assure you it is there. For example, running as root without Zimbra's Scalar::Util present, we get:

    [root@build01 tmp]# perl /tmp/test.pl
    is only avaliable with the XS version at /tmp/test.pl line 7
    BEGIN failed--compilation aborted at /tmp/test.pl line 7.

    Once Zimbra's Scalar::Util is present, we get success with both the zimbra and root user:

    [root@build01 tmp]# perl /tmp/test.pl
    [root@build01 tmp]# su - zimbra
    [zimbra@build01 ~]$ perl /tmp/test.pl
    [zimbra@build01 ~]$


    Code:
    #!/usr/bin/perl
    use lib "/opt/zimbra/libexec";
    use lib "/opt/zimbra/libexec/scripts";
    use lib "/opt/zimbra/zimbramon/mrtg/lib/mrtg2";
    use lib "/opt/zimbra/zimbramon/lib";
    use lib "/opt/zimbra/zimbramon/lib/Zimbra";
    use Scalar::Util qw/dualvar/;
    This is with the 5.0.0 release installed on our RHEL4 box. You may be running into one of the various issues with using CentOS4 instead of RHEL4.

    --Quanah

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Trouble Sending mail - All Messages deferred!
    By SiteDiscovery in forum Administrators
    Replies: 7
    Last Post: 09-03-2009, 04:52 AM
  2. My Zimbra server down ... please help :)
    By frankb in forum Administrators
    Replies: 2
    Last Post: 12-12-2007, 11:29 AM
  3. Replies: 41
    Last Post: 10-29-2007, 02:36 PM
  4. Lotus migration
    By babou in forum Migration
    Replies: 15
    Last Post: 03-05-2007, 10:33 PM
  5. ZCS 3.2 Beta Available
    By KevinH in forum Announcements
    Replies: 31
    Last Post: 07-07-2006, 03:46 PM

Posting Permissions

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