Results 1 to 3 of 3

Thread: IPv6 Only - doesn't quite work... (breaks at LDAP)

  1. #1
    Join Date
    Jun 2007
    Posts
    14
    Rep Power
    8

    Default IPv6 Only - doesn't quite work... (breaks at LDAP)

    Ok so I have a brand new machine with debian Lenny (5.0.2) and downloaded ZCS Community Edition.

    My Network config is this:

    Code:
    # ip a ls
    1: lo:  mtu 16436 qdisc noqueue state UNKNOWN 
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
        inet 127.0.0.1/8 scope host lo
        inet6 ::1/128 scope host 
           valid_lft forever preferred_lft forever
    2: eth0:  mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
        link/ether 52:54:00:29:c1:ff brd ff:ff:ff:ff:ff:ff
    3: eth1:  mtu 1500 qdisc pfifo_fast state UP qlen 1000
        link/ether 52:54:00:65:80:a8 brd ff:ff:ff:ff:ff:ff
        inet6 2a01:198:483:0:5054:ff:fe65:80a8/64 scope global dynamic 
           valid_lft 2591800sec preferred_lft 604600sec
        inet6 fe80::5054:ff:fe65:80a8/64 scope link 
           valid_lft forever preferred_lft forever
    Code:
    # cat /etc/hosts
    127.0.0.1	localhost
    2a01:198:483:0:5054:ff:fe65:80a8 zimbra6.localdomain zimbra6
    
    # 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

    meaning I'm trying to get it running with only IPv6 connectivity. After installing the dependencies and starting the install.sh script it breaks at the LDAP step:

    Code:
    *** CONFIGURATION COMPLETE - press 'a' to apply
    Select from menu, or press 'a' to apply config (? - help) a
    Save configuration data to a file? [Yes] 
    Save config in file: [/opt/zimbra/config.10160] 
    Saving config in /opt/zimbra/config.10160...done.
    The system will be modified - continue? [No] yes
    Operations logged to /tmp/zmsetup.09092009-132952.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
    I have a feeling that slapd is choking on the v6 address as /var/log/syslog tells me:

    Code:
    Sep  9 16:10:08 zimbra6 slapd[16722]: @(#) $OpenLDAP: slapd 2.4.17 (Aug  2 2009 17:09:01) $#012#011root@build32.lab.zimbra.com:/home/build/p4/main/ThirdParty/openldap/openldap-2.4.17.8z/servers/slapd
    Sep  9 16:10:48 zimbra6 slapd[16722]: daemon: getaddrinfo() failed: Name or service not known
    Sep  9 16:10:48 zimbra6 slapd[16722]: slapd stopped.
    Sep  9 16:10:48 zimbra6 slapd[16722]: connections_destroy: nothing to destroy.
    according to openldap 2.4 should be v6 capable

    any hints?

  2. #2
    Join Date
    Jun 2007
    Posts
    14
    Rep Power
    8

    Default

    To answer my own question:

    Code:
    # pgrep -lf slap
    18393 /opt/zimbra/openldap/sbin/slapd -l LOCAL0 -4 -u zimbra -h ldap://zimbra6.localdomain:389 ldapi:/// -F /opt/zimbra/data/ldap/config
    Why is slapd started with "-4" to make it listen on IPv4 only? Is there a reason for that?

    EDIT: I'm asking this because I specifically do NOT want public IPv4 addresses

  3. #3
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    Default

    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. LDAP Cannot bind on migration to new server
    By neekster in forum Migration
    Replies: 23
    Last Post: 03-09-2009, 02:08 AM
  2. upgrading from 5.0.4 to 5.0.5 opensource
    By smoke in forum Installation
    Replies: 4
    Last Post: 10-19-2008, 10:38 AM
  3. Problem with Ldap Replica on Etch - Zimbra OSS 5.0 GA
    By Thanakorn in forum Installation
    Replies: 11
    Last Post: 01-03-2008, 10:09 AM
  4. Upgrading from 4.5.6 to 4.5.9: LDAP error
    By smcgrath1111 in forum Installation
    Replies: 17
    Last Post: 12-06-2007, 10:15 AM
  5. trouble getting ldap to work
    By milprog in forum Installation
    Replies: 2
    Last Post: 01-13-2006, 04:34 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
  •