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

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-18-2009, 09:44 AM
Special Member
 
Posts: 105
Cool [SOLVED] ldap error during zmcontrol start - server running

I have not been able to solve this. I am looking for some additional input. I have read all the articles and tried various things but just can't get this fixed.

When starting zimbra with "zmcontrol start" I see the following and get the

Host mail.domain.com
Starting ldap...Done.
Unable to determine enabled services from ldap.
Enabled services read from cache. Service list may be inaccurate.
Starting logger...Done.
Starting mailbox...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting snmp...Done.
Starting spell...Done.
Starting mta...Done.
Starting stats...Done.

Server is running fine, from what I can tell.
Reply With Quote
  #2 (permalink)  
Old 02-18-2009, 01:27 PM
Partner (VAR/HSP)
 
Posts: 425
Default

Might be an /etc/hosts or DNS issue.
Reply With Quote
  #3 (permalink)  
Old 02-18-2009, 01:43 PM
Moderator
 
Posts: 7,928
Default

Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes
__________________
Reply With Quote
  #4 (permalink)  
Old 02-19-2009, 05:09 AM
Special Member
 
Posts: 105
Default

This is the 5.010NE

Code:
[root@zagnut ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1	localhost.localdomain	localhost
::1	localhost6.localdomain6	localhost6

64.191.134.195 zagnut.storeitoffsite.com
Code:
[root@zagnut ~]# cat /etc/resolv.conf
search storeitoffsite.com
nameserver 72.250.168.75
nameserver 69.4.76.106
Code:
[root@zagnut ~]# dig storeitoffsite.com mx

; <<>> DiG 9.3.4-P1 <<>> storeitoffsite.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61256
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 4

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

;; ANSWER SECTION:
storeitoffsite.com.	7200	IN	MX	10 zagnut.storeitoffsite.com.

;; AUTHORITY SECTION:
storeitoffsite.com.	7200	IN	NS	ns2.storeitoffsite.com.
storeitoffsite.com.	7200	IN	NS	ns4.storeitoffsite.com.
storeitoffsite.com.	7200	IN	NS	ns1.storeitoffsite.com.

;; ADDITIONAL SECTION:
zagnut.storeitoffsite.com. 7200	IN	A	64.191.134.195
ns1.storeitoffsite.com.	7200	IN	A	72.250.168.75
ns2.storeitoffsite.com.	7200	IN	A	69.4.76.106
ns4.storeitoffsite.com.	7200	IN	A	64.191.134.195

;; Query time: 24 msec
;; SERVER: 72.250.168.75#53(72.250.168.75)
;; WHEN: Thu Feb 19 07:59:38 2009
;; MSG SIZE  rcvd: 177
Code:
[root@zagnut ~]# dig storeitoffsite.com any

; <<>> DiG 9.3.4-P1 <<>> storeitoffsite.com any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27975
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 4

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

;; ANSWER SECTION:
storeitoffsite.com.	7200	IN	SOA	ns4.storeitoffsite.com. admin.storeitoffsite.com. 2008121601 3600 1800 604800 7200
storeitoffsite.com.	7200	IN	NS	ns2.storeitoffsite.com.
storeitoffsite.com.	7200	IN	NS	ns4.storeitoffsite.com.
storeitoffsite.com.	7200	IN	NS	ns1.storeitoffsite.com.
storeitoffsite.com.	7200	IN	A	72.250.168.91
storeitoffsite.com.	7200	IN	MX	10 zagnut.storeitoffsite.com.

;; ADDITIONAL SECTION:
ns1.storeitoffsite.com.	7200	IN	A	72.250.168.75
ns2.storeitoffsite.com.	7200	IN	A	69.4.76.106
ns4.storeitoffsite.com.	7200	IN	A	64.191.134.195
zagnut.storeitoffsite.com. 7200	IN	A	64.191.134.195

;; Query time: 1 msec
;; SERVER: 72.250.168.75#53(72.250.168.75)
;; WHEN: Thu Feb 19 08:00:14 2009
;; MSG SIZE  rcvd: 235
Code:
[root@zagnut ~]# host zagnut.storeitoffsite.com
zagnut.storeitoffsite.com has address 64.191.134.195

Last edited by phoenix; 02-19-2009 at 05:21 AM..
Reply With Quote
  #5 (permalink)  
Old 02-19-2009, 05:17 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Your hosts file is incorrect, this:


Code:
64.191.134.195 zagnut.storeitoffsite.com
should read:


Code:
64.191.134.195 zagnut.storeitoffsite.com zagnut
The last command you ran is incorrect, it should read exactly the following:

Code:
host `hostname`  <-- backticks not single quotes
Please post the output of that command.
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 02-19-2009, 05:30 AM
Special Member
 
Posts: 105
Default

[root@zagnut ~]# host `zagnut.storeitoffsite.com`
-bash: zagnut.storeitoffsite.com: command not found
Usage: host [-aCdlriTwv] [-c class] [-N ndots] [-t type] [-W time]
[-R number] hostname [server]
-a is equivalent to -v -t *
-c specifies query class for non-IN data
-C compares SOA records on authoritative nameservers
-d is equivalent to -v
-l lists all hosts in a domain, using AXFR
-i IP6.INT reverse lookups
-N changes the number of dots allowed before root lookup is done
-r disables recursive processing
-R specifies number of retries for UDP packets
-t specifies the query type
-T enables TCP/IP mode
-v enables verbose output
-w specifies to wait forever for a reply
-W specifies how long to wait for a reply
-4 use IPv4 query transport only
-6 use IPv6 query transport only
-s a SERVFAIL response should stop query
Reply With Quote
  #7 (permalink)  
Old 02-19-2009, 06:53 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

You're missing the point of the following command:

Code:
host `hostname`
It should be typed exactly as you see it here (or copy/paste), do NOT put the FQDN of your server in it.

Did you also fix your hosts file? Is there any firewall on this server (I'm assuming there is)?
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 02-19-2009, 07:12 AM
Special Member
 
Posts: 105
Default

yes, I fixed the hostfile and will test it shortly.


[root@zagnut ~]# host `hostname`
zagnut.storeitoffsite.com has address 64.191.134.195
Reply With Quote
  #9 (permalink)  
Old 02-19-2009, 07:16 AM
Special Member
 
Posts: 105
Default

And yes there is a firewall with the iptables configuration as indicated in the zimbra wiki

-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 53 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp -m state --state NEW -m udp --dport 53 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp -m state --state NEW -m udp --dport 161 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 443 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 25 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 110 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 143 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 389 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 465 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 636 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 993 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 995 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 7071 -j ACCEPT
Reply With Quote
  #10 (permalink)  
Old 02-19-2009, 09:33 AM
Special Member
 
Posts: 105
Default

I zmcontrol stop then zmcontrol start... same message
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.