| Welcome to the Zimbra :: Forums! | |
Welcome, if you would like to post a comment please register.
We also encourage you to explore all things Zimbra with our team and members of the community.
|  | | 
12-04-2010, 12:42 AM
| | | [SOLVED] Unable to determine enabled services from ldap. (et al) I had an issue that I thought was resolved, but the server runs anywhere from 10 minutes to 2 hours and then goes bananas. http://www.zimbra.com/forums/install...-they-all.html
Running ZCS since 5.0.something and never had issues like this and no posts that I read could help me fix it. Found many similar ones, but people don't tend to post the fixes once they get it sorted. After a machine reboot:
zmcontrol status Quote:
sh: line 1: 12218 Aborted /opt/zimbra/bin/zmprov -l gs mail.true.co.za 2> /dev/null
Unable to determine enabled services from ldap.
Enabled services read from cache. Service list may be inaccurate.
| Minute or 2 later Code: zmcontrol status
Host mail.true.co.za
antispam Running
antivirus Running
imapproxy Running
ldap Running
logger Running
mailbox Running
memcached Running
mta Running
snmp Running
spell Running
stats Running Then after an few minutes or so:
[zimbra@mail root]$ zmcontrol status Code: Host mail.true.co.za
antispam Running
antivirus Running
imapproxy Running
ldap Running
logger Running
mailbox Stopped
zmmailboxdctl is not running.
memcached Running
mta Running
snmp Running
spell Running
stats Running I tried split DNS at first, but now running DNS straight off Internet. Code: [zimbra@mail root]$ hostname
mail.true.co.za Code: [zimbra@mail root]$ hostname -f
mail.true.co.za Code: [zimbra@mail root]$ 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
196.36.9.147 mail.true.co.za mail
::1 localhost6.localdomain6 localhost6
[zimbra@mail root]$ dig mx true.co.za
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> mx true.co.za
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49768
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;true.co.za. IN MX
;; ANSWER SECTION:
true.co.za. 537 IN MX 10 mail.true.co.za.
;; ADDITIONAL SECTION:
mail.true.co.za. 537 IN A 196.36.9.147
;; Query time: 412 msec
;; SERVER: 168.210.2.2#53(168.210.2.2)
;; WHEN: Sat Dec 4 10:31:43 2010
;; MSG SIZE rcvd: 65 Code: [zimbra@mail root]$ dig any true.co.za
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> any true.co.za
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57190
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 4
;; QUESTION SECTION:
;true.co.za. IN ANY
;; ANSWER SECTION:
true.co.za. 530 IN NS jupiter.is.co.za.
true.co.za. 530 IN NS demeter.is.co.za.
true.co.za. 530 IN NS titan.is.co.za.
true.co.za. 530 IN MX 10 mail.true.co.za.
;; ADDITIONAL SECTION:
demeter.is.co.za. 86395 IN A 196.26.5.8
titan.is.co.za. 86395 IN A 196.33.171.36
jupiter.is.co.za. 86395 IN A 196.4.160.3
mail.true.co.za. 530 IN A 196.36.9.147
;; Query time: 437 msec
;; SERVER: 168.210.2.2#53(168.210.2.2)
;; WHEN: Sat Dec 4 10:31:51 2010
;; MSG SIZE rcvd: 180 Code: [zimbra@mail root]$ dig mail.true.co.za
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> mail.true.co.za
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16363
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;mail.true.co.za. IN A
;; ANSWER SECTION:
mail.true.co.za. 520 IN A 196.36.9.147
;; Query time: 657 msec
;; SERVER: 168.210.2.2#53(168.210.2.2)
;; WHEN: Sat Dec 4 10:32:01 2010
;; MSG SIZE rcvd: 49 Code: [zimbra@mail root]$ 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
196.36.9.147 mail.true.co.za mail
::1 localhost6.localdomain6 localhost6 Code: [zimbra@mail root]$ host `hostname`
mail.true.co.za has address 196.36.9.147 Code: cat /etc/resolv.conf
search true.co.za
nameserver 168.210.2.2 Getting into a crises situation now. (Have been for long, but I was in denial)
Ekkas | 
12-04-2010, 12:50 AM
| | | zimbra.log has this (true.co.za and truewan.co.za are domains hosted on the server) Quote:
Dec 4 10:48:10 mail postfix/lmtp[9871]: 39BCA5CC0123: to=, relay=mail.true.co.za[196.36.9.147]:7025, delay=593, delays=591/0.85/0.14/0.97, dsn=4.4.2, status=deferred (lost connection with mail.true.co.za[196.36.9.147] while sending end of data -- message may be sent more than once)
Dec 4 10:48:10 mail postfix/lmtp[9706]: B757E5CC0174: to=, relay=mail.true.co.za[196.36.9.147]:7025, delay=4662, delays=4660/0.78/0.09/1.1, dsn=4.4.2, status=deferred (lost connection with mail.true.co.za[196.36.9.147] while sending end of data -- message may be sent more than once)
Dec 4 10:48:10 mail postfix/lmtp[9721]: 4C3935CC0104: to=, relay=mail.true.co.za[196.36.9.147]:7025, delay=4690, delays=4688/0.88/0.14/0.93, dsn=4.4.2, status=deferred (lost connection with mail.true.co.za[196.36.9.147] while sending end of data -- message may be sent more than once)
Dec 4 10:48:10 mail postfix/lmtp[9852]: 30FB55CC0124: to=, relay=mail.true.co.za[196.36.9.147]:7025, delay=4662, delays=4660/0.76/0.08/1.1, dsn=4.4.2, status=deferred (lost connection with mail.true.co.za[196.36.9.147] while sending end of data -- message may be sent more than once)
| Some other stuff: Quote:
Dec 4 10:48:07 mail postfix/postfix-script[9557]: warning: not owned by root: /opt/zimbra/data/postfix/spool
Dec 4 10:48:07 mail postfix/postfix-script[9587]: warning: not owned by root: /opt/zimbra/postfix-2.6.7.2z/conf/main.cf
Dec 4 10:48:07 mail postfix/postfix-script[9595]: warning: not owned by root: /opt/zimbra/postfix-2.6.7.2z/conf/master.cf
Dec 4 10:48:07 mail postfix/postfix-script[9600]: warning: not owned by root: /opt/zimbra/postfix-2.6.7.2z/conf/master.cf.in
Dec 4 10:48:07 mail postfix/postfix-script[9613]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/unix.smtp
Dec 4 10:48:07 mail postfix/postfix-script[9617]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/unix.retry
Dec 4 10:48:07 mail postfix/postfix-script[9619]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/unix.trace
Dec 4 10:48:07 mail postfix/postfix-script[9622]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/unix.bounce
Dec 4 10:48:07 mail postfix/postfix-script[9625]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/inet.465
Dec 4 10:48:07 mail postfix/postfix-script[9629]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/unix.error
Dec 4 10:48:07 mail postfix/postfix-script[9631]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/inet.submission
| Quote:
Dec 4 10:53:24 mail zimbramon[3181]: 3181:info: zmmtaconfig: Skipping All Reverse Proxy Backends update.
Dec 4 10:53:24 mail zimbramon[3181]: 3181:info: zmmtaconfig: Skipping getAllReverseProxyBackends Exception in thread "main" java.lang.NoSuchMethodError: java.util.zip.ZipFile$ZipFileInputStream.posJ at java.util.zip.ZipFile$ZipFileInputStream.(ZipFile.java:427) at java.util.zip.ZipFile.getInputStream(ZipFile.java: 200) at java.util.zip.ZipFile.getInputStream(ZipFile.java: 180) at java.util.jar.JarFile.getInputStream(JarFile.java: 385) at sun.misc.URLClassPath$JarLoader$2.getInputStream(U RLClassPath.java:692) at sun.misc.Resource.cachedInputStream(Resource.java: 61) at sun.misc.Resource.getByteBuffer(Resource.java:144) at java.net.URLClassLoader.defineClass(URLClassLoader .java:256) at java.net.URLClassLoader.access$000(URLClassLoader. java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java: 197) at java.securi:::F44373EA-FF83-11DF-9EBD-D755F75918F8:::
Dec 4 10:53:24 mail zimbramon[3181]: :::F44373EA-FF83-11DF-9EBD-D755F75918F8:::ty.AccessController.doPrivileged(Na tive Method) at java.net.URLClassLoader.findClass(URLClassLoader.j ava:190) at sun.misc.Launcher$ExtClassLoader.findClass(Launche r.java:229) at java.lang.ClassLoader.loadClass(ClassLoader.java:3 07) at java.lang.ClassLoader.loadClass(ClassLoader.java:2 48) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at com.zimbra.cs.account.Provisioning.getInstance(Pro visioning.java:261) at com.zimbra.cs.account.ProvUtil.initProvisioning(Pr ovUtil.java:659) at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java: 2946)
Dec 4 10:53:34 mail postfix/smtpd[11442]: timeout after END-OF-MESSAGE from localhost.localdomain[127.0.0.1]
Dec 4 10:53:34 mail postfix/smtpd[11442]: disconnect from localhost.localdomain[127.0.0.1]
Dec 4 10:53:36 mail zimbramon[3181]: 3181:info: zmmtaconfig: Sleeping...Key lookup failed.
| | 
12-04-2010, 12:54 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,316
| | Is this a single server and if it is, why do you have the proxy installed and running?
__________________
Regards
Bill
| 
12-04-2010, 01:29 AM
| | | And from mysql_error.log: Quote:
InnoDB: Page may be an index page where index id is 0 960
InnoDB: (index PRIMARY of table mboxgroup26/mail_item)
InnoDB: Database page corruption on disk or a failed
InnoDB: file read of page 51.
InnoDB: You may have to recover from a backup.
InnoDB: It is also possible that your operating
InnoDB: system has corrupted its own file cache
InnoDB: and rebooting your computer removes the
InnoDB: error.
InnoDB: If the corrupt page is an index page
InnoDB: you can also try to fix the corruption
InnoDB: by dumping, dropping, and reimporting
InnoDB: the corrupt table. You can use CHECK
InnoDB: TABLE to scan your table for corruption.
InnoDB: See also InnoDB: MySQL :: MySQL 5.0 Reference Manual :: 13.2.6.2 Forcing InnoDB Recovery
InnoDB: about forcing recovery.
InnoDB: Ending processing because of a corrupt database page.
| Trying this: Mysql Crash Recovery - Zimbra :: Wiki
and we'll see how long it holds together... | 
12-04-2010, 01:31 AM
| | | Thanks for the reply. Quote: |
Is this a single server and if it is, why do you have the proxy installed and running?
| I initially installed it (running long time like this), I know now it wasn't needed. :-) noobness
But that shouldn't be a problem, should it? | 
12-04-2010, 03:17 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,316
| | Quote:
Originally Posted by ekkas But that shouldn't be a problem, should it? | Yes, it can be a problem and should never be installed on a single server. Go through the following steps to check what's installed and remove/reset it:
Check if the proxy is installed/running: Code: zmproxyctl status
zmprov gs `zmhostname` | grep zimbraServiceEnabled
zmprov gs `zmhostname` | grep zimbraServiceInstalled If it's in, then run this: Code: zmproxyctl stop
zmprov ms `zmhostname` -zimbraServiceEnabled imapproxy
zmprov ms `zmhostname` -zimbraServiceEnabled memcached
zmcontrol stop
zmcontrol start To reset the ports run the following (on one line): Code: zmprov -l ms `zmhostname` zimbraPop3BindPort 110 zimbraPop3SSLBindPort 995 zimbraPop3ProxyBindPort 7110 zimbraPop3SSLProxyBindPort 7995 zimbraImapBindPort 143 zimbraImapSSLBindPort 993 zimbraImapProxyBindPort 7143 zimbraImapSSLProxyBindPort 7993 then restart and see if your problem goes away.
__________________
Regards
Bill
| 
12-04-2010, 03:53 AM
| | | Think it was MySQL corrupt tables that was causing it. After MySQL recovery (above) it is running fine for about 2 hours now. Seems like heaven. :-)
But I'll remove the proxy in any case.
What does MemCached do? Is that o.k. on a single server?
Ekkas
Edit: I removed both proxy and MemCached as outlined above. Thanks.
Will see how it goes...
Last edited by ekkas; 12-04-2010 at 04:01 AM..
| 
12-04-2010, 03:56 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,316
| | Quote:
Originally Posted by ekkas But I'll remove the proxy in any case.
What does MemCached do? Is that o.k. on a single server?
Ekkas | You should remove memcached as well.
__________________
Regards
Bill
| 
12-04-2010, 05:18 AM
| | | Quote: |
You should remove memcached as well.
| Yes, I did on your recommendation. | 
12-04-2010, 05:55 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,316
| | Quote:
Originally Posted by ekkas Yes, I did on your recommendation. | OK, let us know how your server holds up. Here's the answer to your previous question (sorry, I forgot this link): Memcached - Wikipedia, the free encyclopedia
__________________
Regards
Bill
| | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |