Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
  #1 (permalink)  
Old 05-10-2008, 09:29 PM
cd084 cd084 is offline
Junior Member
 
Join Date: Aug 2006
ZCS Version: Release 5.0.5_GA_2201.openSUSE_10.2_20080417015216 openSUSE_10.2 FOSS edition
Posts: 6
cd084 is on a distinguished road
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
uxbod's Avatar
uxbod uxbod is offline
Moderator
 
Join Date: Nov 2006
Location: Northampton, UK
ZCS Version: Release 5.0.8_GA_2462.RHEL5_20080709155810 CentOS5 NETWORK edition (Unsupported OS)
Posts: 1,597
uxbod is on a distinguished road
Send a message via MSN to uxbod
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
__________________
Server | CentOS 5.1 | Dual Opteron 250 | Tyan K8W Mobo | 6GB RAM | 3WARE 9550-SX4 | 4 x Samsung 200GB SATA II |
Zimbra | Release 5.0.8_GA_2462.RHEL5_20080709155810 CentOS5 NETWORK edition running under Xen 3.2.1 CentOS 5.2 i386 VM |
Network | Cisco 877 Router - Cisco ASA 5505 FW - Cisco 1131AP |
Reply With Quote
  #3 (permalink)  
Old 05-11-2008, 09:40 AM
mmorse's Avatar
mmorse mmorse is offline
Zimbra Employee
 
Join Date: May 2006
Location: USA
ZCS Version: NE & OS - in the many flavors of 4.5 & 5.0
Posts: 4,540
mmorse is on a distinguished road
Send a message via AIM to mmorse Send a message via MSN to mmorse Send a message via Yahoo to mmorse Send a message via Skype™ to mmorse
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
cd084 cd084 is offline
Junior Member
 
Join Date: Aug 2006
ZCS Version: Release 5.0.5_GA_2201.openSUSE_10.2_20080417015216 openSUSE_10.2 FOSS edition
Posts: 6
cd084 is on a distinguished road
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
mmorse's Avatar
mmorse mmorse is offline
Zimbra Employee
 
Join Date: May 2006
Location: USA
ZCS Version: NE & OS - in the many flavors of 4.5 & 5.0
Posts: 4,540
mmorse is on a distinguished road
Send a message via AIM to mmorse Send a message via MSN to mmorse Send a message via Yahoo to mmorse Send a message via Skype™ to mmorse
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
mmorse's Avatar
mmorse mmorse is offline
Zimbra Employee
 
Join Date: May 2006
Location: USA
ZCS Version: NE & OS - in the many flavors of 4.5 & 5.0
Posts: 4,540
mmorse is on a distinguished road
Send a message via AIM to mmorse Send a message via MSN to mmorse Send a message via Yahoo to mmorse Send a message via Skype™ to mmorse
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
cd084 cd084 is offline
Junior Member
 
Join Date: Aug 2006
ZCS Version: Release 5.0.5_GA_2201.openSUSE_10.2_20080417015216 openSUSE_10.2 FOSS edition
Posts: 6
cd084 is on a distinguished road
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
mmorse's Avatar
mmorse mmorse is offline
Zimbra Employee
 
Join Date: May 2006
Location: USA
ZCS Version: NE & OS - in the many flavors of 4.5 & 5.0
Posts: 4,540
mmorse is on a distinguished road
Send a message via AIM to mmorse Send a message via MSN to mmorse Send a message via Yahoo to mmorse Send a message via Skype™ to mmorse
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
mmorse's Avatar
mmorse mmorse is offline
Zimbra Employee
 
Join Date: May 2006
Location: USA
ZCS Version: NE & OS - in the many flavors of 4.5 & 5.0
Posts: 4,540
mmorse is on a distinguished road
Send a message via AIM to mmorse Send a message via MSN to mmorse Send a message via Yahoo to mmorse Send a message via Skype™ to mmorse
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
cd084 cd084 is offline
Junior Member
 
Join Date: Aug 2006
ZCS Version: Release 5.0.5_GA_2201.openSUSE_10.2_20080417015216 openSUSE_10.2 FOSS edition
Posts: 6
cd084 is on a distinguished road
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
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
zmclamdctl is not running after upgrade Darren Installation 21 02-26-2008 06:48 AM
3.0 to 4.5.3 Upgrade failed (mysql error) dealt Installation 35 03-19-2007 10:30 PM
changing web interface from port 80 mutinda Administrators 3 01-05-2007 05:25 AM
Quickie about port 80 (HTTP) ... ubumail Administrators 3 04-18-2006 07:03 AM
MTA is Dying after yum update tonyawbrey Administrators 27 04-02-2006 06:11 PM


freshmeat.net sourceforge.net The best Java IDE



 

Search Engine Optimization by vBSEO 3.0.0