Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-11-2009, 11:43 PM
Senior Member
 
Posts: 51
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.
Reply With Quote
  #2 (permalink)  
Old 02-12-2009, 12:47 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

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


Bill
Reply With Quote
  #3 (permalink)  
Old 02-12-2009, 01:40 AM
Senior Member
 
Posts: 51
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 01:43 AM..
Reply With Quote
  #4 (permalink)  
Old 02-12-2009, 01:54 PM
Senior Member
 
Posts: 51
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
Reply With Quote
  #5 (permalink)  
Old 02-13-2009, 01:18 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

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


Bill
Reply With Quote
  #6 (permalink)  
Old 02-13-2009, 04:20 AM
Senior Member
 
Posts: 51
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.