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 02-26-2007, 09:40 PM
Senior Member
 
Posts: 60
Post Installing ZCS 4.5.x on either openSUSE 10.2 or 10.3 a complete guide

Below is version 9 at combining bits I have gathered throughout the forums into a compact step-by-step guide to installing Zimbra 4.5.7 or later onto either openSUSE 10.2 or openSUSE 10.3.

THESE INSTRUCTIONS ARE FOR THE Zimbra 4.5.x series (tested using Zimbra 4.5.7), not the newer Zimbra 5.0 or later
If you are installing Zimbra 5.0.x on openSUSE 10.3 then click here for the Zimbra 5.0.x install guide

v2 - You no longer need to edit Edit the file get_plat_tag.sh in Zimbra 4.5.3 or later for openSUSE 10.2
v3 - Added need to restart syslog daemon and Zimbra server after installation for changes to take effect.
v4 - Add extra step remove packages that are not needed or might conflict.
v5 - Added extra step to fix files that incorrectly contain "killall -HUP syslogd".
v6 - Added openSUSE 10.3 and clean up some unnecessary openSUSE 10.2 instructions.
v7 - add step for needed symlink for libcurl in openSUSE 10.3
v8 - make step 9 (edit the file /etc/syslog-ng/syslog-ng.conf) applicable to all users.
v9 - add link to new Zimbra 5.0.x install guide above

Cheers
bigmudcake



  1. Make sure the following packages are installed including associated dependencies.
    fetchmail, cURL, libidn, GMP, compat-libstdc++, cron, sudo, compat-openssl097g

  2. Make sure package compat-expat1 is installed if using openSUSE 10.2 or libexpat0 for openSUSE 10.3


    ITS REALLY IMPORTANT ALL PACKAGES MENTIONED ARE INSTALLED

  3. Remove any packages you do not need to run on your server, this makes your server simpler,
    faster and less likely to conflict with Zimbra. Unless your a Linux Expert, remove
    Apache,MySQL,OpenLDAP,Amavis,Spamassassin, but make sure Postfix is installed.

  4. Make sure your DNS server is setup correctly with the hostname having A and MX records.
    Also check the /etc/resolv.conf, /etc/host.conf, and /etc/nsswitch.conf files
    to make sure your DNS server is being accessed correctly.

  5. Make sure the hostname you wish to use is located in /etc/hosts file as a Fully Qualified Name (FQN).

  6. Download the SUSE10 zimbra package and unpack using tar xzvf zimbra_package.tgz

  7. If your running openSUSE 10.3 (not 10.2) perform the following command:
    ln -s /usr/lib/libcurl.so.4.0.0 /usr/lib/libcurl.so.3

  8. If your running openSUSE 10.3 (not 10.2) - Edit the file get_plat_tag.sh located in the bin folder
    of the unpacked zcs zimbra folder, search for the following lines:
    Code:
    grep "openSUSE 10.2" /etc/SuSE-release > /dev/null 2>&1
    	if [ $? = 0 ]; then
    		echo "openSUSE_10.2"
    		exit 0
    	fi
    and modify the first line only to now have the lines as:
    Code:
    grep "openSUSE 10.3" /etc/SuSE-release > /dev/null 2>&1
    	if [ $? = 0 ]; then
    		echo "openSUSE_10.2"
    		exit 0
    	fi
  9. Edit the file /etc/syslog-ng/syslog-ng.conf and add the following lines
    to the end of the file - if they don't already exist :
    Code:
    filter f_local0       { facility(local0); }; # zimbra
    destination zmail { file("/var/log/zimbra.log" owner("zimbra") ); }; # zimbra
    log { source(src); filter(f_mail); destination(zmail); }; # zimbra
    destination local0 { file("/var/log/zimbra.log" owner("zimbra") ); }; # zimbra
    log { source(src); filter(f_local0); destination(local0); }; # zimbra
    filter f_auth       { facility(auth); }; # zimbra
    destination zmauth { file("/var/log/zimbra.log" owner("zimbra") ); }; # zimbra
    log { source(src); filter(f_auth); destination(zmauth); }; # zimbra
  10. Turn off any conflicting services you may be running.
    i.e. for Postfix use the following commands:
    service postfix stop
    chkconfig postfix off

  11. Install Zimbra following the normal installation instructions. (hint: execute ./install.sh from the zcs folder).

    If your running openSUSE 10.2 (not 10.3) and the installation process reaches the configuration
    “main menu” you will need to login into your SUSE server with a new seperate shell window and
    perform the following command:
    chmod 640 /etc/sudoers

    You can then logout of the new shell window and return to the installation and continue on.

  12. When installation is complete, run the following command
    chkconfig --del zimbra

  13. Edit the file /etc/init.d/zimbra and add the following lines below the existing comments at the top of the file.
    Code:
    ### BEGIN INIT INFO
    # Provides: zimbra
    # Required-Start: $network $syslog
    # Required-Stop:
    # Default-Start: 3 5
    # Default-Stop: 0 1 2 6
    # Description: Zimbra mail service
    ### END INIT INFO
  14. Replace all instances of "killall -HUP syslogd" with "/sbin/rcsyslog restart" in the files
    /opt/zimbra/bin/zmsyslogsetup
    /opt/zimbra/conf/zmlogrotate


  15. Restart the syslog daemon by executing (as root)
    /sbin/rcsyslog restart

  16. Run the following commands to get zimbra to startup correctly.
    chkconfig --add zimbra ; chkconfig zimbra on

  17. Run the following commands to restart the zimbra server so post-installation changes can take effect.
    su - zimbra
    /opt/zimbra/bin/zmcontrol stop
    /opt/zimbra/bin/zmcontrol start
    exit

