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 Display Modes
  #1 (permalink)  
Old 06-30-2009, 09:20 PM
Member
 
Posts: 10
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
Reply With Quote
  #2 (permalink)  
Old 06-30-2009, 10:30 PM
Zimbra Consultant & Moderator
 
Posts: 11,320
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
Reply With Quote
  #3 (permalink)  
Old 07-01-2009, 02:29 PM
Member
 
Posts: 10
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
File Type: jpg ZCS_ss_1.jpg (47.1 KB, 40 views)
File Type: jpg ZCS_ss_2.jpg (53.2 KB, 40 views)
Reply With Quote
  #4 (permalink)  
Old 07-02-2009, 10:58 AM
Member
 
Posts: 10
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
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0