| 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.
|  | 
11-03-2009, 02:58 AM
| | | [SOLVED] [Help] zmmailboxdctl is not running Dear All,
Please Help, after I reboot my server, I have some problem. Code:
[zimbra@mail root]$ zmcontrol status
Host mail.multigroup.asia
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Stopped
zmmailboxdctl is not running.
mta Running
snmp Running
spell Running
stats Running Code: [zimbra@mail root]$ zmcontrol -v
Release 6.0.1_GA_1816.RHEL5_20090911181524 CentOS5 FOSS edition. Code: [zimbra@mail root]$ hostname
mail.multigroup.asia Code: [zimbra@mail root]$ dig mx multigroup.asia
; <<>> DiG 9.3.4-P1 <<>> mx multigroup.asia
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36935
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;multigroup.asia. IN MX
;; ANSWER SECTION:
multigroup.asia. 38400 IN MX 1 mail.multigroup.asia.
;; AUTHORITY SECTION:
multigroup.asia. 38400 IN NS mail.multigroup.asia.
;; ADDITIONAL SECTION:
mail.multigroup.asia. 38400 IN A 117.102.96.123
;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Nov 3 16:41:25 2009
;; MSG SIZE rcvd: 84 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
117.102.96.123 mail.multigroup.asia mail
::1 localhost6.localdomain6 localhost6 Code: [zimbra@mail root]$ cat /etc/resolv.conf
search multigroup.asia
nameserver localhost Code: [zimbra@mail root]$ tail -100 /var/log/zimbra.log
Nov 3 16:38:19 mail clamd[8783]: Loaded 641915 signatures.
Nov 3 16:38:19 mail clamd[8783]: TCP: Bound to port 3310
Nov 3 16:38:19 mail clamd[8783]: TCP: Setting connection queue length to 15
Nov 3 16:38:19 mail clamd[8788]: Limits: Global size limit set to 10240000 bytes.
Nov 3 16:38:19 mail clamd[8788]: Limits: File size limit set to 10240000 bytes.
Nov 3 16:38:19 mail clamd[8788]: Limits: Recursion level limit set to 16.
Nov 3 16:38:19 mail clamd[8788]: Limits: Files limit set to 10000.
Nov 3 16:38:19 mail clamd[8788]: Archive support enabled.
Nov 3 16:38:19 mail clamd[8788]: Archive: Blocking encrypted archives.
Nov 3 16:38:19 mail clamd[8788]: Algorithmic detection enabled.
Nov 3 16:38:19 mail clamd[8788]: Portable Executable support enabled.
Nov 3 16:38:19 mail clamd[8788]: ELF support enabled.
Nov 3 16:38:19 mail clamd[8788]: Mail files support enabled.
Nov 3 16:38:19 mail clamd[8788]: OLE2 support enabled.
Nov 3 16:38:19 mail clamd[8788]: PDF support enabled.
Nov 3 16:38:19 mail clamd[8788]: HTML support enabled.
Nov 3 16:38:19 mail clamd[8788]: Self checking every 600 seconds.
Nov 3 16:38:23 mail zimbramon[4183]: 4183:info: Starting snmp via zmcontrol
Nov 3 16:38:23 mail zimbramon[4183]: 4183:info: Starting spell via zmcontrol
Nov 3 16:38:23 mail zimbramon[4183]: 4183:info: Starting mta via zmcontrol
Nov 3 16:38:51 mail postfix/postfix-script[10116]: warning: not owned by root: /opt/zimbra/data/postfix/spool
Nov 3 16:38:51 mail postfix/postfix-script[10123]: warning: not owned by root: /opt/zimbra/postfix-2.6.2.2z/conf/main.cf
Nov 3 16:38:51 mail postfix/postfix-script[10124]: warning: not owned by root: /opt/zimbra/postfix-2.6.2.2z/conf/master.cf
Nov 3 16:38:51 mail postfix/postfix-script[10125]: warning: not owned by root: /opt/zimbra/postfix-2.6.2.2z/conf/master.cf.in
Nov 3 16:38:51 mail postfix/postfix-script[10128]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/unix.smtp
Nov 3 16:38:52 mail postfix/postfix-script[10129]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/unix.cleanup
Nov 3 16:38:52 mail postfix/postfix-script[10130]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/inet.smtp
Nov 3 16:38:52 mail postfix/postfix-script[10131]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/unix.defer
Nov 3 16:38:52 mail postfix/postfix-script[10132]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/unix.smtp-amavis
Nov 3 16:38:52 mail postfix/postfix-script[10133]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/master.pid
Nov 3 16:38:52 mail postfix/postfix-script[10134]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/inet.127.0.0.1:10025
Nov 3 16:38:52 mail postfix/postfix-script[10135]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/unix.showq
Nov 3 16:38:52 mail postfix/postfix-script[10136]: warning: not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/unix.lmtp
Nov 3 16:38:52 mail postfix/postfix-script[10148]: starting the Postfix mail system
Nov 3 16:38:52 mail postfix/master[10149]: daemon started -- version 2.6.2, configuration /opt/zimbra/postfix-2.6.2.2z/conf
Nov 3 16:38:52 mail saslauthd[10157]: detach_tty : master pid is: 10157
Nov 3 16:38:52 mail saslauthd[10157]: ipc_init : listening on socket: /opt/zimbra/cyrus-sasl-2.1.23.3z/state/mux
Nov 3 16:38:52 mail zimbramon[4183]: 4183:info: Starting stats via zmcontrol
Nov 3 16:39:08 mail zmmailboxdmgr[11593]: status requested
Nov 3 16:39:08 mail zmmailboxdmgr[11593]: stale pid 8638 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
Nov 3 16:39:08 mail zmmailboxdmgr[11593]: assuming no other instance is running
Nov 3 16:39:08 mail zmmailboxdmgr[11593]: file /opt/zimbra/log/zmmailboxd.pid does not exist
Nov 3 16:39:08 mail zmmailboxdmgr[11593]: assuming no other instance is running
Nov 3 16:39:08 mail zmmailboxdmgr[11593]: no manager process is running
Nov 3 16:39:27 mail zmmailboxdmgr[12538]: status requested
Nov 3 16:39:27 mail zmmailboxdmgr[12538]: stale pid 8638 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
Nov 3 16:39:27 mail zmmailboxdmgr[12538]: assuming no other instance is running
Nov 3 16:39:27 mail zmmailboxdmgr[12538]: file /opt/zimbra/log/zmmailboxd.pid does not exist
Nov 3 16:39:27 mail zmmailboxdmgr[12538]: assuming no other instance is running
Nov 3 16:39:27 mail zmmailboxdmgr[12538]: no manager process is running
Nov 3 16:39:27 mail zmmailboxdmgr[12606]: status requested
Nov 3 16:39:27 mail zmmailboxdmgr[12606]: stale pid 8638 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process Code: [zimbra@mail root]$ netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN
tcp 0 0 117.102.96.123:389 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN
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
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3310 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN
tcp 0 0 117.102.96.123:53 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 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 127.0.0.1:2207 0.0.0.0:* LISTEN
tcp 0 0 :::7780 :::* LISTEN
tcp 0 0 :::22 :::* LISTEN
tcp 0 0 ::1:953 :::* LISTEN
tcp 0 0 ::1:43800 ::1:43430 TIME_WAIT
tcp 0 0 ::1:40198 ::1:46303 TIME_WAIT
tcp 0 0 ::1:57276 ::1:33613 TIME_WAIT
tcp 0 0 ::1:57635 ::1:35193 TIME_WAIT
tcp 0 0 ::1:54749 ::1:45932 TIME_WAIT
tcp 0 0 ::1:37440 ::1:52574 TIME_WAIT
tcp 0 2376 ::ffff:117.102.96.123:22 ::ffff:117.102.96.125:51444 ESTABLISHED
udp 0 0 0.0.0.0:10000 0.0.0.0:*
udp 0 0 0.0.0.0:45101 0.0.0.0:*
udp 0 0 117.102.96.123:53 0.0.0.0:*
udp 0 0 127.0.0.1:53 0.0.0.0:*
udp 0 0 0.0.0.0:53333 0.0.0.0:*
udp 0 0 0.0.0.0:987 0.0.0.0:*
udp 0 0 0.0.0.0:990 0.0.0.0:*
udp 0 0 0.0.0.0:5353 0.0.0.0:*
udp 0 0 0.0.0.0:111 0.0.0.0:*
udp 0 0 0.0.0.0:631 0.0.0.0:*
udp 0 0 :::41749 :::*
udp 0 0 :::56762 :::*
udp 0 0 :::5353 :::* Code: [zimbra@mail root]$ tail -100 /opt/zimbra/log/zmmailboxd.out
Heap
par new generation total 344704K, used 30651K [0x4e570000, 0x65b70000, 0x65b70000)
eden space 306432K, 10% used [0x4e570000, 0x5035ee20, 0x610b0000)
from space 38272K, 0% used [0x610b0000, 0x610b0000, 0x63610000)
to space 38272K, 0% used [0x63610000, 0x63610000, 0x65b70000)
concurrent mark-sweep generation total 1152000K, used 0K [0x65b70000, 0xac070000, 0xac170000)
concurrent-mark-sweep perm gen total 131072K, used 6379K [0xac170000, 0xb4170000, 0xb4170000)
CompilerOracle: exclude com/zimbra/cs/session/SessionMap.putAndPrune
CompilerOracle: exclude com/zimbra/cs/mailbox/MailItem.delete
CompilerOracle: exclude org/apache/xerces/impl/XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
0 INFO [main] log - Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
Total time for which application threads were stopped: 0.0001660 seconds
Total time for which application threads were stopped: 0.0001350 seconds
Zimbra server reserving server socket port=110 bindaddr=null ssl=false
Zimbra server reserving server socket port=995 bindaddr=null ssl=true
Zimbra server reserving server socket port=143 bindaddr=null ssl=false
Zimbra server reserving server socket port=993 bindaddr=null ssl=true
Fatal error: exception while binding to ports
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at com.zimbra.common.util.NetUtil.newBoundServerSocket(NetUtil.java:104)
at com.zimbra.common.util.NetUtil.bindServerSocket(NetUtil.java:163)
at com.zimbra.common.util.NetUtil.bindSslTcpServerSocket(NetUtil.java:54)
at com.zimbra.common.handlers.PrivilegedHandler.openPorts(PrivilegedHandler.java:110)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mortbay.xml.XmlConfiguration.call(XmlConfiguration.java:542)
at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:252)
at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:214)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:974)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mortbay.start.Main.invokeMain(Main.java:194)
at org.mortbay.start.Main.start(Main.java:523)
at org.mortbay.start.Main.main(Main.java:119)
Heap
par new generation total 344704K, used 30651K [0x4e630000, 0x65c30000, 0x65c30000)
eden space 306432K, 10% used [0x4e630000, 0x5041edb0, 0x61170000)
from space 38272K, 0% used [0x61170000, 0x61170000, 0x636d0000)
to space 38272K, 0% used [0x636d0000, 0x636d0000, 0x65c30000)
concurrent mark-sweep generation total 1152000K, used 0K [0x65c30000, 0xac130000, 0xac230000)
concurrent-mark-sweep perm gen total 131072K, used 6380K [0xac230000, 0xb4230000, 0xb4230000) Code: [root@mail ~]# nmap localhost
Starting Nmap 4.11 ( Nmap - Free Security Scanner For Network Exploration & Security Audits. ) at 2009-11-03 16:49 WIT
Interesting ports on localhost.localdomain (127.0.0.1):
Not shown: 1670 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
111/tcp open rpcbind
465/tcp open smtps
587/tcp open submission
631/tcp open ipp
953/tcp open rndc
993/tcp open imaps
10000/tcp open snet-sensor-mgmt
Nmap finished: 1 IP address (1 host up) scanned in 0.102 seconds Code: [root@mail ~]# nmap mail.multigroup.asia
Starting Nmap 4.11 ( Nmap - Free Security Scanner For Network Exploration & Security Audits. ) at 2009-11-03 16:50 WIT
Interesting ports on mail.multigroup.asia (117.102.96.123):
Not shown: 1671 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
111/tcp open rpcbind
389/tcp open ldap
465/tcp open smtps
587/tcp open submission
993/tcp open imaps
10000/tcp open snet-sensor-mgmt
Nmap finished: 1 IP address (1 host up) scanned in 0.100 seconds
Last edited by phoenix; 11-03-2009 at 04:39 AM..
| 
11-03-2009, 04:41 AM
| | Zimbra Consultant & Moderator | |
Posts: 19,639
| | Quote:
Originally Posted by arjendra Fatal error: exception while binding to ports
java.net.BindException: Address already in use | You have another mail server running on that port, shutdown Zimbra and kill any remaining processes then stop the mail server and disable it from starting. When you've done that restart Zimbra.
__________________
Regards
Bill
| 
11-03-2009, 08:09 PM
| | | Thanks Dear Bill.
Thanks for good advice.
I did the following steps:
1. [root@mail ~]# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN 2736/hpiod
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 2505/rpc.statd
2. Kill process rpc.statd, that running at port 993
3. Stop services netfs ( which may cause the process rpc.stad running )
4. zmcontrol stop & zmcontrol start
Binggo, my zimbra server running back.
5. Reboot server, to test whether the problem comes back
My zimbra server still running
6. [root@mail ~]# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN 2736/hpiod
tcp 0 0 0.0.0.0:992 0.0.0.0:* LISTEN 2506/rpc.statd I have some question :
1. Why service rpc.statd use port 993 ?
2. Is services netfs mustn't start / running ?
Thanks | 
11-04-2009, 12:23 AM
| | Zimbra Consultant & Moderator | |
Posts: 19,639
| | Quote:
Originally Posted by arjendra I have some question :
1. Why service rpc.statd use port 993 ?
2. Is services netfs mustn't start / running ? | I have no idea why rpc.statd is listening on port 993, that doesn't make sense as it's a standard IMAPS port. You can actually start rpc.statd to listen on a specific port so maybe your implementation listens on that port? I can't imagine why that would be but that's about the only reason I could think of.
It's recommended to disable the netfs service and any othe remote network services but it shouldn't do any harm if it's running, see the following tuning guide.
__________________
Regards
Bill
| 
11-04-2009, 12:35 AM
| | | Dear Bill,
I don't settings service rpc.statd run on 993 & don't know why this happen
But, at now my server running normally, thanks for your explanation & support | 
08-30-2011, 08:38 PM
| | | Found the reason why rpc.statd took port 993. I had the exact same problem arjendra had and used the same solution (killing rpc.statd) to get the mailbox back up and running (e.g get rid of the "zmmailboxdctl is not running." message). But I found the reason why and would like to share. Quote:
Originally Posted by arjendra I don't settings service rpc.statd run on 993 & don't know why this happen | I didn't set rpc.statd to any port either.
rpc.statd takes random ports. Phoenix is right, you can set the port.
`man rpc.statd` says Code: -p, --port port
specify a port for rpc.statd to listen on. By default, rpc.statd will ask
portmap(8) to assign it a port number. As of this writing, there is not a standard
port number that portmap always or usually assigns. Specifying a port may be use-
ful when implementing a firewall. So I tried locking down the port that rpc.statd will listen on in /etc/sysconfig/nfs by uncommenting MOUNTD_PORT, STATD_PORT and setting a port number.
The solution was found here: TCP port 993 hijacked by mountd, rpc.statd
After rebooting, rpc.statd was listening on the port indicated in STATD_PORT and Zimbra procresses were running. | | 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.  |