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 05-10-2008, 09:29 PM
Member
 
Posts: 14
Default [SOLVED] changing back to port 80

Well I have finaly gotten around to upgrading to 5.0.5GA on OpenSuse 10.2 from 4.5.9GA on Suse 10.0. And first things first, I love the new version.
I do have one little problem that I would like to fix... many many years ago when I was limited to one static ip address I changed the web port from port 80 to 81. I would now like to change it back to port 80.

After seaching through the forum I only found one solution (not to say there are not more out there, but I only found one): 'zmprov ms servername zimbraMailPort 80'
But this is not working for me:
as user zimbra i get -
'ERROR:service.INVALID_REQUEST (invalid request: port 993 conflict between zimbraImapSSLBindPort and zimbraImapSSLProxyBindPort on server my.server.name)'
as root i get -
'ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)'

Anybody have a solution for me?
__________________
I'm not Anti-Business, I'm Anti-Idiot
Reply With Quote
  #2 (permalink)  
Old 05-11-2008, 07:27 AM
Moderator
 
Posts: 7,928
Default

Code:
zimbraImapBindPort: 7143
zimbraImapProxyBindPort: 143
zimbraImapSSLBindPort: 7993
zimbraImapSSLProxyBindPort: 993
zimbraLmtpBindPort: 7025
zimbraMemcachedBindPort: 11211
zimbraNotifyBindPort: 7035
zimbraNotifySSLBindPort: 7036
zimbraPop3BindPort: 7110
zimbraPop3ProxyBindPort: 110
zimbraPop3SSLBindPort: 7995
zimbraPop3SSLProxyBindPort: 995
these are the default bind ports. You can check yours with
Code:
su - zimbra
zmprov gacf | grep BindPort
__________________
Reply With Quote
  #3 (permalink)  
Old 05-11-2008, 09:40 AM
Moderator
 
Posts: 6,237
Default

