Results 1 to 5 of 5

Thread: [SOLVED] problem install ldap replication server

  1. #1
    petree is offline New Member
    Join Date
    Oct 2009
    Posts
    3
    Rep Power
    5

    Default [SOLVED] problem install ldap replication server

    Hello,

    I have one server Release 5.0.13_GA_2791.UBUNTU8 UBUNTU8 FOSS edition up and running fine.
    I want to install a second one as a backup mail server. I have some problems with setting up this one as a ldap replication server.
    I tried to install zimbra:
    zcs-5.0.19_GA_3083.UBUNTU8.20090918145829
    zcs-6.0.1_GA_1816.UBUNTU8.20090911174852
    but without success even that I've followed all steps from Configuring LDAP Replication

    on master server replication is enabled.
    host, dns I think all are ok

    ldap pass = ok

    the errors received: on ver. 5
    Adding mail2.mydomain.com to zimbraMailHostPool in default COS...ERROR: service.FAILURE (system failure: unable to lookup server by name: mail2.mydomain.com message: [LDAP: error code 49 - Invalid Credentials]) (cause: javax.naming.AuthenticationException [LDAP: error code 49 - Invalid Credentials])
    ERROR: service.FAILURE (system failure: unable to lookup COS by name: default message: [LDAP: error code 49 - Invalid Credentials]) (cause: javax.naming.AuthenticationException [LDAP: error code 49 - Invalid Credentials])

    Setting up syslog.conf...ERROR: service.FAILURE (system failure: unable to get config) (cause: javax.naming.AuthenticationException [LDAP: error code 49 - Invalid Credentials])

    it seems a ldap config problems. where can I take a look?

    please help!
    thank you

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

    Default

    Quote Originally Posted by petree View Post
    Hello,

    I have one server Release 5.0.13_GA_2791.UBUNTU8 UBUNTU8 FOSS edition up and running fine.
    I want to install a second one as a backup mail server. I have some problems with setting up this one as a ldap replication server.
    I tried to install zimbra:
    zcs-5.0.19_GA_3083.UBUNTU8.20090918145829
    zcs-6.0.1_GA_1816.UBUNTU8.20090911174852
    but without success even that I've followed all steps from Configuring LDAP Replication

    on master server replication is enabled.
    host, dns I think all are ok

    ldap pass = ok

    the errors received: on ver. 5
    Adding mail2.mydomain.com to zimbraMailHostPool in default COS...ERROR: service.FAILURE (system failure: unable to lookup server by name: mail2.mydomain.com message: [LDAP: error code 49 - Invalid Credentials]) (cause: javax.naming.AuthenticationException [LDAP: error code 49 - Invalid Credentials])
    ERROR: service.FAILURE (system failure: unable to lookup COS by name: default message: [LDAP: error code 49 - Invalid Credentials]) (cause: javax.naming.AuthenticationException [LDAP: error code 49 - Invalid Credentials])

    Setting up syslog.conf...ERROR: service.FAILURE (system failure: unable to get config) (cause: javax.naming.AuthenticationException [LDAP: error code 49 - Invalid Credentials])

    it seems a ldap config problems. where can I take a look?
    Those two statements seems to contradict each other, you also can't use the backup server as an LDAP replica. A backup mail server is a discrete entity that receives mail when the primary server goes down, it is not a clone of your main server. Give some more detailed description of what, exactly, you're trying to do.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    petree is offline New Member
    Join Date
    Oct 2009
    Posts
    3
    Rep Power
    5

    Default ldap replication problem

    wow, thank you for this very quick reply.

    I want to receive e-mails on both server and to have users sync on them.
    and in case that the first one goes down users could work with the second srv.

    on second server: mail2.mydomain.com

    cat /etc/hosts
    127.0.0.1 localhost
    192.168.105.101 mail2.mydomain.com mail2

    cat /etc/bind/db.mydomain.com
    ;
    ; Addresses and other host information.
    ;
    @ IN SOA mydomain.com. admin.mydomain.com. (
    10124 ; Serial
    43200 ; Refresh
    3600 ; Retry
    3600000 ; Expire
    2592000 ) ; Minimum
    ; Define the nameservers and the mail servers
    IN NS 192.168.105.101
    IN A 192.168.105.100
    IN A 192.168.105.101
    mail2.mydomain.com. IN MX 0 mail2.mydomain.com.
    IN MX 0 mail2.mydomain.com.
    IN MX 0 mydomain.com.
    mail2 IN A 192.168.105.101
    mydomain.com IN A 192.168.105.100

    the first server's hostname is mydomain.com
    the second: mail2.mydomain.com

    thank you

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

    Default

    Quote Originally Posted by petree View Post
    wow, thank you for this very quick reply.

    I want to receive e-mails on both server and to have users sync on them.
    and in case that the first one goes down users could work with the second srv.
    Except what you're trying to do isn't possible in the way that you're doing i, as I said above a backup MX server will just receive mail when the primary server goes offline it isn't a HA solution.. If you want a High Availability solution then that's only available with the Network Edition and then only Red Hat Cluster Services. You can do something similar with the OSS version, search the forums (and/or the wiki) for 'HA', 'High Availability' 'DRBD' - all or some combination of those words will get you some threads that detail what others have done.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    petree is offline New Member
    Join Date
    Oct 2009
    Posts
    3
    Rep Power
    5

    Default thanks

    thanks, I found something interesting..
    Zimbra 6 – Cluster HA avec Heartbeat et DRBD
    Blog Archive Zimbra 6 – Cluster HA avec Heartbeat et DRBD

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Promoting/Demoting LDAP Server Problem
    By jant0y in forum Administrators
    Replies: 3
    Last Post: 04-21-2009, 12:57 AM
  2. Erorr..initializing ldap failed(5362)
    By Logan_filter in forum Installation
    Replies: 10
    Last Post: 12-19-2008, 01:10 PM
  3. Fresh Zimbra installation does not work
    By Datax in forum Installation
    Replies: 4
    Last Post: 08-18-2008, 01:18 PM
  4. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 10:34 PM
  5. Replies: 6
    Last Post: 09-13-2005, 01:09 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
  •