Results 1 to 10 of 10

Thread: Tomcat won't start after enabling IMAPproxy + a few other issues

  1. #1
    timwiel is offline Active Member
    Join Date
    Mar 2007
    Posts
    39
    Rep Power
    8

    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

  2. #2
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    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

  3. #3
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Is this a network edition cust?

  4. #4
    timwiel is offline Active Member
    Join Date
    Mar 2007
    Posts
    39
    Rep Power
    8

    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

  5. #5
    timwiel is offline Active Member
    Join Date
    Mar 2007
    Posts
    39
    Rep Power
    8

    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

  6. #6
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Tim,
    Is this a Network Edition cust?

  7. #7
    timwiel is offline Active Member
    Join Date
    Mar 2007
    Posts
    39
    Rep Power
    8

    Default

    No they are not

  8. #8
    koolokamba is offline Active Member
    Join Date
    Mar 2006
    Location
    China
    Posts
    36
    Rep Power
    9

    Unhappy


    How to change the http and https port?

  9. #9
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    koolokamba is offline Active Member
    Join Date
    Mar 2006
    Location
    China
    Posts
    36
    Rep Power
    9

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. After reboot mailbox and tomcat don't start
    By gon in forum Administrators
    Replies: 1
    Last Post: 11-02-2007, 11:50 AM
  3. IMAPPROXY and TOMCAT not running Problem
    By demanl in forum Administrators
    Replies: 1
    Last Post: 10-06-2006, 07:46 PM
  4. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM
  5. Replies: 2
    Last Post: 03-10-2006, 03:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •