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

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 07-03-2008, 12:54 PM
New Member
 
Posts: 3
Default [SOLVED] "Can't locate Zimbra/Util/Common.pm" when running zmldapinit

Hello there,

I'm about to try some customizations on the zimbra source code.
Compiled ok all the src on a Debian 4.0 rc3:

Code:
uname -a
Linux webmail 2.6.18-6-686 #1 SMP Sun Feb 10 22:11:31 UTC 2008 i686 GNU/Linux
ThirdParty compiled ok.
ZimbraBuild compiled ok.

So, with the new generated packages (zcs-5.0.7_GA_2420.DEBIAN4.0.20080703082940) , I've installed zcs on a test server, but it breaks when it's configuring ldap:



This is the zmsetup log:
Code:
Thu Jul  3 08:46:44 2008 *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
Can't locate Zimbra/Util/Common.pm in @INC (@INC contains: /opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi /opt/zimbra/zimbramon/lib /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi /opt/zimbra/zimbramon/lib/i386-linux-thread-multi /opt/zimbra/zimbramon/lib/i586-linux-thread-multi /opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi /opt/zimbra/zimbramon/lib/darwin-thread-multi-2level /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /opt/zimbra/libexec/zmldapinit line 29.
BEGIN failed--compilation aborted at /opt/zimbra/libexec/zmldapinit line 29.
Thu Jul  3 08:46:44 2008 failed. (512)
Thu Jul  3 08:46:44 2008

ERROR

Thu Jul  3 08:46:44 2008

Configuration failed

Thu Jul  3 08:46:44 2008 Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
Thu Jul  3 08:46:44 2008 complete the configuration.
Thu Jul  3 08:46:44 2008
Errors have been logged to /tmp/zmsetup.01001900-0000138982220.log
Well... I need some help with this... can someone help me?
Reply With Quote
  #2 (permalink)  
Old 07-03-2008, 01:30 PM
Former Zimbran
 
Posts: 5,606
Default

Did you update your CPAN Mirror?
Franklin README - Zimbra :: Wiki

If it's not updated, the build will keep going, and the failure is easy to miss.
Reply With Quote
  #3 (permalink)  
Old 07-04-2008, 07:40 AM
New Member
 
Posts: 3
Default

Quote:
Originally Posted by jholder View Post
Did you update your CPAN Mirror?
Franklin README - Zimbra :: Wiki

If it's not updated, the build will keep going, and the failure is easy to miss.
Yes, I did it using this mirror:
CPAN

And just to be sure, I've runned a "make allclean" on ThirdParty and ZimbraBuild again but, when trying to install, on the initial ldap configuration, I get the same error.

I can't figure out what's going on 'couse the Zimbra::Util::Common is right there:
/opt/zimbra/zimbramon/lib/Zimbra/Util/Common.pm


Any Idea?
Reply With Quote
  #4 (permalink)  
Old 07-07-2008, 12:35 PM
New Member
 
Posts: 3
Default

I dont know if my sources were buggy by an error I made when trying to build the aplication but now I found the fix.
The problem was related with directory and files permissions.
I'm posting the bug fix so someone with the same problem will be able to get throgh this.

See the attached file.

Thanks jholder, mmorse and every one.
Attached Files
File Type: tgz zimbra_patches.tgz (359 Bytes, 49 views)
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.