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
  #21 (permalink)  
Old 07-19-2007, 07:00 AM
Junior Member
 
Posts: 8
Default Problems with installation of Zimbra in CENTOS 4.5

Quote:
Originally Posted by phoenix View Post
..... and does your hosts file contain the correct information? Do you have DNS A & MX records pointing to your Zimbra server?
Thx Bill for your promt answer, I will check this, but I send you an error message that i've received when the installation starts.

[root@mailtest zcs]# sh install.sh

Operations logged to /tmp/install.log.11277
Checking for existing installation...
zimbra-ldap...FOUND zimbra-ldap-4.5.6_GA_1044
zimbra-logger...FOUND zimbra-logger-4.5.6_GA_1044
zimbra-mta...FOUND zimbra-mta-4.5.6_GA_1044
zimbra-snmp...FOUND zimbra-snmp-4.5.6_GA_1044
zimbra-store...FOUND zimbra-store-4.5.6_GA_1044
zimbra-apache...FOUND zimbra-apache-4.5.6_GA_1044
zimbra-spell...FOUND zimbra-spell-4.5.6_GA_1044
zimbra-core...FOUND zimbra-core-4.5.6_GA_1044

Saving existing configuration file to /opt/zimbra/.saveconfig
cp: cannot stat `/opt/zimbra/java/jre/lib/security/cacerts': No such file or directory


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/collab...cense_1.0.html


Press Return to continueç

Checking for prerequisites...
NPTL...FOUND
sudo...FOUND sudo-1.6.7p5-30.1.3
libidn...FOUND libidn-0.5.6-1
curl...FOUND curl-7.12.1-11
fetchmail...FOUND fetchmail-6.2.5-6.0.1
gmp...FOUND 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
/usr/lib/libstdc++.so.5...FOUND

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


The Zimbra Collaboration Suite appears already to be installed.
It can be upgraded with no effect on existing accounts,
or the current installation can be completely removed prior
to installation for a clean install.

Do you wish to upgrade? [Y] y

Select the packages to install
Upgrading zimbra-core
Upgrading zimbra-ldap
Upgrading zimbra-logger
Upgrading zimbra-mta
Upgrading zimbra-snmp
Upgrading zimbra-store
Upgrading zimbra-apache
Upgrading zimbra-spell
Checking required space for zimbra-core
checking space for zimbra-store

Installing:
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell
You appear to be installing packages on a platform different
than the platform for which they were built

This platform is CentOS4
Packages found: zimbra-core-4.5.6_GA_1044.RHEL4-20070706225645.i386.rpm
This may or may not work


Install anyway? [N] y

The system will be modified. Continue? [N] y

Shutting down zimbra mail

Backing up ldap

./util/utilfunc.sh: line 899: /opt/zimbra/openldap/sbin/slapcat: No such file or directory

Removing existing packages

zimbra-ldap...done
zimbra-logger...done
zimbra-mta...done
zimbra-snmp...done
zimbra-store...done
zimbra-spell...done
zimbra-apache...done
zimbra-core...done

Removing deployed webapp directories
Installing packages

zimbra-core......zimbra-core-4.5.6_GA_1044.RHEL4-20070706225645.i386.rpm...done
zimbra-ldap......zimbra-ldap-4.5.6_GA_1044.RHEL4-20070706225645.i386.rpm...done
zimbra-logger......zimbra-logger-4.5.6_GA_1044.RHEL4-20070706225645.i386.rpm...done
zimbra-mta......zimbra-mta-4.5.6_GA_1044.RHEL4-20070706225645.i386.rpm...done
zimbra-snmp......zimbra-snmp-4.5.6_GA_1044.RHEL4-20070706225645.i386.rpm...done
zimbra-store......zimbra-store-4.5.6_GA_1044.RHEL4-20070706225645.i386.rpm...done
zimbra-apache......zimbra-apache-4.5.6_GA_1044.RHEL4-20070706225645.i386.rpm...done
zimbra-spell......zimbra-spell-4.5.6_GA_1044.RHEL4-20070706225645.i386.rpm...done

Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save
HOSTNAME=
LDAPHOST=
LDAPPORT=
SNMPTRAPHOST=
SMTPSOURCE=
SMTPDEST=
SNMPNOTIFY=0
SMTPNOTIFY=0
LDAPROOTPW=
LDAPZIMBRAPW=
Restoring existing configuration file from /opt/zimbra/.saveconfig/config.save...done
chown: cannot access `/opt/zimbra/tomcat/conf/keystore': No such file or directory
chown: cannot access `/opt/zimbra/conf/smtpd.key': No such file or directory
chown: cannot access `/opt/zimbra/conf/smtpd.crt': No such file or directory
chown: cannot access `/opt/zimbra/conf/slapd.crt': No such file or directory
chown: cannot access `/opt/zimbra/conf/perdition.pem': No such file or directory
chown: cannot access `/opt/zimbra/conf/perdition.key': No such file or directory
Operations logged to /tmp/zmsetup.log.12210
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
Setting defaults...Done
Setting defaults from existing config...Warning: null valued key 'mysql_logger_root_password'
Checking for port conflicts

I will appreciate your help!

Thx
Reply With Quote
  #22 (permalink)  
Old 07-19-2007, 07:42 AM
Junior Member
 
Posts: 8
Question ldap startup failed with exit code 256

Quote:
Originally Posted by phoenix View Post
..... and does your hosts file contain the correct information? Do you have DNS A & MX records pointing to your Zimbra server?
Ok, I/ve changed this and now i didn't receive the hostname error but I have another :S

Restoring existing configuration file from /opt/zimbra/.saveconfig/config.save...done
chown: cannot access `/opt/zimbra/tomcat/conf/keystore': No such file or directory
chown: cannot access `/opt/zimbra/conf/smtpd.key': No such file or directory
chown: cannot access `/opt/zimbra/conf/smtpd.crt': No such file or directory
chown: cannot access `/opt/zimbra/conf/slapd.crt': No such file or directory
chown: cannot access `/opt/zimbra/conf/perdition.pem': No such file or directory
chown: cannot access `/opt/zimbra/conf/perdition.key': No such file or directory
Operations logged to /tmp/zmsetup.log.27145
Checking ldap status
Starting ldap
ldap startup failed with exit code 256
Setting defaults...Checking ldap status
Starting ldap
ldap startup failed with exit code 256
Checking ldap status
Starting ldap
ldap startup failed with exit code 256
Checking ldap status
Starting ldap
ldap startup failed with exit code 256
Done
Setting defaults from existing config...Warning: null valued key 'mysql_logger_root_password'
Checking ldap status
Starting ldap
ldap startup failed with exit code 256
Checking ldap status
Starting ldap
ldap startup failed with exit code 256
Checking ldap status
Starting ldap
ldap startup failed with exit code 256
Checking ldap status
Starting ldap
ldap startup failed with exit code 256
Checking ldap status
Starting ldap
ldap startup failed with exit code 256
Checking for port conflicts
Checking ldap status
Starting ldap
ldap startup failed with exit code 256
Checking ldap status
Starting ldap
ldap startup failed with exit code 256


Thx
Reply With Quote
  #23 (permalink)  
Old 07-19-2007, 07:49 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Is this a new install or an update? Do you have DNS A & MX records pointing to your server?
__________________
Regards


Bill
Reply With Quote
  #24 (permalink)  
Old 07-19-2007, 08:01 AM
Junior Member
 
Posts: 8
Default

Quote:
Originally Posted by phoenix View Post
Is this a new install or an update? Do you have DNS A & MX records pointing to your server?
Yes I have now, now I've executed again the install.sh and i will copy all the log:

[root@mailtest zcs]# sh install.sh

Operations logged to /tmp/install.log.8093
Checking for existing installation...
zimbra-ldap...FOUND zimbra-ldap-4.5.6_GA_1044
zimbra-logger...FOUND zimbra-logger-4.5.6_GA_1044
zimbra-mta...FOUND zimbra-mta-4.5.6_GA_1044
zimbra-snmp...FOUND zimbra-snmp-4.5.6_GA_1044
zimbra-store...FOUND zimbra-store-4.5.6_GA_1044
zimbra-apache...FOUND zimbra-apache-4.5.6_GA_1044
zimbra-spell...FOUND zimbra-spell-4.5.6_GA_1044
zimbra-core...FOUND zimbra-core-4.5.6_GA_1044

Saving existing configuration file to /opt/zimbra/.saveconfig


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/collab...cense_1.0.html


Press Return to continue

Checking for prerequisites...
NPTL...FOUND
sudo...FOUND sudo-1.6.7p5-30.1.3
libidn...FOUND libidn-0.5.6-1
curl...FOUND curl-7.12.1-11
fetchmail...FOUND fetchmail-6.2.5-6.0.1
gmp...FOUND 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
/usr/lib/libstdc++.so.5...FOUND

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


The Zimbra Collaboration Suite appears already to be installed.
It can be upgraded with no effect on existing accounts,
or the current installation can be completely removed prior
to installation for a clean install.

Do you wish to upgrade? [Y] Y

Select the packages to install
Upgrading zimbra-core
Upgrading zimbra-ldap
Upgrading zimbra-logger
Upgrading zimbra-mta
Upgrading zimbra-snmp
Upgrading zimbra-store
Upgrading zimbra-apache
Upgrading zimbra-spell
Checking required space for zimbra-core
checking space for zimbra-store

Installing:
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell
You appear to be installing packages on a platform different
than the platform for which they were built

This platform is CentOS4
Packages found: zimbra-core-4.5.6_GA_1044.RHEL4-20070706225645.i386.rpm
This may or may not work


Install anyway? [N] Y

The system will be modified. Continue? [N] Y

Shutting down zimbra mail

Backing up ldap

could not stat config file "/opt/zimbra/conf/slapd.conf": No such file or directory (2)
slapcat: bad configuration file!

Removing existing packages

zimbra-ldap...done
zimbra-logger...done
zimbra-mta...done
zimbra-snmp...done
zimbra-store...done
zimbra-spell...done
zimbra-apache...done
zimbra-core...done

Removing deployed webapp directories
Installing packages

zimbra-core......zimbra-core-4.5.6_GA_1044.RHEL4-20070706225645.i386.rpm...done
zimbra-ldap......zimbra-ldap-4.5.6_GA_1044.RHEL4-20070706225645.i386.rpm...done
zimbra-logger......zimbra-logger-4.5.6_GA_1044.RHEL4-20070706225645.i386.rpm...done
zimbra-mta......zimbra-mta-4.5.6_GA_1044.RHEL4-20070706225645.i386.rpm...done
zimbra-snmp......zimbra-snmp-4.5.6_GA_1044.RHEL4-20070706225645.i386.rpm...done
zimbra-store......zimbra-store-4.5.6_GA_1044.RHEL4-20070706225645.i386.rpm...done
zimbra-apache......zimbra-apache-4.5.6_GA_1044.RHEL4-20070706225645.i386.rpm...done
zimbra-spell......zimbra-spell-4.5.6_GA_1044.RHEL4-20070706225645.i386.rpm...done

Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save
HOSTNAME=localhost.localdomain
LDAPHOST=localhost.localdomain
LDAPPORT=389
SNMPTRAPHOST=
SMTPSOURCE=
SMTPDEST=
SNMPNOTIFY=0
SMTPNOTIFY=0
LDAPROOTPW=zimbra
LDAPZIMBRAPW=zimbra
Restoring existing configuration file from /opt/zimbra/.saveconfig/config.save...done
chown: cannot access `/opt/zimbra/tomcat/conf/keystore': No such file or directory
chown: cannot access `/opt/zimbra/conf/smtpd.key': No such file or directory
chown: cannot access `/opt/zimbra/conf/smtpd.crt': No such file or directory
chown: cannot access `/opt/zimbra/conf/slapd.crt': No such file or directory
chown: cannot access `/opt/zimbra/conf/perdition.pem': No such file or directory
chown: cannot access `/opt/zimbra/conf/perdition.key': No such file or directory
Operations logged to /tmp/zmsetup.log.17756
Checking ldap status
Starting ldap
ldap startup failed with exit code 256
Setting defaults...Checking ldap status
Starting ldap
ldap startup failed with exit code 256
Checking ldap status
Starting ldap
ldap startup failed with exit code 256
Checking ldap status
Starting ldap


Thx phoenix
Reply With Quote
  #25 (permalink)  
Old 07-19-2007, 08:16 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

The problem is you've had a corrupt install and the saved LDAP data is invalid. I suggest you uninstall ZImbra by running './install.sh -u' the deleting the /opt/zimbra directory, when you've done that run the install again.

Check your configuration is OK by running the following (before you do the install)::

Code:
host `hostname`  <-- backticks not single quotes
dig yourdomain.com any
dig yourdomain.com mx
if you don't understand the output then post the details.
__________________
Regards


Bill
Reply With Quote
  #26 (permalink)  
Old 07-19-2007, 09:29 AM
Junior Member
 
Posts: 8
Default ldap startup failed with exit code 256

[QUOTE=phoenix;53840]The problem is you've had a corrupt install and the saved LDAP data is invalid. I suggest you uninstall ZImbra by running './install.sh -u' the deleting the /opt/zimbra directory, when you've done that run the install again.
Phoenix,

I have here the message that I received:


[root@mailtest zcs]# sh install.sh -u
hostname: Unknown host
./util/utilfunc.sh: line 42: [: =: unary operator expected
hostname: Unknown host

Operations logged to /tmp/install.log.4685
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-core...NOT FOUND

Completely remove existing installation? [N] Y

Removing /opt/zimbra


The problem here is that when I installed the last time i didn't receive the message about problems with hostname. I didn't start the installation again, I'll wait for your answer.

Thx,
Reply With Quote
  #27 (permalink)  
Old 07-19-2007, 09:41 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Did you check your set-up by running the commands I posted and is it OK?
__________________
Regards


Bill
Reply With Quote
  #28 (permalink)  
Old 07-19-2007, 10:12 AM
Junior Member
 
Posts: 8
Default ldap startup failed with exit code 256

Quote:
Originally Posted by phoenix View Post
Did you check your set-up by running the commands I posted and is it OK?
Phoenix,

I finished with the installation, the problem was an ldap already installed in the server. Thank you very much!
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.