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 11-09-2007, 08:05 PM
Active Member
 
Posts: 47
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?
Reply With Quote
  #2 (permalink)  
Old 11-09-2007, 08:41 PM
Moderator
 
Posts: 6,237
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 05:06 PM.. Reason: server.xml
Reply With Quote
  #3 (permalink)  
Old 11-09-2007, 08:53 PM
Active Member
 
Posts: 47
Default

I changed it back but now it just behaves the same but on the default port, 7071. I wonder what I broke...
Reply With Quote
  #4 (permalink)  
Old 11-10-2007, 05:53 AM
Active Member
 
Posts: 47
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...
Reply With Quote
  #5 (permalink)  
Old 11-10-2007, 04:20 PM
Active Member
 
Posts: 47
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.
Reply With Quote
  #6 (permalink)  
Old 11-10-2007, 04:40 PM
Moderator
 
Posts: 6,237
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 05:12 PM..
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.