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"
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
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