My server's / drive filled to 100% (for some as yet unknown reason) and Zimbra would not start once I freed up 40gig of space. I am trying to re-install the open source edition but it fails when trying to initialize ldap. The below text is from the /tmp/zmsetup.log file. I suspect it is related to the zimbra user since when I try to su as zimbra I get a "bin/bash: Permission denied" message. I have uninstalled Zimbra with the ./install.sh -u command and reinstalled but continue to get the same error. I would appreciate any help, hopefully someone more experienced has seen this before.


** Creating directory /opt/zimbra/ssl/zimbra
** Creating directory /opt/zimbra/ssl/zimbra/ca
** Creating directory /opt/zimbra/ssl/zimbra/server
** Creating directory /opt/zimbra/ssl/zimbra/commercial
** Creating directory /opt/zimbra/mailboxd/webapps/zimbraAdmin/tmp
chown: invalid option -- 1
Try `chown --help' for more information.
** Creating /opt/zimbra/ssl/zimbra/ca/zmssl.cnf...chown: invalid option -- 1
Try `chown --help' for more information.
done
chown: invalid option -- 1
Try `chown --help' for more information.
** Retrieving CA private key from ldap...failed.
chown: invalid option -- 1
Try `chown --help' for more information.
** Retrieving CA cert from ldap...failed.
chown: invalid option -- 1
Try `chown --help' for more information.
** Retrieving Commercial CA cert from ldap...failed.
** Creating CA private key /opt/zimbra/ssl/zimbra/ca/ca.key...done.
** Creating CA cert /opt/zimbra/ssl/zimbra/ca/ca.pem...done.
Wed Oct 20 12:35:02 2010 done.
Wed Oct 20 12:35:02 2010 Deploying CA to /opt/zimbra/conf/ca ...
Wed Oct 20 12:35:02 2010 *** Running as root user: /opt/zimbra/bin/zmcertmgr dep
loyca -localonly
** Importing CA /opt/zimbra/ssl/zimbra/ca/ca.pem into CACERTS...done.
** Copying CA to /opt/zimbra/conf/ca...chown: invalid option -- 1
Try `chown --help' for more information.
chown: invalid option -- 1
Try `chown --help' for more information.
done.
chown: invalid option -- 1
Try `chown --help' for more information.
chown: invalid option -- 1
Try `chown --help' for more information.
Wed Oct 20 12:35:05 2010 done.
Wed Oct 20 12:35:05 2010 Creating SSL certificate...
Wed Oct 20 12:35:05 2010 *** Running as root user: /opt/zimbra/bin/zmcertmgr cre
atecrt self
chown: invalid option -- 1
Try `chown --help' for more information.
** Creating /opt/zimbra/conf/zmssl.cnf...chown: invalid option -- 1
Try `chown --help' for more information.
done
** Backup /opt/zimbra/ssl/zimbra to /opt/zimbra/ssl/zimbra.20101020123507
chown: invalid option -- 1
Try `chown --help' for more information.
** Retrieving server config key zimbraSSLCertificate...failed.
chown: invalid option -- 1
Try `chown --help' for more information.
** Retrieving server config key zimbraSSLPrivateKey...failed.
** Generating a server csr for download self -keysize 1024
** Backup /opt/zimbra/ssl/zimbra to /opt/zimbra/ssl/zimbra.20101020123507
chown: invalid option -- 1
Try `chown --help' for more information.
chown: invalid option -- 1
Try `chown --help' for more information.
chown: invalid option -- 1
Try `chown --help' for more information.
chown: invalid option -- 1
Try `chown --help' for more information.
** Retrieving Commercial CA cert from ldap...failed.
** Creating server cert request /opt/zimbra/ssl/zimbra/server/server.csr...done.
** Saving server config key zimbraSSLPrivateKey...failed.
** Signing cert request /opt/zimbra/ssl/zimbra/server/server.csr...done.
Wed Oct 20 12:35:07 2010 done.
Wed Oct 20 12:35:08 2010 Installing mailboxd SSL certificates...
Wed Oct 20 12:35:08 2010 /opt/zimbra/mailboxd/etc/keystore didn't exist.
Wed Oct 20 12:35:08 2010 *** Running as root user: /opt/zimbra/bin/zmcertmgr dep
loycrt self
** Saving server config key zimbraSSLCertificate...failed.
** Saving server config key zimbraSSLPrivateKey...failed.
** Installing mta certificate and key...chown: invalid option -- 1
Try `chown --help' for more information.
chown: invalid option -- 1
Try `chown --help' for more information.
done.
** Installing slapd certificate and key...chown: invalid option -- 1
Try `chown --help' for more information.
chown: invalid option -- 1
Try `chown --help' for more information.
done.
** Installing proxy certificate and key...chown: invalid option -- 1
Try `chown --help' for more information.
chown: invalid option -- 1
Try `chown --help' for more information.
done.
** Creating pkcs12 file /opt/zimbra/ssl/zimbra/localhost.pkcs12...done.
** Creating keystore file /opt/zimbra/mailboxd/etc/keystore...done.
** Installing CA to /opt/zimbra/conf/ca...chown: invalid option -- 1
Try `chown --help' for more information.
chown: invalid option -- 1
Try `chown --help' for more information.
done.
Wed Oct 20 12:35:12 2010 done.
Wed Oct 20 12:35:13 2010 checking isEnabled zimbra-ldap
Wed Oct 20 12:35:13 2010 zimbra-ldap is enabled
Wed Oct 20 12:35:13 2010 Initializing ldap...
Wed Oct 20 12:35:13 2010 *** Running as zimbra user: /opt/zimbra/libexec/zmldapi
nit
Wed Oct 20 12:35:13 2010 failed. (32256)
Wed Oct 20 12:35:13 2010

ERROR

Wed Oct 20 12:35:13 2010

Configuration failed

Wed Oct 20 12:35:13 2010 Please address the error and re-run /opt/zimbra/libexec
/zmsetup.pl to
Wed Oct 20 12:35:13 2010 complete the configuration.
Wed Oct 20 12:35:13 2010
Errors have been logged to /tmp/zmsetup.10202010-123322.log