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 03-28-2007, 04:39 PM
Active Member
 
Posts: 39
Default Tomcat won't start after enabling IMAPproxy + a few other issues

I am having a great deal of problems setting up Zimbra - it was a fresh install on Ubuntu Dapper from the ubuntu-6.tar file.

We got it all up an running yesterday except were having connection refused issues from some emails being sent and received from the postfix/qmgr

Anyway in an attempt to fix it I turned on imapproxy service from the admin gui - since then the tomcat service wont' start - and I have not access to the gui's or zmprov

Here is the catalina.out file:

Code:
29/03/2007 10:15:21 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
29/03/2007 10:15:22 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-7071
29/03/2007 10:15:22 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1061 ms
29/03/2007 10:15:22 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
29/03/2007 10:15:22 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
29/03/2007 10:15:22 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.
29/03/2007 10:15:23 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.
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=143 bindaddr=null ssl=false
Fatal error: terminating: PrivilegedServlet init failed
java.net.UnknownHostException: null: null
        at java.net.InetAddress.getAllByName0(InetAddress.java:1128)
        at java.net.InetAddress.getAllByName0(InetAddress.java:1098)
        at java.net.InetAddress.getAllByName(InetAddress.java:1061)
        at java.net.InetAddress.getByName(InetAddress.java:958)
        at com.zimbra.cs.util.NetUtil.newBoundServerSocket(NetUtil.java:95)
        at com.zimbra.cs.util.NetUtil.bindServerSocket(NetUtil.java:134)
        at com.zimbra.cs.util.NetUtil.bindTcpServerSocket(NetUtil.java:63)
        at com.zimbra.cs.servlet.PrivilegedServlet.init(PrivilegedServlet.java:115)
        at javax.servlet.GenericServlet.init(GenericServlet.java:211)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4176)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:910)
        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:873)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at org.apache.catalina.core.StandardService.start(StandardService.java:450)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
        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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:406)
        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 com.zimbra.cs.launcher.TomcatLauncher.start(TomcatLauncher.java:52)
        at com.zimbra.cs.launcher.TomcatLauncher.main(TomcatLauncher.java:74)
And here is the zmprov command - this is similar but not the same as the authen issues that other people mention in regardings to zmprov:
Code:
zimbra@greenstone:~$ zmprov
[] 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)
zimbra@greenstone:~$
Here is the perms of the /opt/zimbra/log/ directory:
Code:
zimbra@greenstone:~/log$ ls -la
total 2468
drwxr-xr-x  2 zimbra zimbra    4096 2007-03-29 10:20 .
drwxr-xr-x 39 root   root      4096 2007-03-29 10:02 ..
-rw-r-----  1 zimbra zimbra       6 2007-03-29 10:10 amavisd.pid
-rw-r-----  1 zimbra zimbra   48719 2007-03-28 21:22 audit.log
-rw-r--r--  1 zimbra zimbra   52400 2007-03-29 10:10 clamd.log
-rw-rw----  1 zimbra zimbra       5 2007-03-29 10:10 clamd.pid
-rw-r--r--  1 zimbra zimbra   25938 2007-03-29 10:10 freshclam.log
-rw-rw----  1 zimbra zimbra       5 2007-03-29 10:10 freshclam.pid
-rw-r--r--  1 zimbra zimbra       0 2007-03-28 11:39 httpd_access.log
-rw-r--r--  1 zimbra zimbra    5154 2007-03-29 10:10 httpd_error.log
-rw-r--r--  1 zimbra zimbra       6 2007-03-29 10:10 httpd.pid
-rw-rw----  1 zimbra zimbra  752908 2007-03-29 10:20 logger_myslow.log
-rw-r--r--  1 zimbra zimbra       6 2007-03-29 10:10 logswatch.pid
-rw-r-----  1 zimbra zimbra 1448508 2007-03-28 21:23 mailbox.log
-rw-rw----  1 zimbra zimbra   17451 2007-03-29 10:10 myslow.log
-rw-r--r--  1 zimbra zimbra    9545 2007-03-28 23:45 spamtrain.log
-rw-r--r--  1 zimbra zimbra    6935 2007-03-29 09:21 startup.log
-rw-r--r--  1 zimbra zimbra       6 2007-03-29 10:10 swatch.pid
-rw-r-----  1 zimbra zimbra       0 2007-03-28 11:39 sync.log
-rw-r-----  1 zimbra zimbra       0 2007-03-28 11:39 syncstate.log
-rw-r-----  1 zimbra zimbra       0 2007-03-28 11:39 synctrace.log
-rw-r-----  1 zimbra zimbra       0 2007-03-28 11:39 wbxml.log
-rw-r-----  1 zimbra zimbra   54988 2007-03-28 21:23 zimbrastats.csv
-rw-r--r--  1 zimbra zimbra    1006 2007-03-28 11:38 zmloggerinit.log
-rw-r--r--  1 zimbra zimbra   17957 2007-03-29 10:27 zmmtaconfig.log
-rw-r--r--  1 zimbra zimbra       5 2007-03-29 10:14 zmmtaconfig.pid
-rw-r--r--  1 zimbra zimbra    1297 2007-03-28 13:37 zmmyinit.log
-rw-r--r--  1 zimbra zimbra       6 2007-03-29 10:15 zmtomcatmgr.pid
zimbra@greenstone:~/log$
and the permisions of the /opt/zimbra/redolog/ are:
Code:
zimbra@greenstone:~/redolog$ ls -la
total 16
drwxr-xr-x  3 zimbra zimbra 4096 2007-03-28 20:53 .
drwxr-xr-x 39 root   root   4096 2007-03-29 10:02 ..
drwxr-x---  2 zimbra zimbra 4096 2007-03-28 11:39 archive
-rw-r-----  1 zimbra zimbra  512 2007-03-28 21:23 redo.log
zimbra@greenstone:~/redolog$
This is our hosts file :
Code:
127.0.0.1 localhost.localdomain localhost
192.168.0.1 adhesionsealing.co.nz greenstone
Also to note is that this is a live mail server and since starting yesterday our backup postfix server has sent all the email to this zimbra server - some of which is still located in postfix/qmrg undelivered to recipients. I am concerned we may lose data if I perform a reinstall - how do I backup just the mail and users but get rid of the config (which includes the imapproxy turned on)


