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 06-10-2008, 11:01 PM
Junior Member
 
Posts: 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
Reply With Quote
  #2 (permalink)  
Old 06-10-2008, 11:14 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

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


Bill
Reply With Quote
  #3 (permalink)  
Old 06-10-2008, 11:56 PM
Junior Member
 
Posts: 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
Reply With Quote
  #4 (permalink)  
Old 06-11-2008, 12:00 AM
Moderator
 
Posts: 7,928
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 ?
__________________
Reply With Quote
  #5 (permalink)  
Old 06-11-2008, 12:28 AM
Junior Member
 
Posts: 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
Reply With Quote
  #6 (permalink)  
Old 06-11-2008, 12:31 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
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
Reply With Quote
  #7 (permalink)  
Old 06-11-2008, 12:44 AM
Junior Member
 
Posts: 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
Reply With Quote
  #8 (permalink)  
Old 06-11-2008, 12:56 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
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
Reply With Quote
  #9 (permalink)  
Old 10-07-2008, 03:15 PM
Senior Member
 
Posts: 53
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
Reply With Quote
  #10 (permalink)  
Old 07-24-2009, 02:21 PM
Zimbra Employee
 
Posts: 604
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!
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.