Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: [SOLVED] changing back to port 80

  1. #1
    cd084's Avatar
    cd084 is offline Member
    Join Date
    Aug 2006
    Posts
    14
    Rep Power
    9

    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

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    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

  3. #3
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    If this is a single server install (& therefore shouldn't be running imap/pop proxy normally) run the following all on one line:
    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

  4. #4
    cd084's Avatar
    cd084 is offline Member
    Join Date
    Aug 2006
    Posts
    14
    Rep Power
    9

    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

  5. #5
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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

  6. #6
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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.

  7. #7
    cd084's Avatar
    cd084 is offline Member
    Join Date
    Aug 2006
    Posts
    14
    Rep Power
    9

    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

  8. #8
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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.

  9. #9
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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.

  10. #10
    cd084's Avatar
    cd084 is offline Member
    Join Date
    Aug 2006
    Posts
    14
    Rep Power
    9

    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

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. zmclamdctl is not running after upgrade
    By Darren in forum Installation
    Replies: 24
    Last Post: 10-10-2008, 09:10 AM
  2. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 10:30 PM
  3. changing web interface from port 80
    By mutinda in forum Administrators
    Replies: 3
    Last Post: 01-05-2007, 06:25 AM
  4. Quickie about port 80 (HTTP) ...
    By ubumail in forum Administrators
    Replies: 3
    Last Post: 04-18-2006, 07:03 AM
  5. MTA is Dying after yum update
    By tonyawbrey in forum Administrators
    Replies: 27
    Last Post: 04-02-2006, 06:11 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
  •