Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Install Error on FC3

  1. #1
    Join Date
    Oct 2005
    Posts
    4
    Rep Power
    10

    Default Install Error on FC3

    Hi,

    i'm trying to install Zimbra on a freshly installed FC3 Box:
    [root@abc tmp]# uname -a
    Linux abc.xyz.ab 2.6.12-1.1378_FC3 #1 Wed Sep 14 04:24:31 EDT 2005 i686 i686 i386 GNU/Linux

    During install i get:

    Preparing packages for installation...
    zimbra-core-3.0.M1_21.FC3-20050920155949_
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)

    Preparing packages for installation...
    zimbra-ldap-3.0.M1_21.FC3-20050920155949_
    Preparing packages for installation...

    Then:

    Generating a 1024 bit RSA private key
    ......++++++
    .........................++++++
    writing new private key to '/opt/zimbra/ssl/ssl/ca/ca.key'
    -----
    ** Creating CA cert

    Signature ok
    subject=/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite/CN=abc.xyz.ab
    Getting Private key
    ** Importing CA

    Certificate was added to keystore
    keytool error: java.io.FileNotFoundException: /opt/zimbra/java/jre/lib/security/cacerts (Permission denied)

    ** Creating keystore

    COMMAND: zmcertinstall mailbox
    ** Importing server cert
    keytool error: java.lang.Exception: Failed to establish chain from reply


    Subsequent starting of the zimbra-servers is failing....
    (only errors listed)

    from the log:
    Oct 2 00:25:00 abc zimbramon[6440]: 6440:info: start app postfix
    Oct 2 00:25:01 abc zimbramon[6440]: 6440:err: SMTP RESPONSE: FAILURE from localhost: problem connecting to "localhost", port 25: Connection ref

    on the console:
    [root@abc zcs]# /etc/init.d/zimbra start
    Calling startup (abc.xyz.ab)
    perl /opt/zimbra/bin/zmmon &
    Soap call failed: 500 Can't connect to localhost:7777 (connect: Connection refused) at /opt/zimbra/bin/zmcontrol line 230

    Any ideas whats wrong?
    Thanks in advance for help!

    Greets,
    Chris

  2. #2
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Have you ran the install more than once? Seems that some old processes may have been left over from a previous install. Do you have a different MTa (sendmail?) running on port 25 that prevents postfix from binding?

  3. #3
    Join Date
    Oct 2005
    Posts
    4
    Rep Power
    10

    Default

    Yep, after reading some threads here i uninstalled with:

    ./install.sh -u

    i did: ps -ef | grep zibra (nothing was found)
    i did: chkconfig sendmail off

    reboot, then ./install.sh

    the above is the output from the reinstall...

    Greets,
    Chris

  4. #4
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    ldap is not starting up, for some reason. To find out why, try this:

    su - zimbra
    bash -x bin/ldap start

    If no errors appear there, try the command that it runs to start ldap (all one line):

    /opt/zimbra/openldap/libexec/slapd -4 -u zimbra -h ldap://:7389/ -f /opt/zimbra/conf/slapd.conf

    If that gives you a "slapd.conf not found" error, then the ldap initialization script failed - try running that by hand:

    /opt/zimbra/libexec/zmldapinit

    and look for errors there.

  5. #5
    Join Date
    Oct 2005
    Posts
    4
    Rep Power
    10

    Default

    Hi,

    ldap is running fine... (no errors on all your suggestions)

    [zimbra@mailman ~]$ zmprov gas
    abc.xyz.de

    [zimbra@mailman ~]$ zmprov gs abc.xyz.de
    # name abc.xyz.de
    cn: abc.xyz.de
    objectClass: zimbraServer
    zimbraAdminPort: 7071
    ...
    ..
    .(snipped)

    i'll tried installing again and still getting these java errors:

    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
    keytool error: java.io.FileNotFoundException: /opt/zimbra/java/jre/lib/security/cacerts (Permission denied)
    keytool error: java.lang.Exception: Failed to establish chain from reply


    (complete install-log attached)
    Attached Files Attached Files
    Last edited by eici; 10-03-2005 at 03:02 AM. Reason: Attachment was missing...

  6. #6
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default keytool errors

    The keytool errors are not serious, and can safely be ignored.

  7. #7
    Join Date
    Oct 2005
    Posts
    4
    Rep Power
    10

    Default

    Ok, thanks

    i'll ignored all errs and got it up&running now... :-)

    Greets,
    Chris

  8. #8
    Join Date
    Oct 2005
    Posts
    9
    Rep Power
    10

    Default

    I'am getting the same error, however after several attempts at re-installing etc. I get an error when I use the command:

    zmprov gas

    ERROR: service.Failure (system failure: getDirectContext) (cause: javax:naming.CommunicationException mail.******.com:389)


    thanks.

    jh

  9. #9
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Quote Originally Posted by jharrell
    I'am getting the same error, however after several attempts at re-installing etc. I get an error when I use the command:

    zmprov gas

    ERROR: service.Failure (system failure: getDirectContext) (cause: javax:naming.CommunicationException mail.******.com:389)


    thanks.

    jh

    When you re-install did you make sure LDAP was not running? (ie run 'ps -ef | grep slapd' before you tried the re-install)

    If you did this please post your install log from /tmp/install.log.

  10. #10
    Join Date
    Oct 2005
    Posts
    9
    Rep Power
    10

    Default

    Last night I ran the uninstall script. (install.sh -u)
    Then I searched for running processes- ps -ef | grep slapd
    and killed any pids that matched...

    then an the install... but when thu install finished and the services tried to run I got this error:

    ERROR:

    Starting servers...Calling GetServiceInfoRequest (mail.acmeco.com)

    Soap call failed: 500 read timeout at /opt/zimbra/bin/zmcontrol line 230

    done
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)



    The install log is as follows (real company info replaced with acmeco amd logs reflecting timezones and the zmprov command help truncated):


    Preparing packages for installation...
    useradd: warning: the home directory already exists.
    Not copying any file from skel directory into it.
    zimbra-core-3.0.M1_21.FC3-20050920155949_

    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)

    Preparing packages for installation...
    zimbra-ldap-3.0.M1_21.FC3-20050920155949_
    Preparing packages for installation...
    zimbra-mta-3.0.M1_21.FC3-20050920155949_
    Preparing packages for installation...
    zimbra-snmp-3.0.M1_21.FC3-20050920155949_
    Preparing packages for installation...
    zimbra-store-3.0.M1_21.FC3-20050920155949_
    COMMAND: /opt/zimbra/libexec/zmmyinit
    * Creating required directories
    * Generating mysql config /opt/zimbra/conf/my.cnf
    * Creating database in /opt/zimbra/db/data
    * Starting mysql server
    * Loading schema /opt/zimbra/db/db.sql
    * Loading version from /opt/zimbra/db/versions-init.sql
    * Setting random password for mysql root user in zimbra local config
    * Setting random password for mysql zimbra user in zimbra local config
    * Changing mysql root user password
    * Changing mysql zimbra user password
    * Changed zimbra mysql user password
    COMMAND: zmlocalconfig -e zimbra_server_hostname=mail.acmeco.com
    COMMAND: zmlocalconfig -e ldap_host=mail.acmeco.com
    COMMAND: zmlocalconfig -e ldap_port=389
    COMMAND: /opt/zimbra/libexec/zmldapinit
    Started slapd: pid 21649
    adding new entry "cn=zimbra"
    [...]

    COMMAND: zmprov cs mail.acmeco.com
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
    COMMAND: zmprov cd mail.acmeco.com
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
    COMMAND: zmprov mcf zimbraDefaultDomainName mail.acmeco.com
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
    COMMAND: zmprov ca admin@mail.acmeco.com *password* zimbraIsAdminAccount TRUE
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
    COMMAND: zmprov aaa admin@mail.acmeco.com postmaster@mail.acmeco.com
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
    COMMAND: id=`zmprov gs mail.acmeco.com | grep zimbraId | awk '{print $2}'`; for i in `zmprov gc default | grep zimbraMailHostPool | sed 's/zimbraMailHostPool: //'`; do host="$host zimbraMailHostPool $i"; done; zmprov mc default $host zimbraMailHostPool $id
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
    zmprov [cmd] [args ...]

    CreateAccount(ca) {name@domain} {password} [attr1 value1 [attr2 value2...]]
    DeleteAccount(da) {name@domain|id}
    GetAccount(ga) {name@domain|id}
    GetAllAccounts(gaa) [-v] [{domain}]
    [...]

    exit (quit)
    help (?)

    COMMAND: /opt/zimbra/libexec/zmmtainit mail.acmeco.com
    COMMAND: zmlocalconfig -e av_notify_user=notify@mail.acmeco.com
    COMMAND: zmlocalconfig -e av_notify_domain=mail.acmeco.com
    COMMAND: zmlocalconfig -e snmp_notify=0
    COMMAND: zmlocalconfig -e smtp_notify=0
    COMMAND: zmlocalconfig -e snmp_trap_host=mail.acmeco.com
    COMMAND: zmlocalconfig -e smtp_source=none
    COMMAND: zmlocalconfig -e smtp_destination=none
    COMMAND: zmsnmpinit
    creating /opt/zimbra/conf/swatchrc
    COMMAND: zmprov ms mail.acmeco.com zimbraServiceInstalled ldap zimbraServiceInstalled mailbox zimbraServiceInstalled mta zimbraServiceInstalled antivirus zimbraServiceInstalled antispam zimbraServiceInstalled snmp
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
    COMMAND: zmprov ms mail.acmeco.com zimbraServiceEnabled ldap zimbraServiceEnabled mailbox zimbraServiceEnabled mta zimbraServiceEnabled antivirus zimbraServiceEnabled antispam zimbraServiceEnabled snmp
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
    COMMAND: zmlocalconfig -e zimbra_services="ldap mailbox mta antivirus antispam snmp"
    COMMAND: zmcreatecert
    ** Creating CA private key

    Generating a 1024 bit RSA private key
    ......++++++
    .....................++++++
    writing new private key to '/opt/zimbra/ssl/ssl/ca/ca.key'
    -----
    ** Creating CA cert

    Signature ok
    subject=/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite/CN=mail.acmeco.com
    Getting Private key
    ** Importing CA

    Certificate was added to keystore
    keytool error: java.io.FileNotFoundException: /opt/zimbra/java/jre/lib/security/cacerts (Permission denied)

    ** Creating keystore
    ** Creating server cert request
    ** Signing cert request

    Signature ok
    subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=mail.acmeco.com
    Getting CA Private Key
    Signature ok
    subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=mail.acmeco.com
    Getting Private key
    COMMAND: zmcertinstall mailbox
    ** Importing server cert

    keytool error: java.lang.Exception: Failed to establish chain from reply
    COMMAND: zmtlsctl http
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
    COMMAND: zmcertinstall mta /opt/zimbra/ssl/ssl/server/smtpd.crt /opt/zimbra/ssl/ssl/ca/ca.key
    ** Importing server cert

    COMMAND: zmlocalconfig -e ssl_allow_untrusted_certs=true
    COMMAND: zmcontrol startup
    Calling startup (mail.acmeco.com)

    perl /opt/zimbra/bin/zmmon &

    Soap call failed: 500 read timeout at /opt/zimbra/bin/zmcontrol line 230

    COMMAND: zmlocalconfig -s > .localconfig.save.19931
    COMMAND: zmprov gs mail.acmeco.com > .zmprov.mail.acmeco.com.save.19931
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
    COMMAND: zmprov gacf mail.acmeco.com > .zmprov.gacf.save.19931
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)



    Thanks.
    jh
    Last edited by jharrell; 10-14-2005 at 10:31 AM. Reason: privacy info

Similar Threads

  1. FC3 and Zen install failure with NPTL
    By Daniel-Daniel in forum Installation
    Replies: 4
    Last Post: 11-22-2005, 11:15 AM
  2. Best Procedure for new install M2 on FC3
    By chamo in forum Installation
    Replies: 5
    Last Post: 11-18-2005, 12:47 PM
  3. FC3 Install Hanging on core RPM
    By hawlej2 in forum Installation
    Replies: 4
    Last Post: 10-21-2005, 08:32 AM
  4. FC3 Install and no zimbra ?
    By aws in forum Installation
    Replies: 10
    Last Post: 10-09-2005, 04:19 PM
  5. Install on FC3 (or 4)
    By scottpledger in forum Installation
    Replies: 2
    Last Post: 10-07-2005, 11:49 AM

Posting Permissions

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