Issue when rsyncing Zimbra production Server Contents to Zimbra Mirror Server
I have ZCS 7.2.0 installed on a CentOS 5.9 machine for production as well as for the mirror machine. After I successfully installed zimbra on the mirror machine, I was able to view the login page but could only login as the admin user as I had not yet brought over the accounts yet from the production machine.
I ran the old script that the previous sys admin had used to sync the mirror to the production machine.
Below are 3 lines from that script that show what rsync'd from the production machine to the mirror machine (I did change the IP Addresses in them):
rsync --delete -a -e "ssh -i /opt/zimbra/.ssh/rsa_key" email@example.com:/mnt/backup/mailstore/store/ /mnt/mail/store/
rsync --delete -a -e "ssh -i /opt/zimbra/.ssh/rsa_key" firstname.lastname@example.org:/mnt/backup/index/ /mnt/mail/index/
rsync --delete -a -e "ssh -i /root/.ssh/rsa_key" email@example.com:/opt/zimbra-backup/ /opt/zimbra/
I let the script run last night. This morning I confirmed that the 3 directories had been rsync'd from the production machine to the mirror machine. However, when I opened my web browser and attempted to view the login page, I got the following error message:
HTTP ERROR: 404
Problem accessing /. Reason:
Powered by Jetty://
I logged into the mirror machine and ran zmcontrol status as the zimbra user. Below are the results:
zmnginxctl is not running
I took a look at my notes and I noticed that before the script rsync'd the 3 directories from the production Zimbra Server to the mirror Zimbra server, I had run zmcontrol status on the mirror server and got the following results:
postfix is not running
NOTE: imapproxy service is not listed at all.
So, it appears imapproxy was brought over from the production server.
I ran zmcontrol start as the zimbra user on the Zimbra mirror server.
I was prompted for my the zimbra password to start the following service:
Starting imapproxy...[sudo] password for zimbra:
I entered the zimbra user's password and got the following error message:
Starting nginx...Sorry, user zimbra is not allowed to execute '/opt/zimbra/nginx/sbin/nginx -c /opt/zimbra/conf/nginx.conf' as root on mail.cyber.com.
Two questions below:
1) Is the "imapproxy" service not running the cause of the error message I get when I try to view the login page for the Zimbra mirror sever in my web-browser (the error message I noted above in section B)
2) If this is the problem, then I could use some pointers on how to resolve the error message noted above in section F
Any help would be appreciated.