Results 1 to 10 of 10

Thread: How to install zimbra server with defaultsfile

  1. #1
    aileen is offline Junior Member
    Join Date
    Apr 2008
    Posts
    7
    Rep Power
    7

    Default How to install zimbra server with defaultsfile

    Hi,
    I have found the script "install.sh" which has a parameter about defaultsfile. But i don't know how to use it.

    Release: zcs-NETWORK-5.0.5_GA_2201.RHEL4_64.20080417001606

    ./install.sh [-r -l -u -s -c type -x -h] [defaultsfile]

    -c|--cluster type Cluster install type active|standby.
    -h|--help Usage
    -l|--license License file to install.
    -r|--restore Restore contents of to localconfig
    -s|--softwareonly Software only installation.
    -u|--uninstall Uninstall ZCS
    -x|--skipspacecheck Skip filesystem capacity checks.
    [defaultsfile] File containing default install values.

    I tried it as this:
    [root@zimbra zcs-NETWORK-5.0.5_GA_2201.RHEL4_64.20080417001606]# ./install.sh /tmp/config.6354

    PS: config.6354 was the lastet installing configration file.

    But i was failed. What should i do?
    Thanks a million.

    Aileen

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    Quote Originally Posted by aileen View Post
    What should i do?
    Just use './install.sh' to install Zimbra.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    aileen is offline Junior Member
    Join Date
    Apr 2008
    Posts
    7
    Rep Power
    7

    Default

    Hi Bill,
    Thank u for ur reply.
    I mean that when I install the zimbra server, I should do lots of configrations. If I reinstall the server, I don't want to do the repetition and maybe I forget what I config at the first time.
    So I want to solve the problem with the defaultsfile

    thank u
    Aileen

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Aileen, Phoenix is right that you should just use install.sh, especially if you were to re-install a newer version as the defaults may change between releases.

    What error message did you get when you attempted to use the defaults file ?

  5. #5
    aileen is offline Junior Member
    Join Date
    Apr 2008
    Posts
    7
    Rep Power
    7

    Default

    Hi uxbod,
    the error message which when i re-install with the defaultsfile.

    [root@zimbra zcs-NETWORK-5.0.5_GA_2201.RHEL4_64.20080417001606]# ./install.sh /tmp/config.6354

    Operations logged to /tmp/install.log.28598
    Checking for existing installation...
    zimbra-ldap...NOT FOUND
    zimbra-logger...NOT FOUND
    zimbra-mta...NOT FOUND
    zimbra-snmp...NOT FOUND
    zimbra-store...NOT FOUND
    zimbra-apache...NOT FOUND
    zimbra-spell...NOT FOUND
    zimbra-proxy...NOT FOUND
    zimbra-archiving...NOT FOUND
    zimbra-cluster...NOT FOUND
    zimbra-core...NOT FOUND


    PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
    ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
    FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
    THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
    THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
    AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

    License Terms for the Zimbra Collaboration Suite:
    http://www.zimbra.com/license/zimbra...al_license.pdf



    Checking for prerequisites...
    NPTL...FOUND
    sudo...FOUND sudo-1.6.7p5-30.1.3
    libidn...FOUND libidn-0.5.6-1
    libidn-0.5.6-1
    fetchmail...FOUND fetchmail-6.2.5-6.0.1
    gmp...FOUND gmp-4.1.4-3
    gmp-4.1.4-3
    compat-libstdc++-296...FOUND compat-libstdc++-296-2.96-132.7.2
    compat-libstdc++-33...FOUND compat-libstdc++-33-3.2.3-47.3
    libtool-libs...FOUND libtool-libs-1.5.6-4
    libtool-libs-1.5.6-4
    /usr/lib/libstdc++.so.5...FOUND
    /usr/lib64/libstdc++.so.5...FOUND
    /usr/lib64/libltdl.so.3...FOUND
    Prerequisite check complete.
    Checking for standard system perl...
    perl-5.8.5...FOUND standard system perl-5.8.5

    Checking for installable packages

    Found zimbra-core
    Found zimbra-ldap
    Found zimbra-logger
    Found zimbra-mta
    Found zimbra-snmp
    Found zimbra-store
    Found zimbra-apache
    Found zimbra-spell
    Found zimbra-proxy
    Found zimbra-archiving
    Found zimbra-cluster


    Loading configuration data from /tmp/config.6354...done
    Installing packages

    zimbra-apache......zimbra-apache-5.0.5_GA_2201.RHEL4_64-20080417001606.x86_64.rpm...FAILED
    ###ERROR###

    zimbra-apache-5.0.5_GA_2201.RHEL4_64-20080417001606.x86_64.rpm installation failed

    Installation cancelled

    [root@zimbra zcs-NETWORK-5.0.5_GA_2201.RHEL4_64.20080417001606]#

    Regards,
    Aileen

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    You don't use a defaults file, you just use ./install.sh and the installer will upgrade an already installed version and keep your current settings and information. Do not use a defaults file, what happens if you run ./install.sh? Why are you reinstalling, is this an upgrade?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    aileen is offline Junior Member
    Join Date
    Apr 2008
    Posts
    7
    Rep Power
    7

    Default

    Hi Bill,
    We use zimbra for business mail and I am an OPS.
    If the server can't work, we should re-install them.
    And I find that there is a parameter in the script "install.sh", it can save me lots of time. So I want to learn how to use it, thank u very much.


    Regards,
    Aileen

  8. #8
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    So are you talking about a disaster recovery situation? If that's what you're trying to do then have a look at this article: Network Edition Disaster Recovery - Zimbra :: Wiki
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    gkra's Avatar
    gkra is offline Senior Member
    Join Date
    May 2007
    Location
    San Diego
    Posts
    53
    Rep Power
    8

    Angry

    Quote Originally Posted by phoenix View Post
    So are you talking about a disaster recovery situation? If that's what you're trying to do then have a look at this article: Network Edition Disaster Recovery - Zimbra :: Wiki
    What if you want to duplicate an install from scratch? Like for a testing environment where you won't have all your users and data, but you want the same software set installed?

    I get this exact same error when using the "config.PID" file that gets spit out by the installer.

    If the feature of handing an installer-generated config file to the installer on another system isn't supposed to work or be used, please remove it.
    Gregory K. Ruiz-Ade
    Sr. Systems Administrator
    Computer Science and Engineering
    University of California, San Diego

  10. #10
    brian is offline Project Contributor
    Join Date
    Jul 2006
    Posts
    623
    Rep Power
    10

    Default

    If you use an autogenerated config.XXXX files the list of installed packages gets sorted alphabetically. You will need to adjust this so that zimbra-core is listed first in the INSTALL_PACKAGES variable. zimbra-core is a dependancy of all the other rpms.
    Bugzilla - Wiki - Downloads - Before posting... Search!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Zimbra logwatch.
    By nishith in forum Administrators
    Replies: 5
    Last Post: 06-10-2009, 04:42 PM
  2. My Zimbra Server crashed this morning...
    By glitch23 in forum Administrators
    Replies: 3
    Last Post: 04-07-2008, 01:28 PM
  3. 4.5 Upgrade failure
    By brained in forum Installation
    Replies: 9
    Last Post: 03-03-2007, 03:30 PM
  4. dspam logrotate errors
    By michaeln in forum Users
    Replies: 7
    Last Post: 02-19-2007, 12:45 PM
  5. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 10:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •