Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

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 04-24-2011, 08:33 PM
Junior Member
 
Posts: 6
Unhappy ZCS 5.0.11.2695 Disaster Recovery

Hello All,

We are using ZCS 5.0.11. We have done a disaster recovery step ie, to make an exact replica of the running ZCS server. These are the steps we have done.

1)Installed Zimbra in a local machine with local IP
2)Configured DNS in the same system pointing to the same system ie 172.17.5.11

3)copied the /opt/zimbra folder of the original system ie ,system which is running now with public IP.

4) Copied that /opt/zimbra directory(From the original one) to the local machine after removing the /opt/zimbra of the local one.

5)Started the services using zmcontrol startup

6)All services started without errors.

But when i typed https://mx.mydomain.com:7071

its showing a 404 error with url not found.

URI=/zimbraAdmin.

Also the client interface is not opening up.

Please help me how I can get rid of this issue.

-Pramod.k
Jr.System Admin
Reply With Quote
  #2 (permalink)  
Old 04-24-2011, 09:33 PM
Active Member
 
Posts: 27
Default

1. have you installed the same Zimbra version?
2. have you run:
chown -R zimbra:zimbra /opt/zimbra
/opt/zimbra/libexec/zmfixperms
3. have you read:
Open Source Edition Backup Procedure - Zimbra :: Wiki
Reply With Quote
  #3 (permalink)  
Old 04-26-2011, 06:24 PM
Junior Member
 
Posts: 6
Default

I am using Zimbra 5.0.11.2695.

I have done the following steps correctly
************************************************** ***************************
Disaster Recovery






sudo -u zimbra /opt/zimbra/bin/zmcontrol shutdown
mv /opt/zimbra /tmp/zimbra-old



mkdir /opt/zimbra
tar zxvf [backup file] -C /opt/zimbra

.

tar zxvf [backup file] -C /tmp/zimbra-backup
cp -Rp /tmp/zimbra-backup /opt/zimbra



chown -R zimbra:zimbra /opt/zimbra
/opt/zimbra/libexec/zmfixperms

* Restart all Zimbra services

sudo -u zimbra /opt/zimbra/bin/zmcontrol startup
zmcontrol startup

************************************************** ***********************************

And I am getting the same error URL not found
HTTP ERROR: 404

NOT_FOUND

RequestURI=/


Powered by jetty://


************************************************** ********************************

Is there something I am missing ????
Reply With Quote
  #4 (permalink)  
Old 04-26-2011, 08:48 PM
Active Member
 
Posts: 27
Default

Have you checked the hosts file and installed a local dns in the "backup server"?

It is important that they point the domain and it's respective dns to this new server.

Have you tested if the vanilla installation (before you copy your backup to /opt/zimbra/) shows the web interface?
Reply With Quote
  #5 (permalink)  
Old 04-27-2011, 02:01 PM
Junior Member
 
Posts: 6
Default

Yes, I My vanilla installation was working fine. Also my DNS is configured without any probs.

**************************************************
dig mydomain.com mx
**********************************

;; ANSWER SECTION:
mydomain.com. 180 IN MX 10 mx.mydomain.com.

;; AUTHORITY SECTION:
mydomain.com. 180 IN NS ns1.mydomain.com.

;; ADDITIONAL SECTION:
mx.mydomain.com. 180 IN A 172.17.5.11

;; Query time: 0 msec
;; SERVER: 172.17.5.11#53(172.17.5.11)
;; WHEN: Thu Apr 28 02:23:40 2011
;; MSG SIZE rcvd: 82
************************************************** ***********************************************

And my host file entry containc 172.17.5.11 mx.mydomain.com mx

Before the copying all was working fine.
Reply With Quote
  #6 (permalink)  
Old 04-27-2011, 02:09 PM
Junior Member
 
Posts: 6
Default

One more thing, I have rsynced the data from the running server ie rsync -av [my public ip]:/opt/zimbra /opt/zimbra_sync/. Is that a problem????

The server was running live (The orginal server ),Also transactions are being done at the time of rsync
in brief i have rsynced /opt/zimbra directly from a running server...........


is that caused the problem?????
Reply With Quote
  #7 (permalink)  
Old 04-27-2011, 10:38 PM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by pramod.k29 View Post
is that caused the problem?????
The server needs to be shut down when doing an rsync or the data is not guaranteed to be in a consistent state.

To confirm your DNS is OK you should go to the 'Verify....' section of the Split DNS article and run all the commands there, it also contains details of the requirements for the hosts file. Your 'new' server will also need the same hostname as the original, I'd suggest you read some of the articles in the forums and wiki on what's needed for a Disaster Recovery.
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 05-13-2011, 04:15 AM
Junior Member
 
Posts: 6
Default

Hello Phoenix,

The root not found was with the Version crash that I have installed a higher version of ZCS 5.0. Now I have installed the same version ,but now i am getting this error msg.
************************************************** **************************************************
/opt/zimbra/bin/ldap: line 59: kill: (14827) - No such process
Failed to start slapd. Attempting debug start to determine error.
bdb(cn=accesslog): Log sequence error: page LSN 871 4744650; previous LSN 871 9780145
bdb(cn=accesslog): Recovery function for LSN 871 9783451 failed on forward pass
bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
bdb_db_close: txn_checkpoint failed: Invalid argument (22)
backend_startup_one: bi_db_open failed! (-30978)
bdb_db_close: alock_close failed
************************************************** ***********************************************

I have done a DB recovery but that too failed. Cud u pls guide me to next step????

Thank You
Pramod.k
Reply With Quote
  #9 (permalink)  
Old 05-14-2011, 09:27 AM
Junior Member
 
Posts: 6
Default

hello all,

Any way to get rid of this...........................?????????????????
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.