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

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 09-15-2011, 05:52 AM
Intermediate Member
 
Posts: 22
Default Python module tempfile.py not found

Release 7.1.2_GA_3268.RHEL6_64_20110804131406 UNKNOWN_64 FOSS edition
on Centos 6.0(64)

zmconfig will not start. In zmconfigd.log the following is found:

Code:
Starting zmconfigd...Traceback (most recent call last):
  File "/opt/zimbra/libexec/zmconfigd", line 18, in <module>
    import tempfile
ImportError: No module named tempfile
In path /opt/zimbra/zimbramon/pylibs some Python modules were found but not the module tempfile.py .

Is there any solution for this problem?
Reply With Quote
  #2 (permalink)  
Old 09-15-2011, 05:59 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Installing ZCS 7 on CentOS6 works fine for me. Have you installed all of the prerequisites and is this a minimal or 'normal' install?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 09-15-2011, 06:43 AM
Intermediate Member
 
Posts: 22
Default

It was a normal install and the prerequisites are fullfilled, but it was an upgrade from Zimbra 6.x and from Centos 5.3 in one step
Reply With Quote
  #4 (permalink)  
Old 09-15-2011, 06:54 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by winne27 View Post
It was a normal install and the prerequisites are fullfilled, but it was an upgrade from Zimbra 6.x and from Centos 5.3 in one step
What exact steps did you take to do this upgrade? You know that it's almost impossible to get an upgrade from one major version of CentOS to another major version working correctly, don't you? There are warning all over the CentOS forums against doing this, if you try it you're basically on your own for support. You really should install CentOS6 as a clean operating system to avoid any problems like this.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 09-15-2011, 09:48 AM
Intermediate Member
 
Posts: 22
Default

I made a clean install of Centos 6 in a seperate LVM partition.
Then I restored a backup of /opt/zimbra (Version 6.x) and installed ZCS 7.1.2 on top of this backup.

I had some Perl problems, but they were solved by erasing /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi from the backup and reinstalling ZCS 7.1.2
Reply With Quote
  #6 (permalink)  
Old 09-15-2011, 12:40 PM
Intermediate Member
 
Posts: 22
Default

I will now try another way.

First step: Upgrade ZCS 6.0.5 to 7.1.2 on the established Centos 5.3

Second step: Upgrade ZCS 7.1.2 from Centos 5 to Centos 6

I will report.

Last edited by winne27; 09-16-2011 at 03:46 AM..
Reply With Quote
  #7 (permalink)  
Old 09-16-2011, 03:51 AM
Intermediate Member
 
Posts: 22
Default

Did it step by step as mentioned above and it works now without any problems.

The only special action was to erase /opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi before starting upgrade from Centos 5 to Centos 6.
Reply With Quote
  #8 (permalink)  
Old 09-19-2011, 02:35 PM
Infraction/Mod Queue
 
Posts: 1
Default

Installing ZCS 7 on CentOS6 works for me as well.
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.