Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: [SOLVED] ldap error during zmcontrol start - server running

  1. #1
    Join Date
    Sep 2007
    Location
    Lexington, KY, USA
    Posts
    110
    Rep Power
    8

    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.

  2. #2
    Join Date
    May 2008
    Posts
    432
    Rep Power
    7

    Default

    Might be an /etc/hosts or DNS issue.

  3. #3
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain mx
    dig yourdomain any
    host `hostname` <- note backticks and not single quotes

  4. #4
    Join Date
    Sep 2007
    Location
    Lexington, KY, USA
    Posts
    110
    Rep Power
    8

    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 06:21 AM.

  5. #5
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    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


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    Join Date
    Sep 2007
    Location
    Lexington, KY, USA
    Posts
    110
    Rep Power
    8

    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

  7. #7
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    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


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    Join Date
    Sep 2007
    Location
    Lexington, KY, USA
    Posts
    110
    Rep Power
    8

    Default

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


    [root@zagnut ~]# host `hostname`
    zagnut.storeitoffsite.com has address 64.191.134.195

  9. #9
    Join Date
    Sep 2007
    Location
    Lexington, KY, USA
    Posts
    110
    Rep Power
    8

    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

  10. #10
    Join Date
    Sep 2007
    Location
    Lexington, KY, USA
    Posts
    110
    Rep Power
    8

    Default

    I zmcontrol stop then zmcontrol start... same message

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 01:42 AM
  2. [SOLVED] Why my MTA Cross???
    By fsloke in forum Installation
    Replies: 6
    Last Post: 07-30-2008, 09:55 PM
  3. Can't seem to get global in BES
    By sdemeyer in forum Zimbra Connector for BlackBerry
    Replies: 12
    Last Post: 03-19-2008, 09:22 AM
  4. 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
  5. Replies: 4
    Last Post: 11-14-2007, 02:19 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
  •