Results 1 to 10 of 12

Thread: Ldap issues

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    6
    Rep Power
    8

    Default Ldap issues

    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

  2. #2
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Please try and running the zmfixperms script in the libexec directory.

  3. #3
    Join Date
    Jan 2007
    Posts
    6
    Rep Power
    8

    Default

    Still no luck. I'm getting the same error.

    This wouldn't bother me so much if i hadn't gotten it working before on the same box

  4. #4
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Try this:
    >su root
    >chown -R zimbra:zimbra /opt/zimbra
    >cd /opt/zimbra/libexec
    >./zmfixperms
    >su zimbra
    >zmcontrol start
    >tail -100 /var/log/zimbra.log
    (post that here)
    >tail -100 /var/log/zimbra.log
    (post that here too)

  5. #5
    Join Date
    Jan 2007
    Posts
    6
    Rep Power
    8

    Default

    host-216-119-187-80:~/libexec zimbra$ zmcontrol start
    Host marshallacademy.com
    Starting ldap...Done.
    FAILED
    ERROR - failed to start slapd



    host-216-119-187-80:~/libexec zimbra$ tail -100 /var/log/zimbra.log
    tail: /var/log/zimbra.log: No such file or directory
    host-216-119-187-80:~/libexec zimbra$ tail -100 /var/log/zimbra.log
    tail: /var/log/zimbra.log: No such file or directory
    host-216-119-187-80:~/libexec zimbra$ tail -100 /var/log/zimbra.log
    tail: /var/log/zimbra.log: No such file or directory
    host-216-119-187-80:~/libexec zimbra$

  6. #6
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    hmn-
    Can you post your zmlocalconfig ?

    BTW: The second log file is supposed to be /opt/zimbra/log/zimbra.log not /var/log/zimbra.log

Similar Threads

  1. LDAP Replication Experiences
    By technikolor in forum Administrators
    Replies: 4
    Last Post: 11-11-2008, 11:52 PM
  2. Upgrade: 4.5.5 -> 4.5.6 failed, LDAP/slapd issues
    By Daimyo in forum Installation
    Replies: 7
    Last Post: 08-04-2007, 09:23 PM
  3. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM
  4. Mac OSX install: Java errors & LDAP CA error
    By jefbear in forum Installation
    Replies: 9
    Last Post: 12-16-2006, 02:39 PM
  5. Replies: 4
    Last Post: 11-15-2006, 11:16 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
  •