While my post was awaiting moderation, I decided to delete and re-create the keystore. That got me farther, but zmmailboxdctl would still not start. The problem seemed to be the empty node in jetty.xml for direct buffers. I set that node's contents to
true in the 2 locations which it appeared, and the mailbox service
was able to start. Hooray!
However, now mailbox.log reveals these exceptions:
Code:
2010-05-05 23:27:42,794 INFO [main] [] im - Setting default XMPP domain to: zimbra01.mail02.codecrunchers.com
2010-05-05 23:27:43,669 WARN [main] [] im - Caught service exception getting local component list
com.zimbra.common.service.ServiceException: system failure: unable to list all servers
ExceptionId:main:1273116463660:0271085d7cbedf1c
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:248)
at com.zimbra.cs.account.ldap.LdapProvisioning.getAllXMPPComponents(LdapProvisioning.java:5724)
(Full stack trace omitted)
Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'cn=xmppcomponents,cn=zimbra'
....
2010-05-05 23:27:43,931 INFO [main] [] im - Started server (unencrypted) socket on port: 5269
2010-05-05 23:27:43,937 INFO [main] [] im - Started component (unencrypted) socket on port: 10015
2010-05-05 23:27:43,938 INFO [main] [] im - Started plain (unencrypted) socket on port: 5222
2010-05-05 23:27:43,939 INFO [main] [] im - Started SSL (encrypted) socket on port: 5223
2010-05-05 23:27:44,171 WARN [main] [] im - Caught ServiceExcepton trying to setup remote Disco handlers
com.zimbra.common.service.ServiceException: system failure: unable to list all servers
ExceptionId:main:1273116464170:0271085d7cbedf1c
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:248)
at com.zimbra.cs.account.ldap.LdapProvisioning.getAllXMPPComponents(LdapProvisioning.java:5724)
(Full stack trace omitted)
Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'cn=xmppcomponents,cn=zimbra'
.... (I can publish the full stack trace if need be).
The above are warnings, not erorrs, so I'm thinking the services should all start anyhow. And
I can't find anything else negative in any of my logs, but there is no listener on ports 4443 or 7071 (both configured in jetty.xml).
I haven't been able to find this issue reproduced in another forum/web page. The best I could find is that the LDAP password might not be correct, so I listed it using
zmlocalconfig -s ldap_root_password zimbra_ldap_password and then set it to that PW using
zmldappasswd -r <CORRECT_PASSWORD> and
zmldappasswd <CORRECT_PASSWORD>. (All Zimbra passwords are identical when enumerated from config, and I copied/pasted the password to zmldappasswd, double-checking it).
Of course I restarted Zimbra completely between each change.
I'm guessing that I'm missing part of an LDAP entry for xmppcomponents, though there is an entry in zimbra.ldif (complete file follows).
Code:
dn: cn=zimbra
objectclass: organizationalRole
description: Zimbra Systems Application Data
cn: zimbra
dn: cn=admins,cn=zimbra
objectclass: organizationalRole
description: admin accounts
cn: admins
dn: uid=zimbra,cn=admins,cn=zimbra
uid: zimbra
objectclass: zimbraAccount
objectclass: organizationalPerson
cn: zimbra
sn: zimbra
zimbraAccountStatus: active
zimbraIsAdminAccount: TRUE
zimbraIsSystemResource: TRUE
zimbraId: e0fafd89-1360-11d9-8661-000a95d98ef2
description: The master zimbra admin account
userPassword: {SSHA}<REDACTED>
dn: uid=zmreplica,cn=admins,cn=zimbra
uid: zmreplica
objectclass: zimbraAccount
objectclass: organizationalPerson
cn: zmreplica
sn: zmreplica
zimbraAccountStatus: active
zimbraIsSystemResource: TRUE
zimbraId: D020C0FE-4F5E-11DC-B033-C3A8E67A905E
description: The zimbra replication account
userPassword: {SSHA}<REDACTED>
dn: cn=appaccts,cn=zimbra
objectclass: organizationalRole
description: application accounts
cn: appaccts
dn: uid=zmnginx,cn=appaccts,cn=zimbra
uid: zmnginx
objectclass: zimbraAccount
objectclass: organizationalPerson
cn: zmnginx
sn: zmnginx
zimbraAccountStatus: active
zimbraIsAdminAccount: TRUE
zimbraIsSystemResource: TRUE
zimbraId: DA336C18-4F5E-11DC-8514-DCA8E67A905E
description: The zimbra nginx account
userPassword: {SSHA}<REDACTED>
dn: uid=zmpostfix,cn=appaccts,cn=zimbra
uid: zmpostfix
objectclass: zimbraAccount
objectclass: organizationalPerson
cn: zmpostfix
sn: zmpostfix
zimbraAccountStatus: active
zimbraIsSystemResource: TRUE
zimbraId: DA336C18-4F5E-11DC-8514-DCA8E67A905E
description: The zimbra postfix account
userPassword: {SSHA}<REDACTED>
dn: uid=zmamavis,cn=appaccts,cn=zimbra
uid: zmamavis
objectclass: zimbraAccount
objectclass: organizationalPerson
cn: zmamavis
sn: zmamavis
zimbraAccountStatus: active
zimbraIsSystemResource: TRUE
zimbraId: 12A0779A-88B6-11DC-AA4B-97F9DEB0B34E
description: The zimbra amavis account
userPassword: {SSHA}<REDACTED>
dn: cn=zimlets,cn=zimbra
objectclass: organizationalRole
cn: zimlets
description: for storing Zimlet configuration
dn: cn=cos,cn=zimbra
objectclass: organizationalRole
cn: cos
dn: cn=servers,cn=zimbra
objectclass: organizationalRole
cn: servers
dn: cn=xmppcomponents,cn=zimbra
objectclass: organizationalRole
cn: xmppcomponents
dn: cn=globalgrant,cn=zimbra
objectclass: zimbraAclTarget
description: acl target for global grants
cn: globalgrant I'm not even sure if that's relevant here -- my experience with LDAP in general is just about nil.
With services started, netstat shows:
Code:
zimbra@zimbra01 [~]# netstat -nlp |more
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 10.1.1.41:389 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:10663 0.0.0.0:* LISTEN 31000/zmlogger: zmr
tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN 1389/amavisd (maste
tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:7306 0.0.0.0:* LISTEN 31096/mysqld
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:971 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:3310 0.0.0.0:* LISTEN 1527/clamd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN -
tcp 0 0 10.1.1.41:53 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN -
tcp 0 0 :::7072 :::* LISTEN -
tcp 0 0 :::7777 :::* LISTEN -
tcp 0 0 :::7780 :::* LISTEN 1550/httpd
tcp 0 0 :::5222 :::* LISTEN -
tcp 0 0 :::5223 :::* LISTEN -
tcp 0 0 :::7335 :::* LISTEN -
tcp 0 0 :::110 :::* LISTEN -
tcp 0 0 :::143 :::* LISTEN -
tcp 0 0 :::7025 :::* LISTEN -
tcp 0 0 :::5269 :::* LISTEN -
tcp 0 0 :::53 :::* LISTEN -
tcp 0 0 :::22 :::* LISTEN -
tcp 0 0 ::1:953 :::* LISTEN -
tcp 0 0 :::10015 :::* LISTEN -
(UDP and UNIX socks omitted)
Any help would be most appreciated. Thanks for reading!