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 10-16-2006, 03:48 PM
arg arg is offline
Member
 
Posts: 14
Default Building a Mirror

Hello I currently run the open source version of Zimbra.

I only have a test base of 6 users. The company is willing to roll it out company wide but I have to verify the backup/rollover options.
I have seen this: http://wiki.zimbra.com/index.php?tit...ckup_Procedure

I have done the:
zmcontrol stop
cp -rp /archive/zimbra_master /opt
tar -cf /archive/zimbra_master.tar zimbra_master
gzip /archive/zimbra_master.tar

scp /archive/zimbra_master.tar.gz to backup_server:/opt
tar -xvzf [name of file].tgz
cd zcs
./install.sh
it upgrades over my backup version

chown -R zimbra:zimbra /opt/zimbra/st*


However during the upgrade it conflicts over ports.
Port conflict detected: 25 (zimbra-mta)
Port conflict detected: 80 (zimbra-store)
Port conflict detected: 443 (zimbra-store)
Port conflicts detected! - Any key to continue

My master has them set to different ports.
My mirro default empty install also was set to the matching master ports before.

Starting servers...Done.

Now it says it is up. However I can not get to anything since the ports are conflicted.
And they do not respond with the webserver off as well.

Is their a simple config to edit/copy to change the ports ? and see if I actually have my backup version up?

Keith
Reply With Quote
  #2 (permalink)  
Old 10-16-2006, 05:27 PM
Former Zimbran
 
Posts: 294
Default

In the light of what I understand you want to do:

Do these links help?
Changing service port
www Port Conflict/Changing Zimbra Apache Setting

zmprov is the utility.

I haven't really looked at changing SMTP port. So that will be an exercise. I am thinking it should be possible by using zmprov.
__________________
Regards,

Chintan Zaveri
(Yet another ZIMBRAN!)

"Dhundhne par Bhagwan bhi ..."
Reply With Quote
  #3 (permalink)  
Old 10-17-2006, 01:33 AM
arg arg is offline
Member
 
Posts: 14
Default Thanks

Hmm thanks,

I have done this

su - zimbra
zmprov ms SERVERNAME zimbraMailPort 8080
zmprov ms SERVERNAME zimbraMailSSLPort 444
tomcat restart

and I did get a response on 8080.

So thanks !

Now however login has failed.

What is the best way to edit account logins via command line?
Reply With Quote
  #4 (permalink)  
Old 10-17-2006, 04:36 AM
Former Zimbran
 
Posts: 294
Default

Is this thread helpful?
__________________
Regards,

Chintan Zaveri
(Yet another ZIMBRAN!)

"Dhundhne par Bhagwan bhi ..."
Reply With Quote
  #5 (permalink)  
Old 10-17-2006, 03:22 PM
arg arg is offline
Member
 
Posts: 14
Default Still got issues

Hello,

1st thanks for all the help so far.

SO I tried these steps again with no luck.

I did a fresh install of Zimbra.
Got it up and in just fine.

Moved the original zimbra folder to a zim_back
Moved the tar.gz version of live zimbra to /opt/zimbra

Install again as upgrade.

port conflicts and etc.

[zimbra@major bin]$ zmprov gs major.activeresponsegroup.com | grep Mode
zimbraMailMode: http
[zimbra@major bin]$ zmprov ms major.activeresponsegroup.com zimbraMailPort 8080
[zimbra@major bin]$ zmprov ms major.activeresponsegroup.com zimbraMailSSLPort 444
[zimbra@major bin]$ tomcat restart
Error: tomcat not running (pid 13997), stale pid file?


When I got it up before I couldnt log in as well.
Reply With Quote
  #6 (permalink)  
Old 10-17-2006, 09:35 PM
arg arg is offline
Member
 
Posts: 14
Default Now what :)

Hello,

So After a complete new copy I got the backup and was allowed to config ports and etc during upgrade of backup copy. I added a new admin to server to make sure I had an account to get into.

Now via the admin interface I see my user accounts, view mail goes to the original server.

I also can not log into the backup server as a previous user. What settings do I need to move accounts to the new backup server and get access into the box via them ?

By removing the master domain will they all defualt to the backup server?
Reply With Quote
  #7 (permalink)  
Old 10-17-2006, 09:36 PM
Former Zimbran
 
Posts: 294
Default

Can you confirm that you stopped Zimbra before backing it up?

Also make sure that before you backup there shouldn't be any zimbra processes running. If there are any of these running, kill them gracefully.

Instead of using 'cp' for copying, can you try using:

Code:
rsync -avrlHKpogDt /opt/zimbra/ /opt/zim_back
Then:

Code:
tar cvzf /opt/zimback.tar.gz /opt/zim_back
Note: I haven't tried this, yet, but perhaps using the "-p" flag with tar will preserve permissions. You might want to check that out.
__________________
Regards,

Chintan Zaveri
(Yet another ZIMBRAN!)

"Dhundhne par Bhagwan bhi ..."

Last edited by czaveri; 10-17-2006 at 09:37 PM.. Reason: tar cvzf /opt/zimback.tar.gz /opt/zim_back
Reply With Quote
  #8 (permalink)  
Old 10-17-2006, 09:46 PM
Former Zimbran
 
Posts: 294
Default

If you backup /opt/zimbra preserving permissions and ownerships, I don't think you should have any problems. All your accounts are backed up when you do so.
__________________
Regards,

Chintan Zaveri
(Yet another ZIMBRAN!)

"Dhundhne par Bhagwan bhi ..."
Reply With Quote
  #9 (permalink)  
Old 10-17-2006, 09:49 PM
arg arg is offline
Member
 
Posts: 14
Default OH I am in

I am in the admin version of server now.

I just need to verify I can actually get to user accounts.
So far view mail sends me to the master version.

How do I reset the mail server domain?

So all the older accounts can log in ok to the new domain
Reply With Quote
  #10 (permalink)  
Old 10-17-2006, 09:55 PM
Former Zimbran
 
Posts: 294
Default

Not to discourage you, just my view: All this is looking like a not so good plan. NO reasons, really, just a feeling.

http://wiki.zimbra.com/index.php?title=ZmSetServerName

Please let us know how things work out. Maybe a How-to on the wiki, if it is not inconvenient.
__________________
Regards,

Chintan Zaveri
(Yet another ZIMBRAN!)

"Dhundhne par Bhagwan bhi ..."
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.