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 07-14-2009, 10:45 AM
New Member
 
Posts: 3
Default Installation on Ubuntu 8.04 - LDAP faliure 28160

Hi All,

This is my first post and it comes after the last 4 days of heavily trawling the forum and various howto guides! I think that is it due to a DNS problem thought i am not sure what side it is on... (I have set up another VM to act as a DNS for a test run of this)

The system is Ubuntu 8.04 LTS running inside and ESX 3 VM.

I have included various bits of info that i think might be useful from similar posts but if you need any more just let me know. I think that main thing that i dont really understand is the concepts of the DNS addressing side and as such cant really interpret what the commands like dig and nsloopup are telling me - if anyone happens to know a good guide for those that too would be handy!!

The error i am getting is :-

Operations logged to /tmp/zmsetup.07142009-181734.log
Setting defaults...

DNS ERROR resolving MX for eml.activitygb.com
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] y
Create Domain: [eml.activitygb.com] activitygb.com
MX: eml.activitygb.com (192.168.1.13)

Interface: 192.168.1.13
done.
Checking for port conflicts


Note

The previous configuration appears to have failed to complete

Attempt to complete configuration now? [yes] y
Save configuration data to a file? [Yes] y
Save config in file: [/opt/zimbra/config.5500] y
Saving config in y...done.
The system will be modified - continue? [No] y
Operations logged to /tmp/zmsetup.07142009-181734.log
Initializing ldap...failed. (28160)


ERROR



Configuration failed



cat /etc/hosts output is :-


127.0.0.1 localhost.localdomain localhost
192.169.1.13 eml.activitygb.com eml

# The following lines are desirable for IPv6 capable hosts
::1 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 /etc/resolv.conf output is


### BEGIN INFO
#
# Modified_by: NetworkManager
# Process: /usr/bin/NetworkManager
# Process_id: 4479
#
### END INFO



#nameserver 192.168.1.1
nameserver 192.168.1.8


dig activitygb.com mx

dig activitygb.com mx

; <<>> DiG 9.4.2-P2 <<>> activitygb.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63478
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2

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

;; ANSWER SECTION:
activitygb.com. 259200 IN MX 10 eml.activitygb.com.

;; AUTHORITY SECTION:
activitygb.com. 259200 IN NS ns.activitygb.com.

;; ADDITIONAL SECTION:
eml.activitygb.com. 259200 IN A 192.168.1.13
ns.activitygb.com. 259200 IN A 192.168.1.8

;; Query time: 23 msec
;; SERVER: 192.168.1.8#53(192.168.1.8)
;; WHEN: Tue Jul 14 18:38:29 2009
;; MSG SIZE rcvd: 101


dig activitygb.com any

; <<>> DiG 9.4.2-P2 <<>> activitygb.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17272
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 2

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

;; ANSWER SECTION:
activitygb.com. 259200 IN SOA ns.activitygb.com. admin.activitygb.com. 2007062001 28800 3600 604800 38400
activitygb.com. 259200 IN NS ns.activitygb.com.
activitygb.com. 259200 IN MX 10 eml.activitygb.com.

;; ADDITIONAL SECTION:
ns.activitygb.com. 259200 IN A 192.168.1.8
eml.activitygb.com. 259200 IN A 192.168.1.13

;; Query time: 61 msec
;; SERVER: 192.168.1.8#53(192.168.1.8)
;; WHEN: Tue Jul 14 18:39:06 2009
;; MSG SIZE rcvd: 143

host `hostname`
eml.activitygb.com has address 192.168.1.13


The LDAP error is

Tue Jul 14 18:18:23 2009 zimbra-ldap is enabled
Tue Jul 14 18:18:23 2009 Initializing ldap...
Tue Jul 14 18:18:23 2009 *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
IO::Socket::INET: connect: timeout at /opt/zimbra/libexec/zmldapinit line 160.
Tue Jul 14 18:21:06 2009 failed. (28160)
Tue Jul 14 18:21:06 2009

line 160 of /opt/zimbra/libexec/zmldapinit is :-

y $ldap = Net::LDAP->new("$ldap_master_url") or die "$@";

Sorry for such a beginners question, thanks for any help ya can provide.

Cheers,
Rob

oh the mail server i am trying to set up is 192.168.1.13 on the lan
the DNS that is set up is 192.168.1.8
Reply With Quote
  #2 (permalink)  
Old 07-14-2009, 10:58 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Check your hosts file, you've got a typing error for the IP address.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 07-14-2009, 12:02 PM
New Member
 
Posts: 3
Default

Quote:
Originally Posted by phoenix View Post
Check your hosts file, you've got a typing error for the IP address.
Have changed that now, silly typo! sadly that didnt resolve the issue (did a full uninstall, reboot then re-install). any other suggestions?

Cheers,
Rob
Reply With Quote
  #4 (permalink)  
Old 07-15-2009, 03:16 PM
New Member
 
Posts: 3
Default Closed

Ok i couldnt work out how to get around that particular problem so went with a new vm with Centos and Zimbra and that worked fine...

Cheers,
Rob
Reply With Quote
  #5 (permalink)  
Old 07-22-2009, 12:43 AM
Member
 
Posts: 12
Default

I'm got this problem too.
Please help
Reply With Quote
  #6 (permalink)  
Old 07-22-2009, 02:42 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by hoangkk View Post
I'm got this problem too.
Posting a 'me too' problem is not much help. You need to provide some diagnostic information about operating system, Zimbra version, error messages that you're getting and diagnostic information about your DNS etc.

This problem is mostly caused by you not having valid DNS A & MX records and/or no valid /etc/hosts file, search the forums as it's littered with examples of what the problem is and it's solution.
__________________
Regards


Bill

Last edited by phoenix; 09-20-2009 at 10:22 PM..
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.