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 09-03-2007, 10:47 AM
Junior Member
 
Posts: 8
Default [SOLVED] Some services doesn't start

I installed a server to my friend and he told me today something wrong. He can't start the Zimbra. When i logon i saw ther aren't free space on the volume. I deleted about 400MB and restart the server. I tired to start the services, but i can't.

Zimbra version: Release 4.5.4_GA_763.UBUNTU6 UBUNTU6 FOSS edition
OS version: Ubuntu 7.04

>zmcontrol status

antispam Running
antivirus Running
imapproxy Stopped
imap4 is not running
imap4s is running
pop3 is running
pop3s is running
ldap Running
logger Stopped
zmlogswatchctl is not running
mailbox Stopped
tomcat is not running

mta Running
snmp Stopped
swatch is not running





/opt/zimbra/tomcat/logs/catalina.out
Quote:
Sep 3, 2007 7:23:23 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-80
Sep 3, 2007 7:23:23 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-7071
Sep 3, 2007 7:23:23 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 974 ms
Sep 3, 2007 7:23:23 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 3, 2007 7:23:23 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
Sep 3, 2007 7:23:23 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.TldConfig).
log4j:WARN Please initialize the log4j system properly.
Sep 3, 2007 7:23:24 PM org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base /opt/zimbra/apache-tomcat-5.5.15/server/webapps/host-manager does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocB ase(FileDirContext.java:140)
at org.apache.catalina.core.StandardContext.resources Start(StandardContext.java:3812)
at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:3983)
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.deployDescr iptor(HostConfig.java:603)
at org.apache.catalina.startup.HostConfig.deployDescr iptors(HostConfig.java:535)
at org.apache.catalina.startup.HostConfig.deployApps( HostConfig.java:470)
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)
Sep 3, 2007 7:23:24 PM org.apache.catalina.core.StandardContext start
SEVERE: Error in resourceStart()
Sep 3, 2007 7:23:24 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Sep 3, 2007 7:23:24 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/host-manager] startup failed due to previous errors
Sep 3, 2007 7:23:24 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager] has not been started
Sep 3, 2007 7:23:24 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.
Sep 3, 2007 7:23:24 PM org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base /opt/zimbra/apache-tomcat-5.5.15/server/webapps/manager does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocB ase(FileDirContext.java:140)
at org.apache.catalina.core.StandardContext.resources Start(StandardContext.java:3812)
at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:3983)
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.deployDescr iptor(HostConfig.java:603)
at org.apache.catalina.startup.HostConfig.deployDescr iptors(HostConfig.java:535)
at org.apache.catalina.startup.HostConfig.deployApps( HostConfig.java:470)
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)
Sep 3, 2007 7:23:24 PM org.apache.catalina.core.StandardContext start
SEVERE: Error in resourceStart()
Sep 3, 2007 7:23:24 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Sep 3, 2007 7:23:24 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/manager] startup failed due to previous errors
Sep 3, 2007 7:23:24 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager] has not been started
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=km.dft.hu ssl=false
Fatal error: terminating: PrivilegedServlet init failed
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java :359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at com.zimbra.cs.util.NetUtil.newBoundServerSocket(Ne tUtil.java:111)
at com.zimbra.cs.util.NetUtil.bindServerSocket(NetUti l.java:134)
at com.zimbra.cs.util.NetUtil.bindTcpServerSocket(Net Util.java:63)
at com.zimbra.cs.servlet.PrivilegedServlet.init(Privi legedServlet.java:94)
at javax.servlet.GenericServlet.init(GenericServlet.j ava:211)
Somebody has an idea?

Thx,
Kika
Reply With Quote
  #2 (permalink)  
Old 09-03-2007, 10:54 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

You need to disable Perdition (the proxy service) and then restart Zimbra. You should never start perdition on a single server installation.

If you only have 400MB free on that drive you won't be able to upgrade, Zimbra checks for space and needs more than that.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 09-03-2007, 11:13 AM
Junior Member
 
Posts: 8
Default

Quote:
Originally Posted by phoenix View Post
You need to disable Perdition (the proxy service) and then restart Zimbra. You should never start perdition on a single server installation.

If you only have 400MB free on that drive you won't be able to upgrade, Zimbra checks for space and needs more than that.
Thanks for your quick answer.

I will delete a mailbox witch is containing about 10GB mail and the mysql mta log (2.5GB) when i can login to the admin.

I disabled the perdition (ZimbraWiki) , but the tomcat didn't start

Quote:
zmperditionctl stop
zmprov -- ms km.dft.hu -zimbraServiceEnabled imapproxy
zmprov ms km.dft.hu zimbraPop3ProxyBindPort "" zimbraImapProxyBindPort "" zimbraPop3SSLProxyBindPort "" zimbraImapSSLProxyBindPort ""
zmprov ms km.dft.hu zimbraPop3BindPort 110 zimbraImapBindPort 143 zimbraPop3SSLBindPort 995 zimbraImapSSLBindPort 993
tomcat stop
tomcat start
all zmprov give me this error:
Quote:
[] 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)
zmcontrol -status:
Quote:
antispam Running
antivirus Running
imapproxy Stopped
imap4 is not running
imap4s is not running
pop3 is not running
pop3s is not running
ldap Running
logger Running
mailbox Stopped
tomcat is not running
mta Running
snmp Running
Reply With Quote
  #4 (permalink)  
Old 09-03-2007, 11:27 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Have you changed any of the ports in ZImbra? Do you have any SElinux or firewall enabled, disable them if you have. Also check the details in this post.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 09-03-2007, 11:46 AM
Junior Member
 
Posts: 8
Default

Quote:
Originally Posted by phoenix View Post
Have you changed any of the ports in ZImbra? Do you have any SElinux or firewall enabled, disable them if you have. Also check the details in this post.
I think that i didn't changed the default ports. I installed an another webserver (apache2) on 8080.

Now I turned off the firewall. I've got an error when i try to view the zimbraAdminPort

zmprov gs km.dft.hu | grep zimbraAdminPort
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
Reply With Quote
  #6 (permalink)  
Old 09-03-2007, 06:27 PM
Junior Member
 
Posts: 8
Default

I can't found the solution

>zmprov
Quote:
[] 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)
>telnet km.dft.hu 389
i can connect

>telnet localhost 389
connection refused

redolog is owned by zimbra:zimbra

I stoped the perdition, but i can't disable that because zmprov doesn't work.

mailbox and tomcat isn't running




an idea?

Last edited by Kika; 09-03-2007 at 07:49 PM..
Reply With Quote
  #7 (permalink)  
Old 09-04-2007, 10:42 AM
Junior Member
 
Posts: 8
Default

when the zimbra wrote to the volume and there is not enought free space maybe some files was corrupt. :S (0 byte free space was on the volume when i logged is :S) Maybe this cause the zmprov error?

I didn't found any solution
Reply With Quote
  #8 (permalink)  
Old 09-04-2007, 03:48 PM
Junior Member
 
Posts: 8
Default

Nobody had the same problem? :$
Reply With Quote
  #9 (permalink)  
Old 09-08-2007, 09:42 PM
Junior Member
 
Posts: 8
Default

I can't do anything with this system. I will try to upgrade today, but i don't belive that this is the solution.

Maybe i will reinstall my old postfix-mysql
Reply With Quote
  #10 (permalink)  
Old 09-08-2007, 09:48 PM
Former Zimbran
 
Posts: 5,606
Default

Hi-
I'm sorry that we didn't catch this sooner. Please check your forums private messages
-john
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.