Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: still getting error on Mac OS X after installation

Hybrid View

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

    Default still getting error on Mac OS X after installation

    Hello folks,

    I managed to get the installation process run through but as soon as I want to start I get following error:

    zimbra:~ zimbra$ zmcontrol startup
    Host zimbra.mkk-hamburg.de
    Starting ldap...Done.
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException zimbra.mkk-hamburg.de:389)

    I guess this means something like the ldap service could not be reached or found. During installation, the log file showed a similar error:

    Adding zimbra.mkk-hamburg.de to zimbraMailHostPool in default COS
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException zimbra.mkk-hamburg.de:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException zimbra.mkk-hamburg.de:389)
    Done
    Creating domain zimbra.mkk-hamburg.de...
    *** Running as zimbra user: /opt/zimbra/bin/zmprov cd zimbra.mkk-hamburg.de
    *** Running as zimbra user: /opt/zimbra/bin/zmprov mcf zimbraDefaultDomainName zimbra.mkk-hamburg.de
    Done

    Well, I really don't understand why this error occurs. My DNS is running, the zimbra host can resolve itself forward and reverse. Localhost points to 127.0.0.1 and v.v.
    Could I try to manually start ldap or check why it not running properly?

    Anybody any clues? Thanks in advance....
    playersons

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

    Default

    Hi welcome. /opt/zimbra/bin/ldap will let you start ldap directly.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

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

    Default Dns

    The problem you are seeing is almost certainly either ldap not starting, or dns not resolving to the local host's IP.


    After you get the startup error, is slapd running? Can you telnet to port 389?

  4. #4
    Join Date
    Dec 2005
    Posts
    4
    Rep Power
    10

    Default Dns

    marcmac, thank you for your valued attention. I have checked DNS as follows:

    zimbra:~ zimbra$ host localhost
    localhost has address 127.0.0.1
    zimbra:~ zimbra$ host 127.0.0.1
    1.0.0.127.in-addr.arpa domain name pointer localhost.
    zimbra:~ zimbra$ host zimbra.mkk-hamburg.de
    zimbra.mkk-hamburg.de has address 192.168.1.240
    zimbra:~ zimbra$ host 192.168.1.240
    240.1.168.192.in-addr.arpa domain name pointer zimbra.mkk-hamburg.de.

    To me, it looks as if everything is being looked up and resolved correctly.

    As for the port 389, no, I can't telnet to that port. I tried starting ldap manually as advised by KevinH but to no avail. slapd is not running, I can't see it anywhere in the process list at any time after the zimbra startup command or the slapd start command.I ceartainly did a lot of searches and read every possibly related post in this forum. Other posters with similar troubles concerning this error all seem to be Linux users. Therefore I doubt that editing /etc/hosts will solve this.

    Thanks again for your support.
    playersons

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

    Default certs

    recreate your certs:
    su - zimbra
    zmcreateca
    zmcreatecert

    If you can't start slapd after that - edit conf/slapd.conf, remove the last 4 lines, and the string "ldaps:// ".

    If it starts after that, you'll have to reinstall:

    After installing the package, perform those edits, and then run zmsetup.pl

  6. #6
    Join Date
    Dec 2005
    Posts
    4
    Rep Power
    10

    Default certs

    Hello marcmac,

    trying to recreate certs I receive followin error (in german):

    Keytool-Fehler: java.io.FileNotFoundException: /opt/zimbra/java/jre/lib/security/cacerts (No such file or directory)

    I guess this would mean keytool error:

    I checked the java directory and could not find any jre (or subsequent) directory there. Here is where I found cacerts:

    /Applications/Utilities/Java/Java Web Start.app/Contents/MacOS/cacerts
    /Applications/Utilities/Java/Java Web Start.app/Contents/MacOS/cacerts.janet
    /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/lib/security/cacerts
    /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/lib/security/cacerts
    /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/security/cacerts

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

    Default no cacerts

    For this purpose, you can ignore that error - this shouldn't effect slapd.

  8. #8
    Join Date
    Dec 2005
    Posts
    4
    Rep Power
    10

    Default

    thank you, but slapd still won't start. Recreating certs did not change this behaviour.

    playersons

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

    Default tls and ldap

    Did you try removing the ldaps and tls stuff from slapd.conf?

  10. #10
    Join Date
    Nov 2005
    Location
    proxima centaury
    Posts
    33
    Rep Power
    10

    Cool I really think JAVA is the pb on OsX

    hi,

    Marcman knows that I said on another post I'll do another install.
    I did… And I've the same pb as YOU.

    So right now the only way to make this works is to change the symlink of CurrentJDK for JAVA.

    I've made a script for establish JAVA and it works (I'll post it soon) BUT
    1) the script doesn't change any sysmlink in system/framework, AND java is set as 1.5. So we could say it's a winner.

    NO because now I've got the same pb as you.

    Everything is up except mailbox. So I'm now looking specifically at tomcat to go further.
    I'm no programmer but I really think the pb is about JAVA.

    I've installed 3 partitions (3 zimbra) to test. the one that "works" fine is the one with the symlink tricks. the ugly way we could say. (And this do works but crashs anyway).

    I'm doing other scripts specifically to OsX, and I'm progressing fine.
    I'll post all of this as soon as I get this OK.
    I hope it's gonna be monday As I'm working on it all week-end.

    To get you in appetite here is what I've done (or doing)

    1) script to set JAVA 1.5 to run BEFORE zimbra installation.
    done: all user's get java- version 1.5
    2) well zimbra install with user creation etc… nothing special here
    3) a custom script for OsX to check existence & permissions of the
    Desktop folder, Library Folder, .trash for zimbra user. (in case you do log in as zimbra user on your box)
    and create a .bashrc & .bash_profile files to get java.
    here I don't know If I should as I did the 1) stuff. Maybe it's a double function and maybe I should not. still testing.

    4) Startup Items & some custom functions, working allright & allready online in this forum.

    I'll let you know if I succeeded to get zimbra work with this.
    In case I can't: I'll still will post the scripts so maybe someone could improve them.

    Going back to work.


    --edit:
    getting clues… I'll let you know ASAP
    --end edit
    Last edited by s3nz3x; 12-02-2005 at 12:14 PM. Reason: getting clues…
    running Mac Os X

Similar Threads

  1. Installed on Mac OS X client, host file question
    By McBurtnieks in forum Installation
    Replies: 1
    Last Post: 04-01-2007, 12:09 PM
  2. Mac OS X Installation and Quick Start of Zimbra
    By zimbra_osx in forum Installation
    Replies: 10
    Last Post: 11-21-2006, 04:15 AM
  3. Mac OS X + Zimbra + Apache 2
    By abetam in forum Installation
    Replies: 1
    Last Post: 10-06-2006, 11:16 PM
  4. Uninstall in Mac OS X?
    By avi4now in forum Installation
    Replies: 10
    Last Post: 01-09-2006, 12:14 PM
  5. Installation on Mac OS X
    By fozzy in forum Installation
    Replies: 1
    Last Post: 11-19-2005, 11:17 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
  •