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
  #11 (permalink)  
Old 11-20-2005, 12:52 PM
Active Member
 
Posts: 28
Default When I re-installed

I got some exception errors on the following. What would cuase this to happen.

Adding mailhost.bhburgis.com to zimbraMailHostPool in default COS
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mailhost.bhburgis.com:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mailhost.bhburgis.com:389)
Reply With Quote
  #12 (permalink)  
Old 11-20-2005, 01:13 PM
Project Contributor
 
Posts: 223
Default

Quote:
Originally Posted by bburgis
I got some exception errors on the following. What would cuase this to happen.

Adding mailhost.bhburgis.com to zimbraMailHostPool in default COS
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mailhost.bhburgis.com:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mailhost.bhburgis.com:389)
Look at this thread Network edition - strange behavior

I had solved the same problem there
Reply With Quote
  #13 (permalink)  
Old 11-20-2005, 05:28 PM
Loyal Member
 
Posts: 96
Default

Quote:
Originally Posted by bburgis
I got some exception errors on the following. What would cuase this to happen.

Adding mailhost.bhburgis.com to zimbraMailHostPool in default COS
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mailhost.bhburgis.com:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mailhost.bhburgis.com:389)
Not sure about RHEL but with FC3 I had to install bind-libs to fix this error
Reply With Quote
  #14 (permalink)  
Old 11-20-2005, 05:30 PM
Active Member
 
Posts: 28
Default

I tried the fix suggested in the previous post but it did not work.

Background:

I have my zimbra server connected to the internet via a broadband cable connection. I am using dynamic dns to provide the ip address used by my isp. I have a static ip address on my server set to 192.168.2.104. I have a registered domain name, "bhburgis.com" and cname, "mailhost.bhburgis.com". My mx record is "10bhburgis.com". My host name is "mailhost.bhburgis.com". I think all my problems may be due to the dynamic addressing. However, I hope it isn't but if it is I hope someone can suggest a workaround. I really like this product and would definitely buy it. Again. Thanks for all the great help and suggestions so far.

I was able to install the product and able to send mail to the outside world by renaming my host to "mailhost"

palcing the following line in the /etc/hosts file:

127.0.0.1 localhost.localdomain localhost mailhost.bhburgis.com mailhost

Plase advise. Thanks.
Reply With Quote
  #15 (permalink)  
Old 11-20-2005, 05:34 PM
Zimbra Employee
 
Posts: 2,103
Default ldap problems?

bburgis:

Is ldap running? ps auxww | grep slapd. If it's not, start it (su - zimbra, ldap start) and look for errors.
Reply With Quote
  #16 (permalink)  
Old 11-22-2005, 08:55 AM
Senior Member
 
Posts: 66
Default Success - Kind of???

I was also getting the getDirectConext error no matter what I did. I tried fresh installs of FC3 and FC4 with exactly the same results. I was about to give up when I decided to see if I could make it an intranet email option. So, instead of a domain name, I just use the server's static IP address. The server is behind a router (if that matters).

Running: Fedora Core 4 with Zimbra M2

Hostname returns: mail
zmhostname returns: 192.168.1.157

/etc/hosts:
127.0.0.1 localhost.localdomain localhost
192.168.1.157 mail.192.168.1.157 mail

I set the all domains in the setup to 192.168.1.157. I have a DNS server (different system) running behind the router also. I guess I don't understand why it works with the IP but not my domain name??? The server with zimbra running on it resolves all domain names just fine including my registered domain name. Any ideas???
Reply With Quote
  #17 (permalink)  
Old 11-22-2005, 02:00 PM
Zimbra Employee
 
Posts: 4,792
Default

Quote:
Originally Posted by RyecoAaron
I was also getting the getDirectConext error no matter what I did. I tried fresh installs of FC3 and FC4 with exactly the same results. I was about to give up when I decided to see if I could make it an intranet email option. So, instead of a domain name, I just use the server's static IP address. The server is behind a router (if that matters).

Running: Fedora Core 4 with Zimbra M2

Hostname returns: mail
zmhostname returns: 192.168.1.157

/etc/hosts:
127.0.0.1 localhost.localdomain localhost
192.168.1.157 mail.192.168.1.157 mail

I set the all domains in the setup to 192.168.1.157. I have a DNS server (different system) running behind the router also. I guess I don't understand why it works with the IP but not my domain name??? The server with zimbra running on it resolves all domain names just fine including my registered domain name. Any ideas???


You might get better results using a hostname and not your IP as your hostname. So your /etc/hosts would look like


/etc/hosts:
127.0.0.1 localhost.localdomain localhost
192.168.1.157 mail.example.com mail


Where example.com is your domain name. It's not normal to use your IP as your domain name.
Reply With Quote
  #18 (permalink)  
Old 11-22-2005, 03:28 PM
Senior Member
 
Posts: 66
Default

Quote:
Originally Posted by KevinH
You might get better results using a hostname and not your IP as your hostname. So your /etc/hosts would look like


/etc/hosts:
127.0.0.1 localhost.localdomain localhost
192.168.1.157 mail.example.com mail


Where example.com is your domain name. It's not normal to use your IP as your domain name.
Thanks. That helped a lot! I was trying to put the ip address that my domain name resolves to when I really needed the computer's local address since I am behind the firewall. Everything is working just fine now! Now I just have to set it up on a real system instead of a Celeron 700 with 128 mb of ram. It does run on that but is pretty slow.

Thanks for making a great product!!!
Reply With Quote
  #19 (permalink)  
Old 07-19-2007, 05:46 AM
Junior Member
 
Posts: 8
Question Problems with installation of Zimbra in CENTOS 4.5

Hi. I've read some messages here and I found that the error is the same one that the posted here. I'll copy the message

*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Saving config in /opt/zimbra/config.12210...Done
Operations logged to /tmp/zmsetup.log.12210
Setting local config values...Done
Setting up CA...Done
Fetching CA from ldap...ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost.localdomain:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost.localdomain:389)
Done
Creating server entry for localhost.localdomain...Done
Setting services on localhost.localdomain...Done
Setting up zimbra crontab...Done
Setting up syslog.conf...ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost.localdomain:389)
Done

Somebody can help me??

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

Quote:
Originally Posted by gbajczman View Post
Somebody can help me??
..... and does your hosts file contain the correct information? Do you have DNS A & MX records pointing to your Zimbra server?
__________________
Regards


Bill
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.