Results 1 to 9 of 9

Thread: Multiple Domains setup

  1. #1
    Toky is offline Member
    Join Date
    May 2007
    Location
    Virginia, USA
    Posts
    10
    Rep Power
    8

    Question Multiple Domains setup

    I looked through the forums and was not able to find an answer for this,

    I would like to setup a multiple domain zimbra install, can this be done?
    (1 install in 1 machine that can serve multiple domains)

    I'm looking to install this on a CentOS 5 box.

    Thanks in advance.

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,586
    Rep Power
    57

    Default

    Welcome to the forums.

    This question has been answered many times in the forums. Yes, you can have multiple domains on your server, just create it with one domain at set-up and add the rest later.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Toky is offline Member
    Join Date
    May 2007
    Location
    Virginia, USA
    Posts
    10
    Rep Power
    8

    Default

    Thanks,

    Now I have diff, question...

    On the install process the Zimbra-spell is giving me errors, so i've opted to not install the speller...

    The install process seems to go ok, but it hangs an exits when trying to start mysql (i already have mysql running) I've looked for a way to pass the root acccount info to the zimbra installer (so it may manipulate the mysql as needed) but I can't find where to do this...

    Code:
             at com.zimbra.common.localconfig.LocalConfig.readConfig(LocalConfig.java:348)
            at com.zimbra.common.localconfig.LocalConfig.(LocalConfig.java:353)
            at com.zimbra.common.localconfig.Main.main(Main.java:116)
    Done
    Upgrading from  to 4.5.4_GA_763
    Stopping zimbra services
    Verifying /opt/zimbra/conf/my.cnf
    Starting mysql
    mysql startup failed with exit code 1
    UPGRADE FAILED - exiting

    Any idea on what could be causing this?

    I figured out what this was, the installer was attempting an "Upgrade" but the install had not completed the first time, so the zimbra Mysql was NOT setup properly... I fixed this by running

    rpm -e `rpm -qa | grep zimbra` ; ./install.sh

    This removes any packages that were install previously on my failed attempts...
    Last edited by Toky; 05-05-2007 at 11:55 AM. Reason: update

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,586
    Rep Power
    57

    Default

    Quote Originally Posted by Toky View Post
    On the install process the Zimbra-spell is giving me errors, so i've opted to not install the speller...
    The reasons for this problem are well documented in the forums, please search for details.

    Quote Originally Posted by Toky View Post
    The install process seems to go ok, but it hangs an exits when trying to start mysql (i already have mysql running) I've looked for a way to pass the root acccount info to the zimbra installer (so it may manipulate the mysql as needed) but I can't find where to do this...
    I don't really understand what you mean here, what are you trying to do?

    Do you have correct DNS A & MX records and is your /etc/hosts file correct?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Toky is offline Member
    Join Date
    May 2007
    Location
    Virginia, USA
    Posts
    10
    Rep Power
    8

    Default

    Quote Originally Posted by phoenix View Post
    I don't really understand what you mean here, what are you trying to do?

    Do you have correct DNS A & MX records and is your /etc/hosts file correct?
    I'm trying to install zimbra.

    Yes I have the A & MX records ready (that part of the install process goes before the point when mysql is tried to be restarted)

    I guess a more precise question (although the answer would be more elaborated...) When the installer attempts to start mysql, what is it trying to do to it?

  6. #6
    Toky is offline Member
    Join Date
    May 2007
    Location
    Virginia, USA
    Posts
    10
    Rep Power
    8

    Default

    Latest error:

    Code:
    The system will be modified - continue? [No] yes
    Operations logged to /tmp/zmsetup.log.3898
    Setting local config values...Done
    Setting up CA...Done
    Creating SSL certificate...Done
    Initializing ldap...sudo: sorry, you must have a tty to run sudo
    ERROR - failed to start slapd
    
    FAILED (1)
    
    
    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.log.3898
    I'm running this from a shell as root so I don't understand why its saying "sorry, you must have a tty to run sudo"
    Last edited by Toky; 05-05-2007 at 12:00 PM.

  7. #7
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Code:
    Initializing ldap...sudo: sorry, you must have a tty to run sudo
    ERROR - failed to start slapd
    Make sure that Zimbra has sudo rights.
    Zimbra uses sudo to bind ldap.

    http://wiki.zimbra.com/index.php?title=Sudoers

  8. #8
    Toky is offline Member
    Join Date
    May 2007
    Location
    Virginia, USA
    Posts
    10
    Rep Power
    8

    Default

    Thanks for the reply Jholder, I found this post Zimbra and FC6 which explains a work around for the "Require tty to run sudo"

    I'm going to post here the work around for future reference.

    Since FC6 (hence RHEL5 and CentOS5 too) Redhat added a new option to the sudoers file:
    Defaults requiretty
    This new line is the reason we are getting the "require tty to sun sudo" error.

    The work around is opening the sudoers file with visudo ( <- command) and searching for the string requiretty (on vi/vim "/requiretty" + enter) and comment out the line (on vi/vim "i" for insert mode then add a "#" to comment out the line. then hit ESC key to get out of insert mode and then press ":" + "wq" to save and exit from the file.

    now it should all be good!

    PS: when I see a post title "Zimbra and FC6" I (and i'm pretty sure other people) would have discarted it since i'm NOT looking for FC6 "issues".

    Hopefully since this post now includes CentOS 5, RHEL 5 and FC6 when people do searches this might help them get to the answers quicker.

  9. #9
    newmember is offline Senior Member
    Join Date
    May 2007
    Location
    Calgary
    Posts
    62
    Rep Power
    8

    Default

    THis might be easier to follow:

    Get this error:
    Initializing ldap...sudo: sorry, you must have a tty to run sudo

    then:

    type visudo
    comment out this line:
    change from this:
    Defaults requiretty
    to this:
    #Defaults requiretty



    save the file and all done

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Advanced MTA Configuration - multiple domains
    By keyhman in forum Installation
    Replies: 6
    Last Post: 04-20-2012, 02:23 AM
  2. Multiple Domains w/ SSL
    By msf004 in forum Installation
    Replies: 2
    Last Post: 07-30-2007, 10:48 AM
  3. Replies: 3
    Last Post: 06-07-2007, 07:19 AM
  4. Multiple domains setup
    By kgeorge in forum Administrators
    Replies: 2
    Last Post: 11-14-2006, 09:19 AM
  5. Multiple domains with multiple GALs
    By alexz in forum Installation
    Replies: 2
    Last Post: 02-05-2006, 11:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •