I'm running a intel mac version 10.4.5 with zimbra version 4.04 i think

anyway whenever i try to install i get an ldap error. i've tried several solutions in the forums all to no avail. please help.

here is a copy of my install log

Checking java version...
1.5 found

Setting defaults...
Setting local config zimbra_java_home to /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home

*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_java_home=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home

Error: save to /opt/zimbra/conf/localconfig.xml failed
java.io.IOException: Permission denied
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Nativ e Method)
at java.io.File.checkAndCreate(File.java:1345)
at java.io.File.createTempFile(File.java:1434)
at com.zimbra.cs.localconfig.LocalConfig.save(LocalCo nfig.java:144)
at com.zimbra.cs.localconfig.Main.main(Main.java:151)


DNS ERROR resolving MX for host-216-119-187-80.vista-express.com

It is suggested that the domain name have an MX record configured in DNS

MX: mail.marshallacademy.com (216.119.187.80)



Interface: 127.0.0.1

Interface: 216.119.187.80

Done

Disabling postfix in launchd

Checking for port conflicts



Note


The previous configuration appears to have failed to complete


Can't open opt/zimbra/config.1727: No such file or directory

Operations logged to /tmp/zmsetup.log.1727

Setting local config values...
Setting local config zimbra_server_hostname to marshallacademy.com

*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_server_hostname=marshallacademy.com

Error: save to /opt/zimbra/conf/localconfig.xml failed
java.io.IOException: Permission denied
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Nativ e Method)
at java.io.File.checkAndCreate(File.java:1345)
at java.io.File.createTempFile(File.java:1434)
at com.zimbra.cs.localconfig.LocalConfig.save(LocalCo nfig.java:144)
at com.zimbra.cs.localconfig.Main.main(Main.java:151)
Setting local config ldap_master_url to ldap://marshallacademy.com:389

*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_master_url=ldap://marshallacademy.com:389

Error: save to /opt/zimbra/conf/localconfig.xml failed
java.io.IOException: Permission denied
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Nativ e Method)
at java.io.File.checkAndCreate(File.java:1345)
at java.io.File.createTempFile(File.java:1434)
at com.zimbra.cs.localconfig.LocalConfig.save(LocalCo nfig.java:144)
at com.zimbra.cs.localconfig.Main.main(Main.java:151)
Setting local config ldap_url to ldap://marshallacademy.com:389

*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_url=ldap://marshallacademy.com:389

Error: save to /opt/zimbra/conf/localconfig.xml failed
java.io.IOException: Permission denied
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Nativ e Method)
at java.io.File.checkAndCreate(File.java:1345)
at java.io.File.createTempFile(File.java:1434)
at com.zimbra.cs.localconfig.LocalConfig.save(LocalCo nfig.java:144)
at com.zimbra.cs.localconfig.Main.main(Main.java:151)
Setting local config ldap_port to 389

*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_port=389

Error: save to /opt/zimbra/conf/localconfig.xml failed
java.io.IOException: Permission denied
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Nativ e Method)
at java.io.File.checkAndCreate(File.java:1345)
at java.io.File.createTempFile(File.java:1434)
at com.zimbra.cs.localconfig.LocalConfig.save(LocalCo nfig.java:144)
at com.zimbra.cs.localconfig.Main.main(Main.java:151)
Setting local config ldap_host to marshallacademy.com

*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_host=marshallacademy.com

Error: save to /opt/zimbra/conf/localconfig.xml failed
java.io.IOException: Permission denied
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Nativ e Method)
at java.io.File.checkAndCreate(File.java:1345)
at java.io.File.createTempFile(File.java:1434)
at com.zimbra.cs.localconfig.LocalConfig.save(LocalCo nfig.java:144)
at com.zimbra.cs.localconfig.Main.main(Main.java:151)
Setting local config zimbra_uid to 502

*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_uid=502

Error: save to /opt/zimbra/conf/localconfig.xml failed
java.io.IOException: Permission denied
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Nativ e Method)
at java.io.File.checkAndCreate(File.java:1345)
at java.io.File.createTempFile(File.java:1434)
at com.zimbra.cs.localconfig.LocalConfig.save(LocalCo nfig.java:144)
at com.zimbra.cs.localconfig.Main.main(Main.java:151)
Setting local config zimbra_gid to 502

*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_gid=502

