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 09-11-2006, 05:14 PM
Intermediate Member
 
Posts: 19
Default Problems: Fresh Zimbra on Fresh Debian

I am trying to get Zimbra installed on a new installation of Debian 3.1, i386. Debian was installed last week, and Apache2 and MySQL were at that time as well. I removed them prior to installing Zimbra, per the docs.

The install script went smoothly until the end, when I got the message:

failed to initialize documents...see logfile for details.

Here's that section from the log:
--------------------------------------------------
Initializing Documents...
*** Running as zimbra user: /opt/zimbra/bin/zmprov mc default zimbraFeatureNotebookEnabled TRUE

[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
*** Running as zimbra user: /opt/zimbra/bin/zmprov mcf zimbraNotebookAccount w_zzyyom@amd64.csd-bes.net

[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
*** Running as zimbra user: /opt/zimbra/bin/zmprov in w_zzyyom@amd64.csd-bes.net '3oh8GGur' /opt/zimbra/wiki/Template Template

[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
*** Running as zimbra user: /opt/zimbra/bin/zmprov mc default zimbraFeatureNotebookEnabled FALSE

[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
-----------------------------------------------------------

doing zmcontrol status shows all systems running, except:

mailbox stopped
tomcat is not running

I tried zmcontrol start again, but status reports the same thing.

What do I need to do here?

Thanks
Reply With Quote
  #2 (permalink)  
Old 09-11-2006, 05:37 PM
Intermediate Member
 
Posts: 19
Default

Additional info:

In /var/log/zimbra.log, I see repeatedly:

Sep 11 17:03:01 amd64 zmtomcatmgr[14007]: status requested
Sep 11 17:03:01 amd64 zmtomcatmgr[14007]: stale pid 13844 found in /opt/zimbra/log/zmtomcatmgr.pid: No such process
Sep 11 17:03:01 amd64 zmtomcatmgr[14007]: assuming no other instance is running
Sep 11 17:03:01 amd64 zmtomcatmgr[14007]: no manager process is running

often (but not always) preceded by:

Sep 11 17:02:55 amd64 zmtomcatmgr[13844]: manager woke up from wait on tomcat/JVM with pid 13845
Sep 11 17:02:55 amd64 zmtomcatmgr[13844]: manager started tomcat/JVM with pid 13914
Sep 11 17:03:00 amd64 zmtomcatmgr[13844]: manager woke up from wait on tomcat/JVM with pid 13914
Sep 11 17:03:00 amd64 zmtomcatmgr[13844]: tomcat/JVM exited twice in 5 seconds (tolerance=60)

Looking at the pid, I see something unexpected, that the file is owned by root, while all the other pid's are owned by Zimbra. Seems odd...
Reply With Quote
  #3 (permalink)  
Old 09-11-2006, 06:13 PM
Intermediate Member
 
Posts: 19
Default

I found a number of threads here referencing tomcat not running, such as:

Tomcat is not running

which referenced chowning the redo.log file as zimbra/zimbra. My install actually didn't have a redo.log, but I created one anyway (empty) and set it's ownership as suggested. No change, tomcat still doesn't run.
Reply With Quote
  #4 (permalink)  
Old 09-11-2006, 06:39 PM
Intermediate Member
 
Posts: 19
Default

More info. Seems that catalina.out says some important things, but I don't know what they mean. (sorry, this is my first experience with tomcat)

Sep 11, 2006 6:04:25 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-80
Sep 11, 2006 6:04:26 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-7071
Sep 11, 2006 6:04:26 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1170 ms
Sep 11, 2006 6:04:26 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 11, 2006 6:04:26 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
Sep 11, 2006 6:04:26 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Sep 11, 2006 6:04:27 PM org.apache.catalina.startup.HostConfig deployDescriptor
WARNING: A docBase /opt/zimbra/apache-tomcat-5.5.15/webapps/zimbra inside the host appBase has been specified, and will be ignored
log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase).
log4j:WARN Please initialize the log4j system properly.
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
Fatal error: terminating: PrivilegedServlet init failed
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSock etChannelImpl.java:119)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAd aptor.java:59)
at com.zimbra.cs.util.NetUtil.newBoundServerSocket(Ne tUtil.java:78)
at com.zimbra.cs.util.NetUtil.reserveServerSocket(Net Util.java:101)
at com.zimbra.cs.servlet.PrivilegedServlet.init(Privi legedServlet.java:107)
at javax.servlet.GenericServlet.init(GenericServlet.j ava:211)
at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.load(Stan dardWrapper.java:932)
at org.apache.catalina.core.StandardContext.loadOnSta rtup(StandardContext.java:3915)
at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4176)
at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDirec tory(HostConfig.java:910)
at org.apache.catalina.startup.HostConfig.deployDirec tories(HostConfig.java:873)
at org.apache.catalina.startup.HostConfig.deployApps( HostConfig.java:474)
at org.apache.catalina.startup.HostConfig.start(HostC onfig.java:1118)
at org.apache.catalina.startup.HostConfig.lifecycleEv ent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:718)
at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:442)
at org.apache.catalina.core.StandardService.start(Sta ndardService.java:450)
at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalin a.java:551)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:406)
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:585)
at com.zimbra.cs.launcher.TomcatLauncher.start(Tomcat Launcher.java:52)
at com.zimbra.cs.launcher.TomcatLauncher.main(TomcatL auncher.java:74)
Reply With Quote
  #5 (permalink)  
Old 09-11-2006, 06:57 PM
Zimbra Employee
 
Posts: 2,103
Default

java.net.BindException: Address already in use

SOmething else is on one of the ports you want (80, 443? apache? hello?)
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #6 (permalink)  
Old 09-11-2006, 07:14 PM
Intermediate Member
 
Posts: 19
Default

Yup. imapd & imaps. It works now
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.