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 05-13-2010, 06:12 AM
Special Member
 
Posts: 160
Default Zimbra http proxy not working

I have followed the zimbra proxy installation and configuration - but it does not seem to be working for http/https. The Imap / POP proxy works fine. However, http. Not so much. I followed the following instructions:

Configuring ZCS HTTP Proxy

here are the commands I used for web proxy:

/opt/zimbra/libexec/zmproxyconfig -w -e -a 8080:80:8443:443 -H `zmhostname` -x both


when I try to connect to the proxy node - it fails. I cannot telnet to either 80 or 443 on the proxy node. However, the 8080 port is accessable on the mailbox servers..

any ideas?
Reply With Quote
  #2 (permalink)  
Old 05-13-2010, 06:18 AM
Moderator
 
Posts: 7,928
Default

Have you set zimbraPublicServiceHostname to be the name of the server facing the internet ?
__________________
Reply With Quote
  #3 (permalink)  
Old 05-13-2010, 06:36 AM
Special Member
 
Posts: 160
Default

Quote:
Originally Posted by uxbod View Post
Have you set zimbraPublicServiceHostname to be the name of the server facing the internet ?
No.. but Shouldnt the proxy box be listening on port 80 and redirecting traffic to the mailstore on port 8080 regardless? This appears to be the case with imap and pop traffic.. the proxy is now listening on 110 and 143 and redirecting that traffic to the mailbox servers to 7110 and 7143
Reply With Quote
  #4 (permalink)  
Old 05-13-2010, 07:00 AM
Moderator
 
Posts: 7,928
Default

Have you checked your logs to see what NGINX is not binding ?
__________________
Reply With Quote
  #5 (permalink)  
Old 05-13-2010, 07:03 AM
Moderator
 
Posts: 7,928
Default

On the front end proxy server did you run
Code:
zmproxyconfig -e -w -a 0:80:0:443 -x both -H `zmhostname`
__________________
Reply With Quote
  #6 (permalink)  
Old 05-13-2010, 07:09 AM
Special Member
 
Posts: 160
Default

Quote:
Originally Posted by uxbod View Post
On the front end proxy server did you run
Code:
zmproxyconfig -e -w -a 0:80:0:443 -x both -H `zmhostname`
Yep.. I ran

Code:
 /opt/zimbra/libexec/zmproxyconfig -w -e -a 0:80:0:443 -x both -H `zmhostname`
thats directly cut and pasted from my commandline history. As for logs - theres not alot of info in the nginix log..

Here is a snippet:

2010/05/13 09:29:07 [notice] 26698#0: OS: Linux 2.6.18-194.el5
2010/05/13 09:29:07 [notice] 26698#0: sysctl(KERN_RTSIGMAX): 0
2010/05/13 09:29:07 [notice] 26698#0: getrlimit(RLIMIT_NOFILE): 524288:524288
2010/05/13 09:29:07 [notice] 26699#0: start worker processes
2010/05/13 09:29:07 [info] 26700#0: memcache: 1/1 connections initialized
2010/05/13 09:29:07 [notice] 26699#0: start worker process 26700
2010/05/13 09:29:07 [notice] 26699#0: start worker process 26702
2010/05/13 09:29:07 [info] 26702#0: memcache: 1/1 connections initialized
2010/05/13 09:29:07 [notice] 26699#0: start worker process 26703
2010/05/13 09:29:07 [notice] 26699#0: start worker process 26704
2010/05/13 09:29:07 [info] 26703#0: memcache: 1/1 connections initialized
2010/05/13 09:29:07 [info] 26704#0: memcache: 1/1 connections initialized
Reply With Quote
  #7 (permalink)  
Old 05-13-2010, 07:11 AM
Moderator
 
Posts: 7,928
Default

Did you completely shutdown ZCS after making the changes and restart; on both the front-end and back-end ?
__________________
Reply With Quote
  #8 (permalink)  
Old 05-13-2010, 07:19 AM
Special Member
 
Posts: 160
Default

Yep.. I issued zmcontrol stop;zmcontrol start on both proxy and the two mailbox servers. I have also made sure that there is no communication block between the proxy and the mailbox servers.. there isnt. Its rather frustrating, as it shouldnt be any more difficult than the imap/pop proxy setup (which works)
Reply With Quote
  #9 (permalink)  
Old 05-13-2010, 07:26 AM
Moderator
 
Posts: 7,928
Default

Hmmm, would you run this on the front-end and back-end please and post the results so I can compare to my installation
Code:
zmprov gs `zmhostname` | egrep "ProxyPort|BindPort"
__________________
Reply With Quote
  #10 (permalink)  
Old 05-13-2010, 08:16 AM
Special Member
 
Posts: 160
Default

Proxy Server:
zimbraImapBindPort: 7143
zimbraImapProxyBindPort: 143
zimbraImapSSLBindPort: 7993
zimbraImapSSLProxyBindPort: 993
zimbraLmtpBindPort: 7025
zimbraMailProxyPort: 80
zimbraMailSSLProxyPort: 443
zimbraMemcachedBindPort: 11211
zimbraNotifyBindPort: 7035
zimbraNotifySSLBindPort: 7036
zimbraPop3BindPort: 7110
zimbraPop3ProxyBindPort: 110
zimbraPop3SSLBindPort: 7995
zimbraPop3SSLProxyBindPort: 995

Mailbox Server:
zimbraImapBindPort: 7143
zimbraImapProxyBindPort: 143
zimbraImapSSLBindPort: 7993
zimbraImapSSLProxyBindPort: 993
zimbraLmtpBindPort: 7025
zimbraMailProxyPort: 80
zimbraMailSSLProxyPort: 443
zimbraMemcachedBindPort: 11211
zimbraNotifyBindPort: 7035
zimbraNotifySSLBindPort: 7036
zimbraPop3BindPort: 7110
zimbraPop3ProxyBindPort: 110
zimbraPop3SSLBindPort: 7995
zimbraPop3SSLProxyBindPort: 995

mailbox server 2:
zimbraImapBindPort: 7143
zimbraImapProxyBindPort: 143
zimbraImapSSLBindPort: 7993
zimbraImapSSLProxyBindPort: 993
zimbraLmtpBindPort: 7025
zimbraMailProxyPort: 80
zimbraMailSSLProxyPort: 443
zimbraMemcachedBindPort: 11211
zimbraNotifyBindPort: 7035
zimbraNotifySSLBindPort: 7036
zimbraPop3BindPort: 7110
zimbraPop3ProxyBindPort: 110
zimbraPop3SSLBindPort: 7995
zimbraPop3SSLProxyBindPort: 995
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.