Не запускается ldap - не удается корректно завершить установку, не стартуют службы
устанавливаю зимбру и не могу корректно завершить установку, в логе установки появляются вот такие ошибки
[collapse]Fri Dec 27 18:03:34 2013 This is the ldap master and ldap hasn't been configured yet.
//
Fri Dec 27 18:04:54 2013 done.
Fri Dec 27 18:04:54 2013 checking isEnabled zimbra-ldap
Fri Dec 27 18:04:54 2013 zimbra-ldap is enabled
Fri Dec 27 18:04:54 2013 Initializing ldap...
Fri Dec 27 18:04:54 2013 *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
Fri Dec 27 18:05:09 2013 done.
Fri Dec 27 18:05:09 2013 Setting replication password...
Fri Dec 27 18:05:09 2013 *** Running as zimbra user: /opt/zimbra/bin/zmldappasswd
Updating local config and LDAP
Fri Dec 27 18:05:13 2013 done.
Fri Dec 27 18:05:13 2013 Setting Postfix password...
Fri Dec 27 18:05:13 2013 *** Running as zimbra user: /opt/zimbra/bin/zmldappasswd
Updating local config and LDAP
Fri Dec 27 18:05:17 2013 done.
Fri Dec 27 18:05:17 2013 Setting amavis password...
Fri Dec 27 18:05:17 2013 *** Running as zimbra user: /opt/zimbra/bin/zmldappasswd
Updating local config and LDAP
Fri Dec 27 18:05:21 2013 done.
Fri Dec 27 18:05:21 2013 Setting nginx password...
Fri Dec 27 18:05:21 2013 *** Running as zimbra user: /opt/zimbra/bin/zmldappasswd
Updating local config and LDAP
Fri Dec 27 18:05:26 2013 done.
Fri Dec 27 18:05:26 2013 Creating server entry for mail.stabilnost.in...
Fri Dec 27 18:05:29 2013 [] INFO: master is down, falling back to replica...
[] FATAL: failed to initialize LDAP client
com.zimbra.cs.ldap.LdapException: LDAP error: : An error occurred while attempting to connect to server mail.stabilnost.in:389$
ExceptionId:main:1388153129415:68718b5bb4847d8d
Code:ldap.LDAP_ERROR
at com.zimbra.cs.ldap.LdapException.LDAP_ERROR(LdapException.java:88)
at com.zimbra.cs.ldap.unboundid.UBIDLdapException.mapToLdapException(UBIDLdapException.java:72)
at com.zimbra.cs.ldap.unboundid.UBIDLdapException.mapToLdapException(UBIDLdapException.java:38)
at com.zimbra.cs.ldap.unboundid.LdapConnectionPool.createConnPool(LdapConnectionPool.java:117)
at com.zimbra.cs.ldap.unboundid.LdapConnectionPool.createConnectionPool(LdapConnectionPool.java:64)
at com.zimbra.cs.ldap.unboundid.UBIDLdapContext.init(UBIDLdapContext.java:99)
at com.zimbra.cs.ldap.unboundid.UBIDLdapClient.init(UBIDLdapClient.java:37)
at com.zimbra.cs.ldap.LdapClient.getInstance(LdapClient.java:63)
at com.zimbra.cs.ldap.LdapClient.initialize(LdapClient.java:86)
at com.zimbra.cs.account.ldap.LdapProv.<init>(LdapProv.java:46)
at com.zimbra.cs.account.ldap.LdapProv.<init>(LdapProv.java:46)
at com.zimbra.cs.account.ldap.LdapProvisioning.<init>(LdapProvisioning.java:257)
at com.zimbra.cs.account.ldap.LdapProvisioning.<init>(LdapProvisioning.java:254)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:374)
at com.zimbra.cs.account.Provisioning.getInstance(Provisioning.java:281)
at com.zimbra.cs.account.Provisioning.getInstance(Provisioning.java:238)
at com.zimbra.cs.account.ProvUtil.initProvisioning(ProvUtil.java:799)
at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java:3581)
Caused by: LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server $
at com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:741)
at com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:675)
at com.unboundid.ldap.sdk.LDAPConnection.<init>(LDAPConnection.java:507)
at com.unboundid.ldap.sdk.SingleServerSet.getConnection(SingleServerSet.java:229)
at com.unboundid.ldap.sdk.ServerSet.getConnection(ServerSet.java:98)
at com.unboundid.ldap.sdk.LDAPConnectionPool.createConnection(LDAPConnectionPool.java:616)
at com.unboundid.ldap.sdk.LDAPConnectionPool.<init>(LDAPConnectionPool.java:562)
at com.zimbra.cs.ldap.unboundid.LdapConnectionPool.createConnPool(LdapConnectionPool.java:113)
... 17 more
[/collapse]
не могу понять в чем дело, опыт успешной установки зимбры уже был, в этот раз какие то проблемы.
настройки сервака
[collapse]
[root@mail ~]# hostname
mail.stabilnost.in
[root@mail ~]# cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search stabilnost.in
nameserver 192.168.1.1
[root@mail ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost6 localhost6.localdomain6
81.23.150.173 mail.stabilnost.in mail
192.168.1.6 mail.stabilnost.in mail
## IPv6
#::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
[root@mail ~]# dig stabilnost.in any
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6_4.6 <<>> stabilnost.in any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23076
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;stabilnost.in. IN ANY
;; ANSWER SECTION:
stabilnost.in. 0 IN MX 10 mail.stabilnost.in.
;; ADDITIONAL SECTION:
mail.stabilnost.in. 0 IN A 192.168.1.6
;; Query time: 1 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Fri Dec 27 18:25:08 2013
;; MSG SIZE rcvd: 81
[root@mail ~]# dig @8.8.8.8 stabilnost.in any
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6_4.6 <<>> @8.8.8.8 stabilnost.in any
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28222
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;stabilnost.in. IN ANY
;; ANSWER SECTION:
stabilnost.in. 21600 IN SOA ns1.jino.ru. hostmaster.jino.ru. 2013121601 16384 2048 1048576 25600
stabilnost.in. 10800 IN NS ns1.jino.ru.
stabilnost.in. 10800 IN NS ns2.jino.ru.
stabilnost.in. 10800 IN MX 5 mail.stabilnost.in.
stabilnost.in. 10800 IN A 81.23.150.173
;; Query time: 106 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Fri Dec 27 18:25:29 2013
;; MSG SIZE rcvd: 158
[/collapse]
[collapse]Fri Dec 27 18:03:34 2013 This is the ldap master and ldap hasn't been configured yet.
//
Fri Dec 27 18:04:54 2013 done.
Fri Dec 27 18:04:54 2013 checking isEnabled zimbra-ldap
Fri Dec 27 18:04:54 2013 zimbra-ldap is enabled
Fri Dec 27 18:04:54 2013 Initializing ldap...
Fri Dec 27 18:04:54 2013 *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
Fri Dec 27 18:05:09 2013 done.
Fri Dec 27 18:05:09 2013 Setting replication password...
Fri Dec 27 18:05:09 2013 *** Running as zimbra user: /opt/zimbra/bin/zmldappasswd
Updating local config and LDAP
Fri Dec 27 18:05:13 2013 done.
Fri Dec 27 18:05:13 2013 Setting Postfix password...
Fri Dec 27 18:05:13 2013 *** Running as zimbra user: /opt/zimbra/bin/zmldappasswd
Updating local config and LDAP
Fri Dec 27 18:05:17 2013 done.
Fri Dec 27 18:05:17 2013 Setting amavis password...
Fri Dec 27 18:05:17 2013 *** Running as zimbra user: /opt/zimbra/bin/zmldappasswd
Updating local config and LDAP
Fri Dec 27 18:05:21 2013 done.
Fri Dec 27 18:05:21 2013 Setting nginx password...
Fri Dec 27 18:05:21 2013 *** Running as zimbra user: /opt/zimbra/bin/zmldappasswd
Updating local config and LDAP
Fri Dec 27 18:05:26 2013 done.
Fri Dec 27 18:05:26 2013 Creating server entry for mail.stabilnost.in...
Fri Dec 27 18:05:29 2013 [] INFO: master is down, falling back to replica...
[] FATAL: failed to initialize LDAP client
com.zimbra.cs.ldap.LdapException: LDAP error: : An error occurred while attempting to connect to server mail.stabilnost.in:389$
ExceptionId:main:1388153129415:68718b5bb4847d8d
Code:ldap.LDAP_ERROR
at com.zimbra.cs.ldap.LdapException.LDAP_ERROR(LdapException.java:88)
at com.zimbra.cs.ldap.unboundid.UBIDLdapException.mapToLdapException(UBIDLdapException.java:72)
at com.zimbra.cs.ldap.unboundid.UBIDLdapException.mapToLdapException(UBIDLdapException.java:38)
at com.zimbra.cs.ldap.unboundid.LdapConnectionPool.createConnPool(LdapConnectionPool.java:117)
at com.zimbra.cs.ldap.unboundid.LdapConnectionPool.createConnectionPool(LdapConnectionPool.java:64)
at com.zimbra.cs.ldap.unboundid.UBIDLdapContext.init(UBIDLdapContext.java:99)
at com.zimbra.cs.ldap.unboundid.UBIDLdapClient.init(UBIDLdapClient.java:37)
at com.zimbra.cs.ldap.LdapClient.getInstance(LdapClient.java:63)
at com.zimbra.cs.ldap.LdapClient.initialize(LdapClient.java:86)
at com.zimbra.cs.account.ldap.LdapProv.<init>(LdapProv.java:46)
at com.zimbra.cs.account.ldap.LdapProv.<init>(LdapProv.java:46)
at com.zimbra.cs.account.ldap.LdapProvisioning.<init>(LdapProvisioning.java:257)
at com.zimbra.cs.account.ldap.LdapProvisioning.<init>(LdapProvisioning.java:254)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:374)
at com.zimbra.cs.account.Provisioning.getInstance(Provisioning.java:281)
at com.zimbra.cs.account.Provisioning.getInstance(Provisioning.java:238)
at com.zimbra.cs.account.ProvUtil.initProvisioning(ProvUtil.java:799)
at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java:3581)
Caused by: LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server $
at com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:741)
at com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:675)
at com.unboundid.ldap.sdk.LDAPConnection.<init>(LDAPConnection.java:507)
at com.unboundid.ldap.sdk.SingleServerSet.getConnection(SingleServerSet.java:229)
at com.unboundid.ldap.sdk.ServerSet.getConnection(ServerSet.java:98)
at com.unboundid.ldap.sdk.LDAPConnectionPool.createConnection(LDAPConnectionPool.java:616)
at com.unboundid.ldap.sdk.LDAPConnectionPool.<init>(LDAPConnectionPool.java:562)
at com.zimbra.cs.ldap.unboundid.LdapConnectionPool.createConnPool(LdapConnectionPool.java:113)
... 17 more
[/collapse]
не могу понять в чем дело, опыт успешной установки зимбры уже был, в этот раз какие то проблемы.
настройки сервака
[collapse]
[root@mail ~]# hostname
mail.stabilnost.in
[root@mail ~]# cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search stabilnost.in
nameserver 192.168.1.1
[root@mail ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost6 localhost6.localdomain6
81.23.150.173 mail.stabilnost.in mail
192.168.1.6 mail.stabilnost.in mail
## IPv6
#::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
[root@mail ~]# dig stabilnost.in any
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6_4.6 <<>> stabilnost.in any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23076
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;stabilnost.in. IN ANY
;; ANSWER SECTION:
stabilnost.in. 0 IN MX 10 mail.stabilnost.in.
;; ADDITIONAL SECTION:
mail.stabilnost.in. 0 IN A 192.168.1.6
;; Query time: 1 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Fri Dec 27 18:25:08 2013
;; MSG SIZE rcvd: 81
[root@mail ~]# dig @8.8.8.8 stabilnost.in any
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6_4.6 <<>> @8.8.8.8 stabilnost.in any
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28222
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;stabilnost.in. IN ANY
;; ANSWER SECTION:
stabilnost.in. 21600 IN SOA ns1.jino.ru. hostmaster.jino.ru. 2013121601 16384 2048 1048576 25600
stabilnost.in. 10800 IN NS ns1.jino.ru.
stabilnost.in. 10800 IN NS ns2.jino.ru.
stabilnost.in. 10800 IN MX 5 mail.stabilnost.in.
stabilnost.in. 10800 IN A 81.23.150.173
;; Query time: 106 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Fri Dec 27 18:25:29 2013
;; MSG SIZE rcvd: 158
[/collapse]
Комментарии
30/12/2013 - 08:28
17/01/2014 - 09:11