This is really urgent as a large company is waiting on there email service to be returned to them
Reply With Quote
  #2 (permalink)  
Old 03-28-2007, 04:52 PM
Former Zimbran
 
Posts: 5,606
Default

Yeah, I've seen this before.
I'm not sure if i'd call it a bug, but I'll check into it for you.

Change the http and https port, then login to the admin interface, and disable the imapproxy:
The correct command is, while logged in as zimbra user :
Code:
zmprov ms SERVERNAME zimbraMailPort (port here)
Then you have to restart Zimbra, still being logged in as zimbra user :
Code:
tomcat stop
tomcat start
If you want to change the SSL port to 8001, you have to do this, still logged in as zimbra user :
Code:
zmprov ms SERVERNAME zimbraMaiSSLPort (port here)
tomcat stop
tomcat start
Also, it might be helpful to check here:
http://wiki.zimbra.com/index.php?tit...ring_Perdition
Reply With Quote
  #3 (permalink)  
Old 03-28-2007, 04:54 PM
Former Zimbran
 
Posts: 5,606
Default

Is this a network edition cust?
Reply With Quote
  #4 (permalink)  
Old 03-28-2007, 05:04 PM
Active Member
 
Posts: 39
Default I can't zmprov

This is open source edition but as they need palm sync stuff they are potential network edition clients - however this relies on a successful trial period of open source edition .

I have successfully installed Zimbra with no problems on another server for another company and had no where near the problems as I have had with this one.


I cannot zmprov as it returns the following errors:
Code:
zimbra@greenstone:~$ zmprov
[] 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)
zimbra@greenstone:~$
Any ideas on how to fix this first so I can make the port changes later
Reply With Quote
  #5 (permalink)  
Old 03-28-2007, 05:09 PM
Active Member
 
Posts: 39
Default Have tried the following without success

I have tried the following without success:

Tomcat crashes after upgrade to 4.0.2

http://wiki.zimbra.com/index.php?tit...ring_Perdition - in particular the Disabling the service section - however because zmprov doesn't work I can't do this successfully

http://wiki.zimbra.com/index.php?title=Tomcat - but this does not seem the issue as shown in first post
Reply With Quote
  #6 (permalink)  
Old 03-28-2007, 05:26 PM
Former Zimbran
 
Posts: 5,606
Default

Tim,
Is this a Network Edition cust?
Reply With Quote
  #7 (permalink)  
Old 03-28-2007, 05:37 PM
Active Member
 
Posts: 39
Default

No they are not
Reply With Quote
  #8 (permalink)  
Old 03-01-2008, 09:41 AM
Active Member
 
Posts: 36
Unhappy


How to change the http and https port?
Reply With Quote
  #9 (permalink)  
Old 03-01-2008, 10:09 AM
Zimbra Consultant & Moderator
 
Posts: 19,640
Default

Quote:
Originally Posted by koolokamba View Post

How to change the http and https port?
What has your question got to do with this thread and what, exactly , are you trying to do and why? You could search the forums and/or wiki as that question has been answered many times.
__________________
Regards


Bill
Reply With Quote
  #10 (permalink)  
Old 03-01-2008, 08:21 PM
Active Member
 
Posts: 36
Default fixed.

Quote:
Originally Posted by phoenix View Post
What has your question got to do with this thread and what, exactly , are you trying to do and why? You could search the forums and/or wiki as that question has been answered many times.

su - zimbra
zmperditionctl stop
tomcat start
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.