Results 1 to 4 of 4

Thread: [SOLVED] Enabling IMAP stops tomcat running & stops mailbox

  1. #1
    baz-the-brit is offline Member
    Join Date
    Apr 2009
    Posts
    10
    Rep Power
    6

    Default [SOLVED] Enabling IMAP stops tomcat running & stops mailbox

    This is actually a spin-off from my previous thread, as with help from Ubuntu and Phoenix I narrowed down the source of the problem.

    Release 4.5.11_GA_1751.FC5_20080128130403 FC5 FOSS edition running on single server.

    Ran for a couple of years without many incidents until I tried to connect from Outlook client with IMAP. Discovered that IMAP service was disabled (in Admin Console/Server Settings & Global Settings).

    Soon as I enabled it and restarted the server, mailbox stopped. Due to my own inexperience it took a while and the assistance of Ubuntu & Phoenix to get it going again.

    Now the problem is repeatable and correctable: enabling IMAP stops tomcat running, which in turn stops the mailbox. Running zmperditionctl stop and then tomcat start, gets things going again.

    So question is why? Obviously starting IMAP on port 143 is conflicting with tomcat somehow, which is probably why the guy that installed ZCS for us left it disabled instead of finding the cause (thanks....), but I'd really like to resolve it and begin using IMAP again.

    Would it be as simple as configuring a different port for IMAP in perdition?

    Any suggestions most welcome.

    thanks

    Baz

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

    Default

    You should not have perdition enabled (IMAP proxy) on a single server, it's not needed and causes problems. Try the test I asked you in you other thread, can you connect via telnet to the IMAP service:

    Code:
    telnet localhost 143
    telnet localhost 993
    Run those commands on the Zimbra server and see if you get any response. Post a screenshot of the arear in the Admin UI that you're modifying.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    baz-the-brit is offline Member
    Join Date
    Apr 2009
    Posts
    10
    Rep Power
    6

    Default

    Quote Originally Posted by phoenix View Post
    You should not have perdition enabled (IMAP proxy) on a single server, it's not needed and causes problems. Try the test I asked you in you other thread, can you connect via telnet to the IMAP service:

    Code:
    telnet localhost 143
    telnet localhost 993
    Run those commands on the Zimbra server and see if you get any response. Post a screenshot of the arear in the Admin UI that you're modifying.
    Hi Bill

    Tried the telnet locally, connection refused:

    login as: root
    root@172.20.31.136's password:
    Last login: Wed Jul 1 08:18:52 2009 from 172.20.30.125
    [root@mail2 ~]# telnet localhost 143
    Trying 127.0.0.1...
    telnet: connect to address 127.0.0.1: Connection refused
    telnet: Unable to connect to remote host: Connection refused
    [root@mail2 ~]# telnet localhost 993
    Trying 127.0.0.1...
    telnet: connect to address 127.0.0.1: Connection refused
    telnet: Unable to connect to remote host: Connection refused
    [root@mail2 ~]# su zimbra
    [zimbra@mail2 root]$ telnet localhost 143
    Trying 127.0.0.1...
    telnet: connect to address 127.0.0.1: Connection refused
    telnet: Unable to connect to remote host: Connection refused
    [zimbra@mail2 root]$ telnet localhost 993
    Trying 127.0.0.1...
    telnet: connect to address 127.0.0.1: Connection refused
    telnet: Unable to connect to remote host: Connection refused
    [zimbra@mail2 root]$

    Could that be because I stopped perdition in order to get tomcat to run:

    Host mail2.server_name.com
    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 Running
    mta Running
    snmp Running
    spell Running
    stats Running

    Also see screenshots attached of Admin UI where I had enabled (since disabled) IMAP.

    thanks again,

    Baz
    Attached Images Attached Images

  4. #4
    baz-the-brit is offline Member
    Join Date
    Apr 2009
    Posts
    10
    Rep Power
    6

    Default

    Well I think I fixed it, by following the wiki for perdition:

    Code:
    [zimbra@mail2 root]$ zmprov ms server-name -zimbraServiceEnabled imapproxy
    [zimbra@mail2 root]$ zmprov ms server-name zimbraPop3ProxyBindPort "" zimbraImapProxyBindPort "" zimbraPop3SSLProxyBindPort "" zimbraImapSSLProxyBindPort ""
    [zimbra@mail2 root]$ zmprov ms server-name zimbraPop3BindPort 110 zimbraImapBindPort 143 zimbraPop3SSLBindPort 995 zimbraImapSSLBindPort 993
    [zimbra@mail2 root]$ tomcat stop
    [zimbra@mail2 root]$ tomcat start
    [zimbra@mail2 root]$ zmcontrol status
    Host server-name
            antispam                Running
            antivirus               Running
            ldap                    Running
            logger                  Running
            mailbox                 Running
            mta                     Running
            snmp                    Running
            spell                   Running
            stats                   Running
    So I'll give it a couple of days and see what transpires. Thanks again for the support received.

    Baz

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Sudden problem synching with gmail
    By bouchardpie in forum Error Reports
    Replies: 8
    Last Post: 09-09-2010, 09:50 AM
  2. Replies: 5
    Last Post: 05-28-2009, 12:53 AM
  3. Problem Install Zimbra ver 5.0.4_GA_2101.F7
    By maman in forum Installation
    Replies: 5
    Last Post: 04-14-2008, 12:50 PM
  4. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 10:34 PM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 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
  •