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 05-04-2007, 09:24 PM
Member
 
Posts: 10
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.
Reply With Quote
  #2 (permalink)  
Old 05-04-2007, 11:14 PM
Zimbra Consultant & Moderator
 
Posts: 20,317
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
Reply With Quote
  #3 (permalink)  
Old 05-04-2007, 11:24 PM
Member
 
Posts: 10
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
Reply With Quote
  #4 (permalink)  
Old 05-04-2007, 11:43 PM
Zimbra Consultant & Moderator
 
Posts: 20,317
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
Reply With Quote
  #5 (permalink)  
Old 05-05-2007, 08:48 AM
Member
 
Posts: 10
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?
Reply With Quote
  #6 (permalink)  
Old 05-05-2007, 10:54 AM
Member
 
Posts: 10
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..
Reply With Quote
  #7 (permalink)  
Old 05-05-2007, 11:27 AM
Former Zimbran
 
Posts: 5,606
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
Reply With Quote
  #8 (permalink)  
Old 05-05-2007, 12:21 PM
Member
 
Posts: 10
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.
Reply With Quote
  #9 (permalink)  
Old 08-20-2007, 09:17 PM
Senior Member
 
Posts: 59
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
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.