Results 1 to 9 of 9

Thread: [SOLVED] Install issues. DNS?

  1. #1
    physikal is offline Loyal Member
    Join Date
    Apr 2009
    Posts
    90
    Rep Power
    6

    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 11:15 AM.

  2. #2
    soxfan is offline Moderator
    Join Date
    Mar 2006
    Location
    Massachusetts
    Posts
    965
    Rep Power
    10

    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"

  3. #3
    physikal is offline Loyal Member
    Join Date
    Apr 2009
    Posts
    90
    Rep Power
    6

    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.

  4. #4
    soxfan is offline Moderator
    Join Date
    Mar 2006
    Location
    Massachusetts
    Posts
    965
    Rep Power
    10

    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.

  5. #5
    physikal is offline Loyal Member
    Join Date
    Apr 2009
    Posts
    90
    Rep Power
    6

    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?

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    physikal is offline Loyal Member
    Join Date
    Apr 2009
    Posts
    90
    Rep Power
    6

    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?

  8. #8
    soxfan is offline Moderator
    Join Date
    Mar 2006
    Location
    Massachusetts
    Posts
    965
    Rep Power
    10

    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.

  9. #9
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 06-14-2007, 10:14 PM
  2. :( DNS Lookup issues
    By jhgutierrezg in forum Administrators
    Replies: 3
    Last Post: 05-30-2007, 08:00 AM
  3. Install - DNS Issues...
    By elementsofway in forum Installation
    Replies: 15
    Last Post: 04-17-2007, 10:42 PM
  4. two servers, DNS issues, install fails at LDAP
    By marqpdx in forum Installation
    Replies: 6
    Last Post: 08-02-2006, 06:15 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
  •