Results 1 to 6 of 6

Thread: changing zimbraAdmin to 8443 broke my install

  1. #1
    illscientific is offline Active Member
    Join Date
    Oct 2005
    Location
    Washington DC
    Posts
    47
    Rep Power
    9

    Default changing zimbraAdmin to 8443 broke my install

    I changed the port the zimbra Admin app listens on to 8443 from 7071 by editing the files in the tomcat conf dir and changing the localsettings. Now when I try to go to the admin site it just hangs at Loading... forever and I see this in the mailbox.log:

    2007-11-09 19:01:11,091 INFO [http-8443-Processor50] [] zimlet - no authToken in the request
    2007-11-09 19:02:35,013 INFO [http-8443-Processor49] [] zimlet - no authToken in the request
    2007-11-09 19:03:27,689 INFO [http-8443-Processor50] [] zimlet - no authToken in the request


    How can I fix this?

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

    Default

    Can you change all those back and get it running again/what are the exact values that you changed?


    zmprov mcf zimbraAdminPort 8443
    zmcontrol stop
    zmcontrol start
    then see if that changes zimbra_admin_service_port
    (& I guess check /opt/zimbra/tomcat/conf/server.xml as well)
    Last edited by mmorse; 11-10-2007 at 06:06 PM. Reason: server.xml

  3. #3
    illscientific is offline Active Member
    Join Date
    Oct 2005
    Location
    Washington DC
    Posts
    47
    Rep Power
    9

    Default

    I changed it back but now it just behaves the same but on the default port, 7071. I wonder what I broke...

  4. #4
    illscientific is offline Active Member
    Join Date
    Oct 2005
    Location
    Washington DC
    Posts
    47
    Rep Power
    9

    Default

    This morning when I browsed to the admin page it showed the login forms and then it does the same. It hangs at the Loading... screen and the mailbox.log shows this:

    2007-11-10 01:16:58,201 INFO [IndexWritersSweeperThread] [] MailboxIndex - open index writers sweep: before=1, closed=0, after=1 (0ms)
    2007-11-10 01:17:28,213 INFO [IndexWritersSweeperThread] [] MailboxIndex - open index writers sweep: before=1, closed=0, after=1 (0ms)
    2007-11-10 01:17:58,220 INFO [IndexWritersSweeperThread] [] MailboxIndex - open index writers sweep: before=1, closed=0, after=1 (0ms)
    2007-11-10 01:18:28,229 INFO [IndexWritersSweeperThread] [] MailboxIndex - open index writers sweep: before=1, closed=0, after=1 (0ms)
    2007-11-10 01:18:58,239 INFO [IndexWritersSweeperThread] [] MailboxIndex - open index writers sweep: before=1, closed=0, after=1 (1ms)
    2007-11-10 01:19:28,248 INFO [IndexWritersSweeperThread] [] MailboxIndex - open index writers sweep: before=1, closed=0, after=1 (0ms)
    2007-11-10 01:19:58,257 INFO [IndexWritersSweeperThread] [] MailboxIndex - open index writers sweep: before=1, closed=0, after=1 (0ms)
    2007-11-10 01:20:28,296 INFO [IndexWritersSweeperThread] [] MailboxIndex - open index writers sweep: before=1, closed=1, after=0 (29ms)
    2007-11-10 03:00:02,557 INFO [http-7071-Processor48] [name=zimbra;ip=127.0.0.1; ] cache - Initializing folder and tag caches for mailbox 1
    2007-11-10 03:10:43,012 INFO [Timer-0] [] SessionCache - Removed 2 idle session s (AdminSession: 2). 0 active sessions remain.
    2007-11-10 04:50:46,267 INFO [http-7071-Processor48] [] zimlet - no authToken in the request
    2007-11-10 04:51:19,113 INFO [http-7071-Processor48] [] zimlet - no authToken in the request


    None of the other logs shows anything I saw that stood out as clues...

  5. #5
    illscientific is offline Active Member
    Join Date
    Oct 2005
    Location
    Washington DC
    Posts
    47
    Rep Power
    9

    Default

    I reinstalled and ran:

    zmprov mcf zimbraAdminPort 8443
    zmcontrol stop
    zmcontrol start

    The admin app is still on port 7071. If the way to change this is not what's mentioned above what are the other steps. I realize there are other posts on this but that's what I was following when this broke the first time.

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

    Default

    Seeing as you're also trying 8443 - I gather you tried these steps?:
    Admin Port Change (note the end-there may be other locations where it's hardcoded)
    Quote Originally Posted by schemers View Post
    You are calling "ms" which is modifyServer, then calling "gacg", which is getting the global config value, which is the default value if the value is unset on the server. You should call "gs" to see if it actually changed.

    I don't think think there is an easy/automated way to change the admin port, and even after changing everything there might be something hardcoded in code as I don't think we've tested it. Might need to file a bug on it.

    I can think of a few places you'll have to change:

    1. zimbraAdminPort (globally via zmprov mcf, might need on each server as well)

    2. zmlocalconfig (zimbra_admin_service_port )

    3. need to manually edit /opt/zimbra/tomcat/conf/server.xml.in and and change all occurrences of 7071 to your port:
    Code:
    !-- admin services connector; requires SSL --
    Connector port="7071"

    4. You'll probably also need to edit the various web.xml files as well, and change all occurrences of 7071 in these files to the new port:
    Code:
    /opt/zimbra/tomcat/webapps/service/WEB-INF/web.xml
    /opt/zimbra/tomcat/webapps/zimbraAdmin/WEB-INF/web.xml
    /opt/zimbra/tomcat/webapps/zimbra/WEB-INF/web.xml
    You'll have to restart tomcat of course.

    Even after all that, it still might not work. I'm not sure if there is a bug filed against this or not. It could certainly be cleaned up, though most of those values exist due to various chicken-and-egg problems.
    There is: Bug 16904 - Allow changing admin port
    Last edited by mmorse; 11-10-2007 at 06:12 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 21
    Last Post: 09-27-2007, 11:49 AM
  2. Replies: 8
    Last Post: 04-29-2007, 07:05 PM
  3. Replies: 16
    Last Post: 11-29-2006, 10:36 AM
  4. Replies: 0
    Last Post: 11-16-2006, 07:28 PM
  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
  •