Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-02-2008, 08:21 AM
Member
 
Posts: 14
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..
Reply With Quote
  #2 (permalink)  
Old 01-02-2008, 09:30 PM
Member
 
Posts: 14
Default

im stuck here..

can anyone help me

tx
Reply With Quote
  #3 (permalink)  
Old 01-02-2008, 09:35 PM
Moderator
 
Posts: 6,236
Default

Welcome to the forums,

Read through these 2 threads:
Upgrade to 5.0 from 4.5.9 fails
centos4 upgrade to 5.0 errors
Reply With Quote
  #4 (permalink)  
Old 01-02-2008, 10:19 PM
Member
 
Posts: 14
Default

thaks mate
Reply With Quote
  #5 (permalink)  
Old 01-05-2008, 07:56 AM
Member
 
Posts: 14
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
Reply With Quote
  #6 (permalink)  
Old 01-06-2008, 12:00 PM
Zig Zig is offline
Intermediate Member
 
Posts: 22
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.
Reply With Quote
  #7 (permalink)  
Old 01-06-2008, 12:11 PM
Zig Zig is offline
Intermediate Member
 
Posts: 22
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.
Reply With Quote
  #8 (permalink)  
Old 01-06-2008, 03:46 PM
Zimbra Employee
 
Posts: 572
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
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
Reply With Quote
  #9 (permalink)  
Old 01-06-2008, 07:49 PM
Member
 
Posts: 14
Default

tx for your great reply. i will try about next weekend. tx everybody.
Reply With Quote
  #10 (permalink)  
Old 01-06-2008, 08:47 PM
Zig Zig is offline
Intermediate Member
 
Posts: 22
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.