Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: installation error intializing LDAP

  1. #1
    alad_macet is offline Intermediate Member
    Join Date
    Sep 2009
    Location
    india
    Posts
    18
    Rep Power
    5

    Default installation error intializing LDAP

    i got a error message while installing ZCS 6.0 in FC11

    *** CONFIGURATION COMPLETE - press 'a' to apply
    Select from menu, or press 'a' to apply config (? - help) a
    Save configuration data to a file? [Yes] yes
    Save config in file: [/opt/zimbra/config.13185]
    Saving config in /opt/zimbra/config.13185...done.
    The system will be modified - continue? [No] yes
    Operations logged to /tmp/zmsetup.10122009-194453.log
    Setting local config values...done.
    Setting up CA...done.
    Deploying CA to /opt/zimbra/conf/ca ...done.
    Creating SSL certificate...done.
    Installing mailboxd SSL certificates...done.
    Initializing ldap...failed. (5632)


    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.10122009-194453.log

    error message as follows:
    ======================

    ** 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.
    Mon Oct 12 19:50:04 2009 done.
    Mon Oct 12 19:50:04 2009 Installing mailboxd SSL certificates...
    Mon Oct 12 19:50:04 2009 *** Running as root user: /opt/zimbra/bin/zmcertmgr deploycrt self
    ** Saving server config key zimbraSSLCertificate...failed.
    ** Saving server config key zimbraSSLPrivateKey...failed.
    ** Installing mta certificate and key...done.
    ** Installing slapd certificate and key...done.
    ** Installing proxy certificate and key...done.
    ** Creating pkcs12 file /opt/zimbra/ssl/zimbra/jetty.pkcs12...done.
    ** Creating keystore file /opt/zimbra/mailboxd/etc/keystore...done.
    ** Installing CA to /opt/zimbra/conf/ca...done.
    Mon Oct 12 19:50:11 2009 done.
    Mon Oct 12 19:50:11 2009 checking isEnabled zimbra-ldap
    Mon Oct 12 19:50:11 2009 zimbra-ldap is enabled
    Mon Oct 12 19:50:11 2009 Initializing ldap...
    Mon Oct 12 19:50:11 2009 *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
    IO::Socket::INET: Bad hostname 'macet.com' at /opt/zimbra/libexec/zmldapinit line 136.
    Mon Oct 12 19:50:51 2009 failed. (5632)
    Mon Oct 12 19:50:51 2009

    ERROR

    Mon Oct 12 19:50:51 2009

    Configuration failed

    Mon Oct 12 19:50:51 2009 Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
    Mon Oct 12 19:50:51 2009 complete the configuration.
    Mon Oct 12 19:50:51 2009
    Errors have been logged to /tmp/zmsetup.10122009-194453.log
    ================================================== ===============

    Please help me out from this issue

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    That is most probable a DNS issue so please post the following
    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain mx
    dig yourdomain any
    host `hostname` <- note backticks and not single quotes (copy 'n' paste)

  3. #3
    alad_macet is offline Intermediate Member
    Join Date
    Sep 2009
    Location
    india
    Posts
    18
    Rep Power
    5

    Default

    Thks for your timely reply uxbod,

    [root@mail ~]# cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    ::1 localhost.localdomain localhost.localdomain localhost6 localhost6.localdomain6 localhost
    192.168.0.202 mail.macet.com mail mail

    ================================================== ================================================== =============

    [root@mail ~]# cat /etc/resolv.conf
    # Generated by NetworkManager

    # No nameservers found; try putting DNS servers into your
    # ifcfg files in /etc/sysconfig/network-scripts like so:
    #
    # DNS1=xxx.xxx.xxx.xxx
    # DNS2=xxx.xxx.xxx.xxx
    # DOMAIN=lab.foo.com bar.foo.com
    You have mail in /var/spool/mail/root

    ================================================== ================================================== =============

    [root@mail ~]dig macet.com mx

    ; <<>> DiG 9.6.1b1-RedHat-9.6.1-0.3.b1.fc11 <<>> macet.com mx
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26702
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;macet.com. IN MX

    ;; ANSWER SECTION:
    macet.com. 86400 IN MX 10 mail.macet.com.

    ;; AUTHORITY SECTION:
    macet.com. 86400 IN NS mail.macet.com.

    ;; ADDITIONAL SECTION:
    mail.macet.com. 86400 IN A 192.168.0.202

    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Tue Oct 13 18:54:39 2009
    ;; MSG SIZE rcvd: 78

    ================================================== ================================================== =============

    [root@mail ~]# dig macet.com any

    ; <<>> DiG 9.6.1b1-RedHat-9.6.1-0.3.b1.fc11 <<>> macet.com any
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28999
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;macet.com. IN ANY

    ;; ANSWER SECTION:
    macet.com. 86400 IN SOA macet.com. mail.macet.com. 42 10800 900 604800 86400
    macet.com. 86400 IN NS mail.macet.com.
    macet.com. 86400 IN MX 10 mail.macet.com.
    macet.com. 86400 IN A 192.168.0.202

    ;; ADDITIONAL SECTION:
    mail.macet.com. 86400 IN A 192.168.0.202

    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Tue Oct 13 18:54:15 2009
    ;; MSG SIZE rcvd: 130

    ================================================== ================================================== =============

    [root@mail ~]# host "macet.com"
    macet.com has address 192.168.0.202
    macet.com mail is handled by 10 mail.macet.com.

    ================================================== ================================================== ============

    [root@mail ~]# nslookup mail.macet.com
    Server: 127.0.0.1
    Address: 127.0.0.1#53

    Name: mail.macet.com
    Address: 192.168.0.202

    [root@mail ~]# nslookup macet.com
    Server: 127.0.0.1
    Address: 127.0.0.1#53

    Name: macet.com
    Address: 192.168.0.202
    Last edited by alad_macet; 10-13-2009 at 01:01 AM. Reason: s

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    Default

    Your /etc/resolv.conf should have the IP address of LAN DNS server and the additional command you should have run is this:

    Code:
    host `hostname` <- note backticks and not single quotes (copy 'n' paste)
    exactly as you see it there or copy/paste it.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    alad_macet is offline Intermediate Member
    Join Date
    Sep 2009
    Location
    india
    Posts
    18
    Rep Power
    5

    Default

    after changing the reslove.conf file Zimbra got installed. Thanks for your help but i still i am facing some errors.

    Configuration complete - press return to exit


    You have mail in /var/spool/mail/root
    [root@mail zcs-6.0.1_GA_1816.F11.20090911184139]# cd /
    [root@mail /]# su - zimbra
    trying to create local folder /opt/zimbra/.kde: Permission denied
    [zimbra@mail ~]$ zmcontrol status
    Host mail.macet.com
    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Running
    mta Running
    spell Stopped
    zmapachectl is not running
    stats Running

    zmapachectl is not running,

  6. #6
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Please check /var/log/zimbra.log and /opt/zimbra/log for any error messages.

  7. #7
    alad_macet is offline Intermediate Member
    Join Date
    Sep 2009
    Location
    india
    Posts
    18
    Rep Power
    5

    Default

    i hav doubt, can anybody clear it out
    1)can i use the my zimbra mailserver behind a squid proxy.

    2)can i send mails to gmail and yahoo from my local domain through zimbra mailserver without a public ip.

  8. #8
    alad_macet is offline Intermediate Member
    Join Date
    Sep 2009
    Location
    india
    Posts
    18
    Rep Power
    5

    Default

    can anybody clear my doubt please

  9. #9
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Quote Originally Posted by alad_macet View Post
    i hav doubt, can anybody clear it out
    1)can i use the my zimbra mailserver behind a squid proxy.
    Do not see any reason why not.

    Quote Originally Posted by alad_macet View Post
    2)can i send mails to gmail and yahoo from my local domain through zimbra mailserver without a public ip.
    You would be better using your upstream ISPs SMTP relay server as they should have a reverse DNS entry in place.

  10. #10
    alad_macet is offline Intermediate Member
    Join Date
    Sep 2009
    Location
    india
    Posts
    18
    Rep Power
    5

    Default

    uxbod thankz for your reply,

    first how can i find the ip add or the domain name of my isp's Smtp relay server. how can i use them, can u guide me through this process please.

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Close to despair: LDAP installation problem!?
    By Xeronimo1974 in forum Installation
    Replies: 4
    Last Post: 07-17-2009, 09:10 AM
  2. LDAP Replica Installation
    By Eri in forum Installation
    Replies: 0
    Last Post: 04-14-2009, 05:48 AM
  3. Installation Issues - SLES 10_Zimbra 5.0 Beta 3
    By rhartman in forum Installation
    Replies: 3
    Last Post: 01-14-2008, 07:18 AM
  4. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM
  5. Installation Problem - Possibly LDAP
    By geroshea in forum Installation
    Replies: 5
    Last Post: 03-16-2007, 04:47 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
  •