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 09-28-2007, 11:36 AM
Active Member
 
Posts: 29
Default [SOLVED] zmprov change ZimbraMailPort silently fails

Hi,

Here's the commands I'm running (mail.mydomain.com is an example.. my real domain is not included).

$ zmprov ms mail.mydomain.com ZimbraMailPort 8080
$ zmprov GetAllConfig | grep zimbraMailP
$ zimbraMailPort: 80

I try this direct to LDAP instead of via SOAP and I get the same thing

$ zmprov -l ms mail.mydomain.com ZimbraMailPort 8080
$ zmprov GetAllConfig | grep zimbraMailP
$ zimbraMailPort: 80

I also tried another port such as 82 without success.

I need to move the port to something other than 80 today because I'm planning a migration from the Open Source edtion to the Network Edition this evening.

Has anyone got another workaround or solution for changing the HTTP port number that Zimbra listens on when in HTTP or Mixed Mode (I think that in earlier testing Zimbra still checks to see if Port 80 is available even if Zimbra is forced into HTTPS mode only).

My versions are: Open Source Zimbra 4.5.6 GA 1044 on Ubuntu 6.0.1 LTS. and I'm moving this to Zimbra 4.5.6 Network Edition on RH ES 5

thanks

Mark
Reply With Quote
  #2 (permalink)  
Old 09-28-2007, 06:34 PM
Moderator
 
Posts: 6,236
Default

Just curious if you restarted zimbra as part of your process?
Quote:
su zimbra
zmprov ms mail.mydomain.com ZimbraMailPort 8080
zmcontrol stop
zmcontrol start
zmprov GetAllConfig | grep zimbraMailP
BTW, after changing zimbraMailPort or zimbraMailSSLPort you may need to regenerate the zimbraMtaAuthURL: SMTP Auth Problems - ZimbraWiki

Last edited by mmorse; 09-29-2007 at 11:39 AM..
Reply With Quote
  #3 (permalink)  
Old 09-29-2007, 02:27 AM
Active Member
 
Posts: 29
Default

Hi Mike,

I did try restarting Zimbra but it didn't make any difference (I should have mentioned this). So... I abandoned the idea of using HTTP on a different port and went back to using HTTPS. This allowed me to move forward with the migration from Open Source to Network Edition.

I have run into 2 problems but I will post a separate topic on these 2 migration issues.

thanks

Mark
Reply With Quote
  #4 (permalink)  
Old 09-29-2007, 11:30 AM
Active Member
 
Posts: 29
Default

I have just moved over from the OS edition to the NE edition and I'm running into exactly the same problem with other ZMPROV commands. Note that I am also troubleshooting a SOAP issue so I am having to use ZMPROV with the -l option at the moment.

This time I am trying to modify the following:

zimbraBackupReportEmailRecipients: admin@mail.mydomain.com

and this command silently fails (a restart after making the change does not help). Here's the command that I'm using as the zimbra user.

zmprov -l ms mail.mydomain.com zimbraBackupReportEmailRecipients admin@mydomain.com

This is problem has now transferred from one system to another having just migrated from the OS edition to the NE edition. ZMPROV just doesn't seem to be able to make any changes.....

Any ideas?

thanks

Mark
Reply With Quote
  #5 (permalink)  
Old 09-29-2007, 11:38 AM
Moderator
 
Posts: 6,236
Default

Could you open a support ticket so that someone from zimbra can take a look?
Reply With Quote
  #6 (permalink)  
Old 09-29-2007, 02:21 PM
Active Member
 
Posts: 29
Default

Mike...

It's actually resolved.

I was working with support on another issue and to resolve that problem the LDAP password was reset. Later on I came back and ran zmprov and noticed all the changes I had been trying to make had actually been applied...including the ZimbraMailPort change that I had tried to apply before the migration to NE and the new server. I can't say I understand it but the problem now seems resolved.

thanks - Mark
Reply With Quote
  #7 (permalink)  
Old 09-29-2007, 02:24 PM
Moderator
 
Posts: 6,236
Default

hm, well marking as solved
Though I'm sure you're probably just moving on with other things to do-if you ever find anything digging through logs or something let us know what it was.

Last edited by mmorse; 09-29-2007 at 02:28 PM..
Reply With Quote
  #8 (permalink)  
Old 09-29-2007, 02:50 PM
Active Member
 
Posts: 29
Default

I'll see if I can find anything in the logs that shows that these changes were applied after we resolved the problem. I know approximately what time that was.

At the moment we are just trying to resolve the remaining post-migration problem with SMTP AUTH failing. Once that's resolved I can go back and take time to try and understand why these ZMPROV changes were belatedly applied. It would be good to know for the future....
Reply With Quote
  #9 (permalink)  
Old 09-29-2007, 03:03 PM
Moderator
 
Posts: 6,236
Default

You see the link I posted in the first reply?

(or are you talking about outgoing relay smtp auth?)
Reply With Quote
  #10 (permalink)  
Old 09-29-2007, 11:31 PM
Active Member
 
Posts: 29
Default

Yes I did see the link and have looked over the forum and other replies. I reproduced the problem for support and they are investigating but I will post a message here (open a new thread) for the SMTP Auth problem....

Mark
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.