| 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.
|  | | 
01-08-2008, 01:12 PM
| | | Well, the simple test for me was this: Code: su - zimbra
perl -e 'use Scalar::Util qw/dualvar/;' When I had no errors for that, I had no errors during the installation. Also, you might perl -V and verify the @INC path for the zimbra user. I have been doing a clean install for each test run of the installation so I have zero upgrade experience... | 
01-08-2008, 01:23 PM
| | Zimbra Employee | |
Posts: 580
| | Quote:
Originally Posted by soxfan All these various posts about Scalar::Util on RHEL/CentOS 4/5 have my head absolutely spinning; not sure where to even post this question.
Can anyone tell me if there is anything that can be checked prior to attempting an upgrade to 5.0 which will tell me if it is likely that it will succeed or fail?
Any help would be greatly appreciated.
TIA,
John | Well, you can run install.sh -s to install only the software. Once that is done, run the test script both as root and as zimbra. If you get no errors about Scalar::Util, then things should hopefully work. Then run zmsetup.pl as root as it notes after install.sh -s is finished.
__________________
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
| 
01-08-2008, 01:43 PM
| | | Quote: |
Well, you can run install.sh -s to install only the software. Once that is done, run the test script both as root and as zimbra. If you get no errors about Scalar::Util, then things should hopefully work. Then run zmsetup.pl as root as it notes after install.sh -s is finished.
| OK, let's say I run 'install.sh -s', but when I run the test script I run into issues as either root or zimbra. What's my recovery process at that point?
Of course I'm going to do a backup prior to attempting this. However, I've got 130+ GB of data, so recovering from the backup is hopefully going to be a last resort option.
Thanks,
John | 
01-08-2008, 02:07 PM
| | Zimbra Employee | |
Posts: 580
| | Well, if you do run into an issue at that point with Scalar::Util, you have the opportunity to solve it before running the upgrade, which is what I'd do.
--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
| 
01-08-2008, 02:12 PM
| | | Quote:
Originally Posted by quanah Klug: Sounds like you had more than just the default Scalar::Util from RH installed, if you had to copy it to multiple locations.
I've verified the Zimbra installation on multiple versions of stock RHEL4 without issue. | I don't understand it either.
The server runs RedHat 4.6 (brand new install yesterday morning, full upgrade yesterday afternoon), the Qlogic FC drivers and tools (for the Dell-EMC SAN) and RedHat Cluster Suite (yesterday afternoon too).
The second node (very same setup) did not throw the error. I guess that's because of the different scripts for of active/passive node setup.
The cluster runs on 4.5.10 anyway, because 5.0 cluster setup was not possible (we'll upgrade it to 5.0.1 as soon as available). | 
01-10-2008, 06:14 PM
| | | solved Quote:
Originally Posted by Zig 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. | wow great for you guys. especialy quanah n u zig. your reply is work for me.
tx very much. | 
12-30-2008, 05:29 AM
| | Special Member | |
Posts: 117
| | OK, I am having the same problem. But my situation is slightly different.
I am moving my installation of 5.0.11 from a SUSE10 to Ubuntu 8. My steps were:
Run install.sh -s on new machine to make sure all dependencies were met.
Copied /opt/zimbra from old machine to new machine.
re-run install.sh to complete installation.
I have installed the compiled Scalar::Util, as confirmed by running perl -e 'use Scalar::Util qw/dualvar/;'
But I still get this error when I run the installation script.
Any mre ideas? | 
12-31-2008, 10:38 AM
| | Special Member | |
Posts: 117
| | I am running into this same problem on Ubuntu 8.04 LTS.
I have installed Scalar::Util and validated it using the test perl script (produced no errors).
But when I run the installer for 5.0.11 I still get this error when the install script runs the ldapinit portion.
I also tried editing ~zimbra/.bashrc and putting my systems perllib (/usr/lib/perl5) in front of th PERLLIB path, then doing a su - zimbra
but re-running zmldapinit still failed with the same error.
Any other ideas? | 
12-31-2008, 01:43 PM
| | Zimbra Employee | |
Posts: 580
| | Quote:
Originally Posted by ScottChapman I am running into this same problem on Ubuntu 8.04 LTS. | The Scalar::Util issue was fixed ages ago. Note that this thread you are posting on is nearly a year old. The release you are installing is not affected by it. Please start a new thread, and give your full error messages.
__________________
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
| 
12-31-2008, 01:59 PM
| | Special Member | |
Posts: 117
| | This thread includes my specific problem: Moving Zimbra to a different platform
I posted here as well since it appeared related.
Any thoughts on how to debug the issue? | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |