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 04-27-2009, 11:56 AM
Loyal Member
 
Posts: 87
Default [SOLVED] Install issues. DNS?

First I will start by giving you my scenario.

We are mostly a windows shop running Active Directory on Server 2003 boxes.

For security reasons I'll change some names around etc.etc.

Lets say for the AD FQDN is world.hq.local. We are running MS DNS with no Reverse Lookup Zones really configured.

I have attempted to setup Zimbra following this guide:
Centos 5 Install Guide

The CentOS box's hostname is worldmail01.worldmail.com. Unfortunately since it ties into the DNS of our MS DNS box it shows up as worldmail01.worldmail.com.world.hq.local. No clue why or if this will be an issue.

/etc/hosts consists of:
192.168.0.43 worldmail01.world.hq.local worldmail01

This Zimbra install is being setup to host mail for our internet domain which is world.com.

Install process and errors:

I start the install for zimbra 4.5.5 with:
================================================
Code:
Select the packages to install

Install zimbra-ldap [Y] n

Install zimbra-logger [Y] y

Install zimbra-mta [Y] y

Install zimbra-snmp [Y] y

Install zimbra-store [Y] y

Install zimbra-spell [Y] y
Right away I get :

Code:
Setting defaults...     MX: worldmail01.world.com.world.hq.local (192.168.0.43)

        Interface: 192.168.0.43
        Interface: 127.0.0.1
                192.168.0.43
Done
Checking for port conflicts
Port conflict detected: 25 (zimbra-mta)
Port conflict detected: 25 (zimbra-mta)
Port conflicts detected! - Any key to continue
Config is:
Code:
   1) Hostname:                                worldmail01.world.hq.local
   2) Ldap master host:                        worldmail01.world.hq.local
   3) Ldap port:                               389
   4) Ldap password:                           set
   5) zimbra-store:                            Enabled
   6) zimbra-mta:                              Enabled
   7) zimbra-snmp:                             Enabled
   8) zimbra-logger:                           Enabled
   9) zimbra-spell:                            Enabled
   r) Start servers after configuration        yes
   s) Save config to file
   x) Expand menu
   q) Quit

*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help)
Once I choose to apply by pressing 'a' I get:

Code:
Setting local config values...Done
Setting up CA...Done
Creating SSL certificate...Done
Fetching CA from ldap...ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.Communicatio                                           nException worldmail01.world.hq.local:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException worldmail01.world
Done
Installing SSL certificate...Done
Creating server entry for worldmail01.world.hq.local...Done
Setting spell check URL...Done
Setting service ports on worldmail01.world.hq.local...Done
Adding worldmail01.world.hq.local to zimbraMailHostPool in default COS...ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException worldmail01.world.hq.local:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException worldmail01.world.hq.local:389)
Done
Installing skins...
Then it installs skins and creates users, then I get:

Code:
Setting up syslog.conf...ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException worldmail01.world.hq.local:389)
Done

You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Suite.
The only information that will be transmitted is:
        The VERSION of zcs installed (4.5.5_GA_838_CentOS5{i})
        The ADMIN EMAIL ADDRESS created (admin@worldmail01.world.hq.local)

Notify Zimbra of your installation? [Yes]
Then the starting of servers and zimlets begins and I get:

Code:
Starting servers...Done.
Installing zimlets...
        com_zimbra_url
        com_zimbra_email
        com_zimbra_date
        com_zimbra_phone
        com_zimbra_search
Done
Initializing Documents...ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException worldmail01.world.hq.local:389)
failed to initialize documents...see logfile for details.
Restarting tomcat...Done
Any ideas on where my problems are and how I might fix them would be great. Again, my end result is to setup a mail server that hosts our mail for world.com (not really world.com but you get it :P)

Also, I have tried installing 5.0 with pretty much the same results. The only things I had to do differently was force 5.0 to ignore what distro I was trying to install it on.

-Phys

**Edit: I just tried a few things:

Code:
]# su - zimbra
~]$ zmcontrol status
Cannot determine services - exiting
~]$ zmcontrol start
Host worldmail01.world.hq.local
~]$ zmcontrol status
Cannot determine services - exiting

Last edited by physikal; 04-27-2009 at 12:15 PM..
Reply With Quote
  #2 (permalink)  
Old 04-27-2009, 12:33 PM
Moderator
 
Posts: 872
Default

OK, probably not going to fully answer your question, but...

1) If I'm reading correctly you are installing Zimbra version 4.5.5. I'd highly recommend going with the latest version of Zimbra (5.0.14).

2) Not sure why you answered "n" to the zimbra-ldap question.

3) The port conflict messages indicate you have sendmail or some other MTA installed and running. You will want to stop this service and remove it from startup.

4) The way your MS DNS is setup I think you are going to want to have a look at the Zimbra Split DNS wiki page and try setting up a DNS server on your CentOS box for "world.com"
Reply With Quote
  #3 (permalink)  
Old 04-27-2009, 02:05 PM
Loyal Member
 
Posts: 87
Default

Thank you Sox. Atleast that gives me some sort of direction.

Also, would any of those errors have anything to do w/ nothing pointing my world.com mail servers to this zimbra box yet? I wasnt planning on doing that until zimbra was setup 100%.

I'm going to setup DNS via webmin and its giving me these options:

1. Setup nameserver for internal non-internet use only
2. Setup as an internet name server, and download root server information
3. Setup as an internet name server, but use Webmin's older root server information

With Zimbra split DNS, which does it prefer?

Thanks.
Reply With Quote
  #4 (permalink)  
Old 04-27-2009, 02:29 PM
Moderator
 
Posts: 872
Default

I believe all the specific errors you posted were due to the fact that you answered "n" to the zimbra-ldap question. That's not to say that the other things with the MTA running and DNS not setup properly wouldn't have caused other issues down the line.

As far as DNS, I think you would want to choose the webmin option 1 for Split DNS, but I could be wrong.
Reply With Quote
  #5 (permalink)  
Old 04-27-2009, 04:11 PM
Loyal Member
 
Posts: 87
Default Tried 5.0.14

So I have tried the install once more w/ 5.0.14 and this is where it bombs:

Code:
*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes]
Save config in file: [/opt/zimbra/config.1483]
Saving config in /opt/zimbra/config.1483...done.
The system will be modified - continue? [No] y
Operations logged to /tmp/zmsetup.04262009-102240.log
Setting local config values...done.
Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Creating SSL certificate...done.
Installing mailboxd SSL certificates...done.
Initializing ldap...failed. (2304)


ERROR



Configuration failed

Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
complete the configuration.

Errors have been logged to /tmp/zmsetup.04262009-102240.log
This time it had zimbra-ldap installing. Any ideas?
Reply With Quote
  #6 (permalink)  
Old 04-28-2009, 01:21 AM
Zimbra Consultant & Moderator
 
Posts: 19,633
Default

Post the output of the following commands:

Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 04-28-2009, 10:18 AM
Loyal Member
 
Posts: 87
Default

Hey Guys,

Thanks for the help. It was because I was using the release for RHEL4 instead of RHEL5. When I used RHEL5 install it worked flawlessly.

One issue I'm having now is its showing like testuser@worldmail01.world.com instead of just testuser@world.com.

Any ideas on that?
Reply With Quote
  #8 (permalink)  
Old 04-28-2009, 12:40 PM
Moderator
 
Posts: 872
Default

The Zimbra install defaults to setting up the email domain as the FQDN of the server you are working on. At the "Configuration Complete..." prompt you could have selected one of the choices to go back and change the domain to "world.com". There may be some way to change it after the fact through the CLI or Admin console, but I'm not sure. I think if you run through the installer again you should be able to get back to the point where you can make the change.
Reply With Quote
  #9 (permalink)  
Old 04-29-2009, 12:50 AM
Zimbra Consultant & Moderator
 
Posts: 19,633
Default

Quote:
Originally Posted by soxfan View Post
The Zimbra install defaults to setting up the email domain as the FQDN of the server you are working on. At the "Configuration Complete..." prompt you could have selected one of the choices to go back and change the domain to "world.com". There may be some way to change it after the fact through the CLI or Admin console, but I'm not sure. I think if you run through the installer again you should be able to get back to the point where you can make the change.
You can change it via the cli but the easiest thing to do for a new install is to uninstall zimbra with './install.sh -u' (that removes everything) then re-install. You're asked at the final steps if you want to change the domain name (and this only appears during an initial install), at that stage you can set it to your the correct domain name.
__________________
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.