Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: [SOLVED] installation failing at slapd

Hybrid View

  1. #1
    Join Date
    Jul 2009
    Posts
    16
    Rep Power
    6

    Default [SOLVED] installation failing at slapd

    Hello there,

    ZCS installation failing at slapd....unable to start ldap.

    syslog :
    daemon: listen(ldap://localhost:389, 5) failed errno=98 (Address already in use)

    Install log:
    Initializing ldap...failed. (28416)


    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.09022009-205619.log

    ****************************************
    After reading wiki,forum I tried following
    1. Killing any ldap processes already running
    2.Checking permissions for zimbra user
    3.2.Starting ldap from its directory as root
    4.RUnning zimfixperms from libexec
    ....
    None of this helped me.
    I guess my /etc/hosts and DNS configs have caused this issue.

    I am trying to install zcs for local use only. Hence created a zone with as 'localhost'.

    /etc/bind# cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    192.168.1.1 hostname.sbcglobal.net hostname

    # The following lines are desirable for IPv6 capable hosts
    ::1 localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts

    ******cat db.local
    ;
    ; BIND data file for local loopback interface
    ;
    $TTL 604800
    @ IN SOA mail.localhost. root.localhost. (
    5 ; Serial
    604800 ; Refresh
    86400 ; Retry
    2419200 ; Expire
    604800 ) ; Negative Cache TTL
    ;
    @ IN NS mail
    @ IN MX 10 mail
    @ IN A 127.0.0.1
    @ IN AAAA ::1
    mail IN A 127.0.0.1

    *************************
    :/etc/bind# dig localhost

    ; <<>> DiG 9.5.1-P2 <<>> localhost
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64685
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;localhost. IN A

    ;; ANSWER SECTION:
    localhost. 3600 IN A 127.0.0.1

    ;; Query time: 8 msec
    ;; SERVER: 68.94.156.1#53(68.94.156.1)
    ;; WHEN: Fri Sep 4 02:30:46 2009
    ;; MSG SIZE rcvd: 43

    *****************
    /etc/bind# dig localhost MX

    ; <<>> DiG 9.5.1-P2 <<>> localhost MX
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28290
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;localhost. IN MX

    ;; AUTHORITY SECTION:
    localhost. 3600 IN SOA localhost. postmaster.localhost. 2004052400 3600 1800 604800 3600

    ;; Query time: 8 msec
    ;; SERVER: 68.94.156.1#53(68.94.156.1)
    ;; WHEN: Fri Sep 4 02:31:26 2009
    ;; MSG SIZE rcvd: 74

    *****************************
    is it /etc/hosts? how do I know it is sbcglobal.net or something else?
    Is MX record causing this? how do I create a MX record for localhost?

    Please help me resolving this issue. Thanks in advance.
    Vasa

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    I am guessing scbglobal.net is not your own domain ? If not do you have one you can use ? Your A record and MX should be pointing to your server hostname and IP address 192.168.1.1.

  3. #3
    Join Date
    Jul 2009
    Posts
    16
    Rep Power
    6

    Default

    like in ....? How should my MX record look like?
    Yes, sbcglobal.net is not my domain.Its my ISP's name server.

    Please let know what should be MX record and 2nd line in /etc/hosts look like?

    (I did try many different options ,but none worked...

    Thanks in advance.

    Vasa

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    IN MX 10

    and you do not want to be using your ISPs domain name in your /etc/hosts!

  5. #5
    Join Date
    Jul 2009
    Posts
    16
    Rep Power
    6

    Default

    Thanks uxbod..I appreciate it.

    But that did not resolve my issue. Modified /etc/hosts
    ****************************************
    root@vsk:/etc# cat hosts
    127.0.0.1 localhost.localdomain localhost
    192.168.1.1 hostname hostname


    # The following lines are desirable for IPv6 capable hosts
    ::1 localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts

    ***********************************
    changed MX.........
    ; BIND data file for local loopback interface
    ;
    $TTL 604800
    @ IN SOA mail.localhost. root.localhost. (
    6 ; Serial
    604800 ; Refresh
    86400 ; Retry
    2419200 ; Expire
    604800 ) ; Negative Cache TTL
    ;
    @ IN NS mail
    @ IN MX 10
    @ IN A 127.0.0.1
    @ IN AAAA ::1
    mail IN A 127.0.0.1


    ***************************
    incremented the serial no. and restarted the bind9.
    Still not able to start slapd
    ************************************



    backend_startup_one: starting ""
    bdb_db_open:
    bdb_db_open: dbenv_open(/opt/zimbra/openldap-data)
    slapd starting
    daemon: listen(ldap://localhost:389/, 5) failed errno=98 (Address already in use)
    slapd shutdown: initiated
    ====> bdb_cache_release_all
    slapd destroy: freeing system resources.
    slapd stopped.

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    In the DNS you need to use the LAN IP address of your server not the loopback address. The hosts file should contain the following:

    Code:
    127.0.0.1 localhost.localdomain localhost
    192.168.1.1 hostname.yourdomain.com hostname
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    Join Date
    Jul 2009
    Posts
    16
    Rep Power
    6

    Default

    Thanks Bill , But how do I know my domain?

    Earlier I tried using my ISP's like sbcglobal.net but that did not help much.

    Please let know,

    Thanks,
    Vasa

  8. #8
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by vasa View Post
    Thanks Bill , But how do I know my domain?

    Earlier I tried using my ISP's like sbcglobal.net but that did not help much.
    You need a domain name so that mail will get delivered to your Zimbra server, don't you have one? If you don't then you need to purchase one, you'll also need a domain name set-up on your LAN DNS server - for that you'll need a Split DNS set-up.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    Join Date
    Jul 2009
    Posts
    16
    Rep Power
    6

    Default

    what about .local domain? how do I configure that?

    Please let know.

    Thanks,
    Vasa

  10. #10
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by vasa View Post
    what about .local domain? how do I configure that?
    You use the Split DNS article I mentioned earlier and set-up your local domain with the same name as your external domain name.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Similar Threads

  1. External LDAP auth failing in Multinode installation
    By premoddev in forum Installation
    Replies: 3
    Last Post: 07-13-2009, 07:57 AM
  2. [SOLVED] Installation fails at slapd
    By bluelaguna in forum Installation
    Replies: 28
    Last Post: 06-08-2009, 07:41 AM
  3. Zimbra won't start: slapd loglevel wildness
    By blackpuma in forum Administrators
    Replies: 6
    Last Post: 03-23-2009, 09:07 PM
  4. Installation Issues - SLES 10_Zimbra 5.0 Beta 3
    By rhartman in forum Installation
    Replies: 3
    Last Post: 01-14-2008, 07:18 AM
  5. Installation with Vista and Outlook 2003 failing
    By iain in forum Zimbra Connector for Outlook
    Replies: 3
    Last Post: 09-20-2007, 01:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •