Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

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.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-02-2011, 06:34 PM
Junior Member
 
Posts: 7
Default [SOLVED] Another zmmailboxdctl is not running issue

it works perfect until i restarted zimbra for updating to version 6.10

i maked a whole vm backup, tried to restart same issue.

cat /opt/zimbra/log/zmmailboxd.out:
Quote:
CompilerOracle: exclude com/zimbra/cs/session/SessionMap.putAndPrune
CompilerOracle: exclude com/zimbra/cs/mailbox/MailItem.delete
CompilerOracle: exclude org/apache/xerces/impl/XMLDocumentFragmentScannerImpl$FragmentContentDisp atcher.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.0001460 seconds
Total time for which application threads were stopped: 0.0000960 seconds
Zimbra server reserving server socket port=110 bindaddr=null ssl=false
Zimbra server reserving server socket port=995 bindaddr=null ssl=true
Total time for which application threads were stopped: 0.0202260 seconds
Zimbra server reserving server socket port=143 bindaddr=null ssl=false
Zimbra server reserving server socket port=993 bindaddr=null ssl=true
Zimbra server reserving server socket port=7025 bindaddr=crazy-team.com ssl=false
Fatal error: exception while binding to ports
java.net.BindException: Cannot assign requested address
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.newBoundServerSocke t(NetUtil.java:104)
at com.zimbra.common.util.NetUtil.bindServerSocket(Ne tUtil.java:163)
at com.zimbra.common.util.NetUtil.bindTcpServerSocket (NetUtil.java:50)
at com.zimbra.common.handlers.PrivilegedHandler.openP orts(PrivilegedHandler.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mortbay.xml.XmlConfiguration.call(XmlConfigura tion.java:542)
at org.mortbay.xml.XmlConfiguration.configure(XmlConf iguration.java:252)
at org.mortbay.xml.XmlConfiguration.configure(XmlConf iguration.java:214)
at org.mortbay.xml.XmlConfiguration.main(XmlConfigura tion.java:974)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.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:534)
at org.mortbay.start.Main.start(Main.java:441)
at org.mortbay.start.Main.main(Main.java:119)
Total time for which application threads were stopped: 0.0001940 seconds
Heap
def new generation total 186176K, used 29811K [0x78c40000, 0x85640000, 0x85640000)
eden space 165504K, 18% used [0x78c40000, 0x7a95cd60, 0x82de0000)
from space 20672K, 0% used [0x82de0000, 0x82de0000, 0x84210000)
to space 20672K, 0% used [0x84210000, 0x84210000, 0x85640000)
concurrent mark-sweep generation total 623616K, used 0K [0x85640000, 0xab740000, 0xab840000)
concurrent-mark-sweep perm gen total 131072K, used 6559K [0xab840000, 0xb3840000, 0xb3840000)
zimbra@ctatwes08:/root$
has anyone a idea what the error could be?
Reply With Quote
  #2 (permalink)  
Old 01-03-2011, 12:46 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

You should start by updating your forum profile with the output of the following information (do not post the output in this thread):

Code:
zmcontrol -v
Quote:
Originally Posted by xeniter View Post
it works perfect until i restarted zimbra for updating to version 6.10
I don't understand what you mean by that, had you updated or not? Was this a reboot of the currently installed Zimbra or an update?

Quote:
Originally Posted by xeniter View Post
has anyone a idea what the error could be?
What other errors do you see in the log files
?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 01-03-2011, 10:15 AM
Junior Member
 
Posts: 7
Default

thx, for your quick reply, i was able to solve it:

i shutdown the vm, backup it, and restart it.

The problem was i set the bindaddr from the zimbraLmtpBindAddress (port 7025) to my external smtp host name. This was absolut fail, because it must be localhost - zimbra itself. I didnt check my failure for months, because everything works fine, until i restarted zimbra for an update.

see error message in /opt/zimbra/log/zmmailboxd.out:

Zimbra sezmprov ms ctatwes08.crazyteam.local zimbraLmtpBindAddress ''server reserving server socket port=7025 bindaddr=crazy-team.com ssl=false


i did change this value without understanding some months ago, it work perfectly until i restart zimbra.

on restart zimbra wants to connect to crazy-team.com. This is my external smtp host. This occurs a java bind port execution by the attempt to bind the port to the server instead to the zimbra server.

I tried to fix with following command to set it back to localhost:
zmprov ms [domain] zimbraLmtpBindAddress ''

this didnt work because zimbra doesnt run, so i added the external host to the host file:

/etc/hosts:
127.0.0.1 crazy-team.com

now i was able to start zimbra
after that i run the command:

zmprov ms [domain] zimbraLmtpBindAddress ''
zmprov gas << gives you zimbra-domain if you need

now i deletet the the entry in the /etc/hosts (127.0.0.1 crazy-team.com)

Now i rebootet again, all works fine again...

Hope this will help if anyone have a similiar problem.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.