Results 1 to 6 of 6

Thread: ldap not starting on development system

  1. #1
    SageMajor is offline Senior Member
    Join Date
    Dec 2008
    Location
    Orange County
    Posts
    65
    Rep Power
    6

    Default ldap not starting on development system

    I have installed zimbra on my laptop to do zimlet development without being connected to the internet.

    Ldap will not start. I do not have any type of MX record setup in our DNS servers, however I can run a local DNS on my laptop if needed to get things running.

    If it matters my zimlet will take the calendar and the populate data into our trouble ticket system.

    This is a network edition latest version Release 5.0.12_GA_2789.UBUNTU8

    %zmcontrol start
    Host localhost
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,469
    Rep Power
    56

    Default

    The easiest thing to do would be to install a DNS server and have correct A & MX records.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    SageMajor is offline Senior Member
    Join Date
    Dec 2008
    Location
    Orange County
    Posts
    65
    Rep Power
    6

    Default

    Quote Originally Posted by phoenix View Post
    The easiest thing to do would be to install a DNS server and have correct A & MX records.

    I set my laptop to look at the local dns 127.0.0.1


    sage@sage-laptop:~$ nslookup sage-laptop
    Server: 127.0.0.1
    Address: 127.0.0.1#53

    Name: sage-laptop.example.com
    Address: 127.0.0.1



    % dig sage-laptop.example.com

    ;; ANSWER SECTION:
    sage-laptop.example. 28800 IN A 127.0.0.1

    zimbra@sage-laptop:/home/sage$ zmcontrol start
    Host localhost
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.

    %ps -aef | grep -i slapd
    none running


    from example.com
    MX 10 mail2.example.com.
    MX 20 mail.example.com.
    MX 30 sage-laptop.example.com.
    sage-laptop A 127.0.0.1
    Last edited by SageMajor; 02-12-2009 at 02:43 AM.

  4. #4
    SageMajor is offline Senior Member
    Join Date
    Dec 2008
    Location
    Orange County
    Posts
    65
    Rep Power
    6

    Default

    I tried starting ldap directly and I get

    zimbra@sage-laptop:~/bin$ ./ldap
    ldap_url and ldap_master_url cannot be the same on an ldap replica

  5. #5
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,469
    Rep Power
    56

    Default

    It won't work using the loopback address, it needs a real fixed IP.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    SageMajor is offline Senior Member
    Join Date
    Dec 2008
    Location
    Orange County
    Posts
    65
    Rep Power
    6

    Default

    Ok, I set my eth0

    zimbra@sage-laptop:/home/sage$ ifconfig
    eth0 Link encap:Ethernet HWaddr 00:23:ae:00:8e:c1
    inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0

    zimbra@sage-laptop:/home/sage$ nslookup sage-laptop
    Server: 127.0.0.1
    Address: 127.0.0.1#53

    Name: sage-laptop.example.com
    Address: 192.168.1.3


    zimbra@sage-laptop:/home/sage$ /opt/zimbra/bin/ldap start
    ldap_url and ldap_master_url cannot be the same on an ldap replica

    I have both eth0 and wlan0 on this box. Wlan is dhcp set for internet access. eth0 will only work when I am at home and plugged in.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Installation zimbra Initializing ldap...failed. (28416)
    By farrukh.nadeem in forum Installation
    Replies: 10
    Last Post: 08-14-2009, 06:52 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. Replies: 8
    Last Post: 10-19-2008, 09:52 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. Zimbra on Debian?
    By omry_y in forum Installation
    Replies: 25
    Last Post: 11-04-2005, 11:36 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
  •