Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Changed IP & hostname, ldap errors (dns OK)

  1. #1
    carlsanders is offline Active Member
    Join Date
    Mar 2008
    Posts
    40
    Rep Power
    7

    Default Changed IP & hostname, ldap errors (dns OK)

    OK, as the title says, I've changed the IP and hostname of my
    Zimbra according to instructions I've found around here.

    DNS is just fine, as is the mx record.

    I've done tons of searches and done every trick I can find, but
    I am *always* getting:

    "Unable to determine enabled services from ldap."

    I've removed the cache, stopped, rebooted, started several times,
    but I can't get past this.

    I'm zimbra log shows:

    "Jul 6 11:31:39 orion zimbramon[5864]: 5864:info: Starting services initiated by zmcontrol
    Jul 6 11:31:40 orion slapd[5927]: @(#) $OpenLDAP: slapd 2.3.43 (Apr 13 2009 10:53:12) $ build@build20.lab.zimbra.com:/home/build/p4/FRANKLIN/ThirdParty/openldap/openldap-2.3.43.8z/servers/slapd
    Jul 6 11:31:41 orion slapd[5928]: slapd starting
    Jul 6 11:32:04 orion zimbramon[5963]: 5963:info: 2009-07-06 11:32:02, STATUS: : Cannot: determine services - exiting "

    So, that's not a help.

    I've removed the cache according to one thread around here.

    Any suggestions? I'm really stumped.

    THANKS in advance!

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

    Default

    Post the output of the following commands run on the zimbra server:

    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain.com any
    dig yourdomain.com mx
    host `hostname`  <-- use that exact command with backticks not single quotes.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    carlsanders is offline Active Member
    Join Date
    Mar 2008
    Posts
    40
    Rep Power
    7

    Default

    Here you go:
    Code:
    [zimbra@orion ~]$ 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
    70.169.165.181		orion.maingalaxy.com orion mailhost
    Code:
    [zimbra@orion ~]$ cat /etc/resolv.conf
    lookup file bind
    domain maingalaxy.com
    nameserver 70.169.165.178
    Code:
    [zimbra@orion ~]$ dig maingalaxy.com any
    
    ; <<>> DiG 9.4.2 <<>> maingalaxy.com any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50173
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;maingalaxy.com.			IN	ANY
    
    ;; ANSWER SECTION:
    maingalaxy.com.		600	IN	SOA	maya.maingalaxy.com. root.maya.maingalaxy.com. 2009070602 3600 900 2592000 3600
    maingalaxy.com.		600	IN	NS	maya.maingalaxy.com.
    maingalaxy.com.		600	IN	MX	10 orion.maingalaxy.com.
    
    ;; ADDITIONAL SECTION:
    maya.maingalaxy.com.	600	IN	A	70.169.165.179
    orion.maingalaxy.com.	600	IN	A	70.169.165.181
    
    ;; Query time: 3 msec
    ;; SERVER: 70.169.165.178#53(70.169.165.178)
    ;; WHEN: Mon Jul  6 11:38:14 2009
    ;; MSG SIZE  rcvd: 146
    Code:
    [zimbra@orion ~]$ dig maingalaxy.com mx
    
    ; <<>> DiG 9.4.2 <<>> maingalaxy.com mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50956
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;maingalaxy.com.			IN	MX
    
    ;; ANSWER SECTION:
    maingalaxy.com.		600	IN	MX	10 orion.maingalaxy.com.
    
    ;; AUTHORITY SECTION:
    maingalaxy.com.		600	IN	NS	maya.maingalaxy.com.
    
    ;; ADDITIONAL SECTION:
    orion.maingalaxy.com.	600	IN	A	70.169.165.181
    maya.maingalaxy.com.	600	IN	A	70.169.165.179
    
    ;; Query time: 1 msec
    ;; SERVER: 70.169.165.178#53(70.169.165.178)
    ;; WHEN: Mon Jul  6 11:38:37 2009
    ;; MSG SIZE  rcvd: 105
    Code:
    [zimbra@orion ~]$ host `hostname`
    orion.maingalaxy.com has address 70.169.165.181
    [zimbra@orion ~]$
    Last edited by phoenix; 07-06-2009 at 09:17 AM.

  4. #4
    carlsanders is offline Active Member
    Join Date
    Mar 2008
    Posts
    40
    Rep Power
    7

    Default

    Also, some more info:

    [zimbra@orion ~]$ zmlocalconfig ldap_master_url ldap_url zimbra_server_hostname
    ldap_master_url = ldap://orion.maingalaxy.com:389
    ldap_url = ldap://orion.maingalaxy.com:389
    zimbra_server_hostname = orion.maingalaxy.com

  5. #5
    carlsanders is offline Active Member
    Join Date
    Mar 2008
    Posts
    40
    Rep Power
    7

    Default

    yet more info:

    amavisd.conf: hostname => [ split (' ','ldap://orion.maingalaxy.com:389') ],
    amavisd.conf:$mydomain = 'orion.maingalaxy.com'; # a convenient default for other settings
    amavisd.conf:$virus_admin = 'admin@orion.maingalaxy.com'; # notifications recip.
    amavisd.conf:$mailfrom_notify_admin = 'admin@orion.maingalaxy.com'; # notifications sender
    amavisd.conf:$mailfrom_notify_recip = 'admin@orion.maingalaxy.com'; # notifications sender
    amavisd.conf:$mailfrom_notify_spamadmin = 'admin@orion.maingalaxy.com'; # notifications sender
    amavisd.conf:$myhostname = 'orion.maingalaxy.com'; # must be a fully-qualified domain name!
    ldap-scm.cf:server_host = ldap://orion.maingalaxy.com:389
    ldap-transport.cf:server_host = ldap://orion.maingalaxy.com:389
    ldap-vad.cf:server_host = ldap://orion.maingalaxy.com:389
    ldap-vam.cf:server_host = ldap://orion.maingalaxy.com:389
    ldap-vmd.cf:server_host = ldap://orion.maingalaxy.com:389
    ldap-vmm.cf:server_host = ldap://orion.maingalaxy.com:389
    localconfig.xml: ldap://orion.maingalaxy.com:389
    localconfig.xml: admin@orion.maingalaxy.com
    localconfig.xml: orion.maingalaxy.com
    localconfig.xml: admin@orion.maingalaxy.com
    localconfig.xml: ldap://orion.maingalaxy.com:389
    localconfig.xml: admin@orion.maingalaxy.com
    localconfig.xml: orion.maingalaxy.com
    localconfig.xml: orion.maingalaxy.com
    localconfig.xml: orion.maingalaxy.com
    swatchrcerlcode 0 my $fr='admin@orion.maingalaxy.com';
    swatchrcerlcode 0 my $pwc='admin@orion.maingalaxy.com';
    swatchrcerlcode 0 my $hostname="orion.maingalaxy.com";
    zmssl.cnf:commonName_default = orion.maingalaxy.com

  6. #6
    carlsanders is offline Active Member
    Join Date
    Mar 2008
    Posts
    40
    Rep Power
    7

    Default

    Yet more info...

    I ran from /opt/zimbra, find . -exec grep -ls "eve.inside" {}\; | more
    and came up with a couple of files that are still listing the old
    hostname (which was "eve.inside.maingalaxy.com")...

    ./openldap-data/id2entry.bdb
    ./openldap-data/ldap.bak
    ./openldap-data/__db.002
    ./openldap-data/dn2id.bdb

    So, I think I have some corrupt ldap data, correct?
    How do I flush this without killing my users and so forth?

  7. #7
    veronica is offline Outstanding Member
    Join Date
    Jun 2008
    Posts
    594
    Rep Power
    8

    Default

    i should presume you ran zmsetservername right ?

  8. #8
    carlsanders is offline Active Member
    Join Date
    Mar 2008
    Posts
    40
    Rep Power
    7

    Default

    Yes, I ran that.

    I think I'm looking at a corrupt database and am going to run this:

    [SOLVED] LDAP / slapd - Database environment corrupt (Issue & Solution)

  9. #9
    carlsanders is offline Active Member
    Join Date
    Mar 2008
    Posts
    40
    Rep Power
    7

    Default

    Nah, didn't fix a thing. Sigh.

  10. #10
    veronica is offline Outstanding Member
    Join Date
    Jun 2008
    Posts
    594
    Rep Power
    8

    Default

    zimbra.log doesnt give any usefull information ?

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Round robin DNS, and external ldap auth.
    By NathanL in forum Installation
    Replies: 0
    Last Post: 05-07-2009, 12:45 PM
  2. LDAP crashing and DNS issues causing many deferred emails.
    By chamber42000 in forum Administrators
    Replies: 1
    Last Post: 07-14-2008, 08:33 AM
  3. Replies: 15
    Last Post: 04-14-2008, 12:29 PM
  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. Mac OSX install: Java errors & LDAP CA error
    By jefbear in forum Installation
    Replies: 9
    Last Post: 12-16-2006, 03:39 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
  •