Error: save to /opt/zimbra/conf/localconfig.xml failed
java.io.IOException: Permission denied
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Nativ e Method)
at java.io.File.checkAndCreate(File.java:1345)
at java.io.File.createTempFile(File.java:1434)
at com.zimbra.cs.localconfig.LocalConfig.save(LocalCo nfig.java:144)
at com.zimbra.cs.localconfig.Main.main(Main.java:151)
Setting local config zimbra_user to zimbra

*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_user=zimbra

Error: save to /opt/zimbra/conf/localconfig.xml failed
java.io.IOException: Permission denied
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Nativ e Method)
at java.io.File.checkAndCreate(File.java:1345)
at java.io.File.createTempFile(File.java:1434)
at com.zimbra.cs.localconfig.LocalConfig.save(LocalCo nfig.java:144)
at com.zimbra.cs.localconfig.Main.main(Main.java:151)
Setting local config av_notify_user to admin@marshallacademy.com

*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e av_notify_user=admin@marshallacademy.com

Error: save to /opt/zimbra/conf/localconfig.xml failed
java.io.IOException: Permission denied
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Nativ e Method)
at java.io.File.checkAndCreate(File.java:1345)
at java.io.File.createTempFile(File.java:1434)
at com.zimbra.cs.localconfig.LocalConfig.save(LocalCo nfig.java:144)
at com.zimbra.cs.localconfig.Main.main(Main.java:151)
Setting local config ssl_allow_untrusted_certs to TRUE

*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ssl_allow_untrusted_certs=TRUE

Error: save to /opt/zimbra/conf/localconfig.xml failed
java.io.IOException: Permission denied
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Nativ e Method)
at java.io.File.checkAndCreate(File.java:1345)
at java.io.File.createTempFile(File.java:1434)
at com.zimbra.cs.localconfig.LocalConfig.save(LocalCo nfig.java:144)
at com.zimbra.cs.localconfig.Main.main(Main.java:151)
Done

Creating SSL certificate...
*** Running as zimbra user: cd /opt/zimbra; zmcreatecert

expr: non-numeric argument
/opt/zimbra/bin/zmcreatecert: line 78: [: -lt: unary operator expected
** Importing CA

keytool error: java.lang.Exception: Certificate not imported, alias already exists
** Creating keystore

** Creating server cert request

Generating a 1024 bit RSA private key
....++++++
.................................................. ............................................++++++
unable to write 'random state'
writing new private key to '/opt/zimbra/ssl/ssl/server/server.key'
-----
** Signing cert request

Using configuration from /opt/zimbra/ssl/ssl/zmssl.cnf
unable to load number from /opt/zimbra/ssl/ssl/ca/ca.srl
error while loading serial number
1957:error:0D066096:asn1 encoding routines:a2i_ASN1_INTEGER:short line:f_int.c:215:
unable to write 'random state'
Signature ok
subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=marshallacademy.com
Getting CA Private Key
unable to load number from /opt/zimbra/ssl/ssl/ca/ca.srl
1958:error:0D066096:asn1 encoding routines:a2i_ASN1_INTEGER:short line:f_int.c:215:
unable to write 'random state'
Done

Initializing ldap...
*** Running as zimbra user: /opt/zimbra/libexec/zmldapinit

Error: save to /opt/zimbra/conf/localconfig.xml failed
java.io.IOException: Permission denied
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Nativ e Method)
at java.io.File.checkAndCreate(File.java:1345)
at java.io.File.createTempFile(File.java:1434)
at com.zimbra.cs.localconfig.LocalConfig.save(LocalCo nfig.java:144)
at com.zimbra.cs.localconfig.Main.main(Main.java:151)
Error: save to /opt/zimbra/conf/localconfig.xml failed
java.io.IOException: Permission denied
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Nativ e Method)
at java.io.File.checkAndCreate(File.java:1345)
at java.io.File.createTempFile(File.java:1434)
at com.zimbra.cs.localconfig.LocalConfig.save(LocalCo nfig.java:144)
at com.zimbra.cs.localconfig.Main.main(Main.java:151)
Error: save to /opt/zimbra/conf/localconfig.xml failed
java.io.IOException: Permission denied
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Nativ e Method)
at java.io.File.checkAndCreate(File.java:1345)
at java.io.File.createTempFile(File.java:1434)
at com.zimbra.cs.localconfig.LocalConfig.save(LocalCo nfig.java:144)
at com.zimbra.cs.localconfig.Main.main(Main.java:151)
mv: rename /tmp/slapd.conf to /opt/zimbra/conf/slapd.conf.in: Permission denied
slapd already running: pid 1300
FAILED (256)



ERROR




Configuration failed


Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to

complete the configuration