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 12-02-2005, 07:34 AM
New Member
 
Posts: 4
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
Reply With Quote
  #2 (permalink)  
Old 12-02-2005, 08:15 AM
Zimbra Employee
 
Posts: 4,792
Default

Hi welcome. /opt/zimbra/bin/ldap will let you start ldap directly.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 12-02-2005, 08:21 AM
Zimbra Employee
 
Posts: 2,103
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?
Reply With Quote
  #4 (permalink)  
Old 12-02-2005, 08:43 AM
New Member
 
Posts: 4
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
Reply With Quote
  #5 (permalink)  
Old 12-02-2005, 08:51 AM
Zimbra Employee
 
Posts: 2,103
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
Reply With Quote
  #6 (permalink)  
Old 12-02-2005, 09:06 AM
New Member
 
Posts: 4
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
Reply With Quote
  #7 (permalink)  
Old 12-02-2005, 09:10 AM
Zimbra Employee
 
Posts: 2,103
Default no cacerts

For this purpose, you can ignore that error - this shouldn't effect slapd.
Reply With Quote
  #8 (permalink)  
Old 12-02-2005, 09:20 AM
New Member
 
Posts: 4
Default

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

playersons
Reply With Quote
  #9 (permalink)  
Old 12-02-2005, 10:06 AM
Zimbra Employee
 
Posts: 2,103
Default tls and ldap

Did you try removing the ldaps and tls stuff from slapd.conf?
Reply With Quote
  #10 (permalink)  
Old 12-02-2005, 10:28 AM
Project Contributor
 
Posts: 33
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
__________________
running Mac Os X

Last edited by s3nz3x; 12-02-2005 at 11:14 AM.. Reason: getting clues…
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.