Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28

Thread: Zimbra Install Problem - getDirectContext

  1. #21
    gbajczman is offline Junior Member
    Join Date
    Jul 2007
    Posts
    8
    Rep Power
    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

  2. #22
    gbajczman is offline Junior Member
    Join Date
    Jul 2007
    Posts
    8
    Rep Power
    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

  3. #23
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    Default

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


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #24
    gbajczman is offline Junior Member
    Join Date
    Jul 2007
    Posts
    8
    Rep Power
    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

  5. #25
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  6. #26
    gbajczman is offline Junior Member
    Join Date
    Jul 2007
    Posts
    8
    Rep Power
    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,

  7. #27
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    Default

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


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #28
    gbajczman is offline Junior Member
    Join Date
    Jul 2007
    Posts
    8
    Rep Power
    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!

Page 3 of 3 FirstFirst 123

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. QUE Failure
    By tbullock in forum Administrators
    Replies: 31
    Last Post: 07-30-2008, 12:17 PM
  2. 4.5 Upgrade failure
    By brained in forum Installation
    Replies: 9
    Last Post: 03-03-2007, 03:30 PM
  3. Replies: 8
    Last Post: 02-27-2007, 04:10 AM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM
  5. FC3 Install and no zimbra ?
    By aws in forum Installation
    Replies: 10
    Last Post: 10-09-2005, 04:19 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
  •