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

Thread: Zimbra Move to New Server - LDAP error

  1. #1
    nwhit is offline Junior Member
    Join Date
    Jul 2009
    Posts
    9
    Rep Power
    5

    Default Zimbra Move to New Server - LDAP error

    I have been working on moving Zimbra to a new server for a few days. The existing server is a CentOS 4 x86 server running:

    Release 5.0.9_GA_2533.RHEL4_20080814121143 CentOS4 FOSS edition

    I am trying to install on a CentOS 5 64bit server. I went through the steps according to the blog to do a install with the -s option, move the data, fix permissions and do a reinstall. When I try to reinstall, I get the following error:

    zmmtaconfig: gacf ERROR: service.FAILURE (system failure: unable to get config) (cause: javax.naming.AuthenticationException [LDAP: error code 49 - Invalid C
    redentials])

    After turning on logging on slapd, I find that it is reporting:

    Jul 22 10:13:32 mail slapd[32554]: conn=0 fd=12 ACCEPT from IP=192.168.1.2:43842 (IP=192.168.1.2:389)
    Jul 22 10:13:32 mail slapd[32554]: conn=0 op=0 STARTTLS
    Jul 22 10:13:32 mail slapd[32554]: conn=0 op=0 RESULT oid= err=0 text=
    Jul 22 10:13:33 mail slapd[32554]: conn=0 fd=12 TLS established tls_ssf=128 ssf=128
    Jul 22 10:13:33 mail slapd[32554]: conn=0 op=1 BIND dn="uid=zimbra,cn=admins,cn=zimbra" method=128
    Jul 22 10:13:33 mail slapd[32554]: conn=0 op=1 RESULT tag=97 err=49 text=
    Jul 22 10:13:33 mail slapd[32554]: conn=0 fd=12 closed (connection lost)

    The internal IP of the mail server has changed, but the name resolves correctly on the box. Is there an issue from going from 32bit to 64bit? I can't figure out why the LDAP server is reject the logins when all the configurations are exactly the same.

    Thanks for your help in advance,
    Nathan

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Welcome to the forums

    This will most likely be a DNS issue so please post the following
    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain mx
    dig yourdomain any
    host `hostname` <- note backticks and not single quotes

  3. #3
    nwhit is offline Junior Member
    Join Date
    Jul 2009
    Posts
    9
    Rep Power
    5

    Default

    Unfortunately, I have checked the DNS numerous times and not been able to resolve the issue. DNS appears to be completely authenticating correctly.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Please post in this thread all the information that you were asked to provide.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    How did you move the data ? Did you dump the LDAP database ?

  6. #6
    nwhit is offline Junior Member
    Join Date
    Jul 2009
    Posts
    9
    Rep Power
    5

    Default

    [root@mail zcs-5.0.9_GA_2533.RHEL5_64.20080815094512]# 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 asterisk2.7775555.net asterisk2
    192.168.1.2 mail.7775555.net mail
    [root@mail zcs-5.0.9_GA_2533.RHEL5_64.20080815094512]# cat /etc/resolv.conf
    ; generated by /sbin/dhclient-script
    search 7775555.net
    nameserver 127.0.0.1
    [root@mail zcs-5.0.9_GA_2533.RHEL5_64.20080815094512]# dig 7775555.net MX

    ; <<>> DiG 9.3.4-P1 <<>> 7775555.net MX
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50723
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

    ;; QUESTION SECTION:
    ;7775555.net. IN MX

    ;; ANSWER SECTION:
    7775555.net. 43200 IN MX 0 mail.7775555.net.

    ;; AUTHORITY SECTION:
    7775555.net. 43200 IN NS ns1.whittrio.com.
    7775555.net. 43200 IN NS stimulus.whittrio.com.

    ;; ADDITIONAL SECTION:
    mail.7775555.net. 43200 IN A 192.168.1.2
    ns1.whittrio.com. 118429 IN A 65.107.59.67

    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Wed Jul 22 15:02:39 2009
    ;; MSG SIZE rcvd: 135

    [root@mail zcs-5.0.9_GA_2533.RHEL5_64.20080815094512]# dig 7775555.net any

    ; <<>> DiG 9.3.4-P1 <<>> 7775555.net any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53058
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 2

    ;; QUESTION SECTION:
    ;7775555.net. IN ANY

    ;; ANSWER SECTION:
    7775555.net. 43200 IN SOA stimulus.whittrio.com. dnsmaster.7775555.net. 2009072201 10800 3600 2419200 604800
    7775555.net. 43200 IN NS stimulus.whittrio.com.
    7775555.net. 43200 IN NS ns1.whittrio.com.
    7775555.net. 43200 IN MX 0 mail.7775555.net.
    7775555.net. 43200 IN A 67.111.196.142

    ;; ADDITIONAL SECTION:
    ns1.whittrio.com. 118426 IN A 65.107.59.67
    mail.7775555.net. 43200 IN A 192.168.1.2

    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Wed Jul 22 15:02:42 2009
    ;; MSG SIZE rcvd: 197

    [root@mail zcs-5.0.9_GA_2533.RHEL5_64.20080815094512]# host `hostname`
    asterisk2.7775555.net has address 192.168.1.2
    [root@mail zcs-5.0.9_GA_2533.RHEL5_64.20080815094512]#

  7. #7
    nwhit is offline Junior Member
    Join Date
    Jul 2009
    Posts
    9
    Rep Power
    5

    Default

    I moved the entire zimbra folder to a new directory, as recommended in a few places. The hostname is exactly the same as the previous server.

  8. #8
    adeelarifbhatti is offline Advanced Member
    Join Date
    Feb 2009
    Posts
    188
    Rep Power
    6

    Post

    I am not sure what have you done earlier with the re-installation.

    I guess following have to be done.

    Install the zimbra with -s.
    Delete the /opt/zimbra
    restore the /opt/zimbra from the old server to this new one.
    Start the services.
    The previous CentOS 4 x8 is also 64bit, right?


    Regards
    Adeel

  9. #9
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Quote Originally Posted by nwhit View Post
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost asterisk2.7775555.net asterisk2
    192.168.1.2 mail.7775555.net mail
    Your host files is wrong! It should be like
    Code:
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    192.168.1.2     mail.7775555.net        mail

  10. #10
    adeelarifbhatti is offline Advanced Member
    Join Date
    Feb 2009
    Posts
    188
    Rep Power
    6

    Post

    Even MYSQL will have issue with that wrong hosts file.
    Regards
    Adeel

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. zmmailboxdctl is not running !!!!!!
    By olibite in forum Administrators
    Replies: 14
    Last Post: 04-28-2011, 05:50 AM
  2. Replies: 8
    Last Post: 01-20-2009, 01:06 PM
  3. Replies: 8
    Last Post: 08-07-2008, 05:18 AM
  4. zmtlsctl give LDAP error
    By sourcehound in forum Administrators
    Replies: 5
    Last Post: 03-11-2007, 03:48 PM
  5. Zimbra server crashed
    By goetzi in forum Administrators
    Replies: 6
    Last Post: 03-25-2006, 01:00 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
  •