If this is a single server install (& therefore shouldn't be running imap/pop proxy normally) run the following all on one line:
Quote:
zmprov -l ms server.domain.com zimbraPop3BindPort 110 zimbraPop3SSLBindPort 995 zimbraPop3ProxyBindPort 7110 zimbraPop3SSLProxyBindPort 7995 zimbraImapBindPort 143 zimbraImapSSLBindPort 993 zimbraImapProxyBindPort 7143 zimbraImapSSLProxyBindPort 7993
Your putting a 7 in front of anything with proxy in it & correcting the ports (lowercase ell L at the front provisions via ldap).
Then:
zmcontrol stop
zmcontrol start
Reply With Quote
  #4 (permalink)  
Old 05-11-2008, 07:12 PM
Member
 
Posts: 14
Default

This all sounds great, but before I do any of this, a little clarification: I am taking about port 80 for the web services. I do not see port 80 listed in any of the above posts (or when I do 'zmprov gacf | grep BindPort'). All of the other ports (pop,smtp,imap,etc,etc) are the defaults and fine.
Example; to access the web gui at the moment i need to add port 81 to the url; http://server.domain.com:81.
I just want to change back to port 80 for the web services.
many thanks so far...
PS/fyi - installation is a single server / no proxy
__________________
I'm not Anti-Business, I'm Anti-Idiot
Reply With Quote
  #5 (permalink)  
Old 05-11-2008, 07:18 PM
Moderator
 
Posts: 6,237
Default

Quote:
Originally Posted by cd084 View Post
as user zimbra i get -
'ERROR:service.INVALID_REQUEST (invalid request: port 993 conflict between zimbraImapSSLBindPort and zimbraImapSSLProxyBindPort on server my.server.name)'
You have 2 conflicting, the 'run on one line' trick allows you to set them. If you try to correct just one of those at once you'll get an error about the other in conflict - see: [SOLVED] imapproxy conflict since 4.5.10 > 5.0.0 upgrade

What's the output of your gs (server) instead of gacf (global):
zmprov gs server.domain.com | grep BindPorts
Reply With Quote
  #6 (permalink)  
Old 05-11-2008, 07:20 PM
Moderator
 
Posts: 6,237
Default

Once you fix the conflict, then you should be able to run the zmprov ms server.domain.com zimbraMailPort 80 followed by zmcontrol stop/start.
Reply With Quote
  #7 (permalink)  
Old 05-11-2008, 07:42 PM
Member
 
Posts: 14
Default

I got zero return with 'zmprov gs server.domain.com | grep BindPorts' (using my own server name ;-)
the below is the output from 'zmprov gacf | grep BindPort'

zimbraImapBindPort: 7143
zimbraImapProxyBindPort: 143
zimbraImapSSLBindPort: 7993
zimbraImapSSLProxyBindPort: 993
zimbraLmtpBindPort: 7025
zimbraMemcachedBindPort: 11211
zimbraPop3BindPort: 7110
zimbraPop3ProxyBindPort: 110
zimbraPop3SSLBindPort: 7995
zimbraPop3SSLProxyBindPort: 995
zimbraReverseProxyImapPortAttribute: zimbraImapBindPort
zimbraReverseProxyImapSSLPortAttribute: zimbraImapSSLBindPort
zimbraReverseProxyPop3PortAttribute: zimbraPop3BindPort
zimbraReverseProxyPop3SSLPortAttribute: zimbraPop3SSLBindPort
zimbraServerInheritedAttr: zimbraLmtpBindPort
zimbraServerInheritedAttr: zimbraImapBindPort
zimbraServerInheritedAttr: zimbraImapProxyBindPort
zimbraServerInheritedAttr: zimbraImapSSLBindPort
zimbraServerInheritedAttr: zimbraImapSSLProxyBindPort
zimbraServerInheritedAttr: zimbraPop3BindPort
zimbraServerInheritedAttr: zimbraPop3ProxyBindPort
zimbraServerInheritedAttr: zimbraPop3SSLBindPort
zimbraServerInheritedAttr: zimbraPop3SSLProxyBindPort
__________________
I'm not Anti-Business, I'm Anti-Idiot
Reply With Quote
  #8 (permalink)  
Old 05-11-2008, 08:19 PM
Moderator
 
Posts: 6,237
Default

zmprov gs server.domain.com | grep BindPort
-no 's' on the end lol

zmprov gs server.domain.com | grep zimbraServiceEnabled
&
zmprov gs server.domain.com | grep zimbraServiceInstalled
should not contain imapproxy

Last edited by mmorse; 05-11-2008 at 08:26 PM..
Reply With Quote
  #9 (permalink)  
Old 05-11-2008, 08:25 PM
Moderator
 
Posts: 6,237
Default

Re-phrase: Drop the extra s I added on the end.

zmprov gs server.domain.com | grep BindPort

zmprov gs server.domain.com | grep imapproxy shouldn't return anything in zimbraServiceEnabled or zimbraServiceInstalled.
Reply With Quote
  #10 (permalink)  
Old 05-11-2008, 08:39 PM
Member
 
Posts: 14
Default



'zmprov gs server.domain.com | grep BindPort'

zimbraImapBindPort: 143
zimbraImapProxyBindPort: 143
zimbraImapSSLBindPort: 993
zimbraImapSSLProxyBindPort: 993
zimbraLmtpBindPort: 7025
zimbraMemcachedBindPort: 11211
zimbraPop3BindPort: 110
zimbraPop3ProxyBindPort: 110
zimbraPop3SSLBindPort: 995
zimbraPop3SSLProxyBindPort: 995


'zmprov gs server.domain.com | grep zimbraServiceEnabled'

zimbraServiceEnabled: antivirus
zimbraServiceEnabled: antispam
zimbraServiceEnabled: logger
zimbraServiceEnabled: mailbox
zimbraServiceEnabled: mta
zimbraServiceEnabled: stats
zimbraServiceEnabled: snmp
zimbraServiceEnabled: ldap
zimbraServiceEnabled: spell


'zmprov gs server.domain.com | grep zimbraServiceInstalled'

zimbraServiceInstalled: antivirus
zimbraServiceInstalled: antispam
zimbraServiceInstalled: logger
zimbraServiceInstalled: mailbox
zimbraServiceInstalled: mta
zimbraServiceInstalled: stats
zimbraServiceInstalled: snmp
zimbraServiceInstalled: ldap
zimbraServiceInstalled: spell


'zmprov gs server.domain.com | grep imapproxy'
returned nothing.
__________________
I'm not Anti-Business, I'm Anti-Idiot
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.