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

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 10-25-2008, 10:45 AM
Starter Member
 
Posts: 2
Question Mailboxd fails to start

I just installed Zimbra on my dedicated server to have a good e-mail system for my domains. The install script said everything worked just fine.

If I do zmcontrol status, it tells me that mailboxd is not running. I will then run zmmailboxdctl start and everything appears to work, but the status turns up the same.

It looks as if mailboxd is starting, but then crashes. When I checked the mailboxd.out log, it shows that everytime it checks for status, the PID in the file is stale. I tried to telnet into port 7071, but it refuses the connection.

I'm new to installing/configuring Zimbra; but have been an end-user for some time, which is why I am wanting to use it for my own install.

I would post some logs with this; but there are so many and they are so large, just tell if you need one in particular.

Other than that, I'm at a loss with this.
Reply With Quote
  #2 (permalink)  
Old 10-25-2008, 01:01 PM
Zimbra Employee
 
Posts: 46
Default

Welcome to Zimbra Forums!

Stop the zmcontrol.
zmcontrol stop

Then check if any processes are running as zimbra.
ps aux |grep zimbra

If not, then check if there is any stale PID inside in following files. Remove them if exists.
zmmailboxd_java.pid
zmmailboxd_manager.pid

start zmcontrol.
If this does not helps, post the errors from /opt/zimbra/log/zmmailboxd.out file while it crashes.
__________________
- Irfan



Reply With Quote
  #3 (permalink)  
Old 10-25-2008, 07:46 PM
Starter Member
 
Posts: 2
Question Error Output

I did everything you like was posted, but with the same result. There was an error this time, so here it is. This is the first time I have saw this error, but it might have been in there before. I don't know if this helps or if anyone has an idea, but I really would appreciate the help.

Code:
CompilerOracle: exclude com/zimbra/cs/session/SessionMap putAndPrune
CompilerOracle: exclude com/zimbra/cs/mailbox/MailItem delete
0    INFO  [main] log - Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
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
Zimbra server reserving server socket port=7025 bindaddr=null ssl=false
610  WARN  [main] log - Config error at 
610  WARN  [main] log - Config error at 
611  WARN  [main] log - EXCEPTION 
java.lang.reflect.InvocationTargetException
	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:585)
	at org.mortbay.xml.XmlConfiguration.call(XmlConfiguration.java:534)
	at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:244)
	at org.mortbay.xml.XmlConfiguration.refObj(XmlConfiguration.java:638)
	at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:252)
	at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:206)
	at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:968)
	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:585)
	at org.mortbay.start.Main.invokeMain(Main.java:183)
	at org.mortbay.start.Main.start(Main.java:497)
	at org.mortbay.start.Main.main(Main.java:115)
Caused by: java.net.BindException: Address already in use
	at sun.nio.ch.Net.bind(Native Method)
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
	at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:211)
	... 17 more
612  WARN  [main] log - Nested in java.lang.reflect.InvocationTargetException:
java.net.BindException: Address already in use
	at sun.nio.ch.Net.bind(Native Method)
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
	at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:211)
	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:585)
	at org.mortbay.xml.XmlConfiguration.call(XmlConfiguration.java:534)
	at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:244)
	at org.mortbay.xml.XmlConfiguration.refObj(XmlConfiguration.java:638)
	at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:252)
	at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:206)
	at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:968)
	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:585)
	at org.mortbay.start.Main.invokeMain(Main.java:183)
	at org.mortbay.start.Main.start(Main.java:497)
	at org.mortbay.start.Main.main(Main.java:115)
614  INFO  [Shutdown] log - Shutdown hook executing
614  INFO  [Shutdown] log - Shutdown hook complete
Reply With Quote
  #4 (permalink)  
Old 10-25-2008, 10:00 PM
raj raj is offline
Moderator
 
Posts: 768
Default

Caused by: java.net.BindException: Address already in use

are you sure you are not running something else on the server other than zimbra.?

Raj
__________________
i2k2 Networks
Dedicated & Shared Zimbra Hosting Provider
Reply With Quote
  #5 (permalink)  
Old 10-26-2008, 01:28 AM
Moderator
 
Posts: 7,928
Default

Code:
su - zimbra
zmcontrol stop
netstat -an
and post the result please so we can see if anything is being bound to the ports used by Zimbra.
__________________
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.