All should be complete and operational :-)

Last edited by bigmudcake; 03-20-2008 at 02:08 AM.. Reason: add link to new Zimbra 5.0.x install guide
Reply With Quote
  #2 (permalink)  
Old 02-26-2007, 10:29 PM
Former Zimbran
 
Posts: 5,606
Default

bugmudcake,
Thank you very much for tutorial!

-john
Reply With Quote
  #3 (permalink)  
Old 03-07-2007, 10:11 PM
Senior Member
 
Posts: 60
Default

I noticed that the latest build 4.5.3 now contains "openSUSE 10.2" in the plat_tag.sh file.

When you run install.sh you are now greeted with the message

Code:
You appear to be installing packages on a platform different
than the platform for which they were built

This platform is openSUSE_10.2
Packages found: zimbra-core-4.5.3_GA_733.SuSE10-20070228101815.i386.rpm
This may or may not work


Install anyway? [N] y
Have you now made provisions for openSUSE 10.2 in the SUSE10 file or is there now a seperate openSUSE tgz installer file ?

Have any of the other openSUSE 10.2 installation issues been fixed in the latest build ??
Reply With Quote
  #4 (permalink)  
Old 03-12-2007, 01:24 AM
Junior Member
 
Posts: 7
Default No worky

This gives:

Code:
Installing packages

    zimbra-core......zimbra-core-4.5.3_GA_733.SuSE10-20070228101815.i386.rpm...F                              AILED
###ERROR###

zimbra-core-4.5.3_GA_733.SuSE10-20070228101815.i386.rpm installation failed

Installation cancelled
What now?
Reply With Quote
  #5 (permalink)  
Old 03-13-2007, 03:47 AM
Member
 
Posts: 12
Default installation failed

Hi,

I am in the same situation, after doing all the previous steps I get:

zimbra-core-4.5.3_GA_733.SuSE10-20070228101815.i386.rpm installation failed

Installation cancelled


I dont know what to do, any help?
Reply With Quote
  #6 (permalink)  
Old 03-13-2007, 04:09 AM
Member
 
Posts: 10
Default Exactly the same...

Ouch, exactly the same error,... please, any help would be appreciated...
We are using openSuse 10.2 and zimbra zcs-4.5.3-GA-733.
Reply With Quote
  #7 (permalink)  
Old 03-13-2007, 06:36 AM
Member
 
Posts: 12
Default error in zimbra-core package

Hi all,

I have found in my install logs that there is a problem with the initialization of the Java Virtual Machine during the installation of Zimbra on my OpenSuSE 10.2 distribution. I have 256 MB RAM so I guess this is the problem, has somebody had this problem or similar?
Reply With Quote
  #8 (permalink)  
Old 03-13-2007, 06:40 AM
Zimbra Consultant & Moderator
 
Posts: 19,640
Default

Quote:
Originally Posted by gigapipe View Post
I have 256 MB RAM so I guess this is the problem, has somebody had this problem or similar?
This is way below the minimum required memory for Zimbra, have a look at the Quick Start Guide for system requirements.
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 03-26-2007, 05:58 AM
Junior Member
 
Posts: 7
Default 2 Gb

Quote:
Originally Posted by phoenix View Post
This is way below the minimum required memory for Zimbra, have a look at the Quick Start Guide for system requirements.
I however have 2 GB and get exactly the same error, so how does that work?
Reply With Quote
  #10 (permalink)  
Old 03-26-2007, 06:48 AM
Zimbra Consultant & Moderator
 
Posts: 19,640
Default

Quote:
Originally Posted by Loek van Kooten View Post
I however have 2 GB and get exactly the same error, so how does that work?
Which error are you talking about? You posted something different in your earlier post. Did you follow all the instructions from the original post?

I guess you realise that openSuSE 10.2 is an unsupported operating system and the OSS build hasn't been built for that?
__________________
Regards


Bill
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.