cannot login sxadmin after rsync
Posted: Fri Jan 28, 2011 10:29 pm
I'm currently doing backup so what I did are the ff:
1. run omshut on the main scalix and backup scalix (10.0.1.101)
2. rsync mailstore
rsync --delete -avH /var/opt/scalix/ root@10.0.1.101:/var/opt/scalix/
3. Run "sxpsqlwhitelist 10.0.1.101" on backup server
4. Edit sis.properties and change the ip of main scalix to backup scalix
5. Restart scalix-postgres and scalix-tomcat
6. run omrc on both server
Please note that I'm using the same hostname on the backup scalix.
My question is those step sequence is correct? Also I tried to login to backup webmail as users and I was able to login using my account on the main scalix. Also, the emails was the same. However, I cannot login to sac using sxadmin. I don't have other admin users other than sxadmin. I tried to login as sxadmin in the main scalix and it was successful. I tried to login to backup as sxadmin using same password on the main scalix but it was still failed. I even run ommodu -s sxadmin -p <password> but still cannot login.
BTW, sxadmin on the backup scalix can login in webmail but not on sac
1. run omshut on the main scalix and backup scalix (10.0.1.101)
2. rsync mailstore
rsync --delete -avH /var/opt/scalix/ root@10.0.1.101:/var/opt/scalix/
3. Run "sxpsqlwhitelist 10.0.1.101" on backup server
4. Edit sis.properties and change the ip of main scalix to backup scalix
5. Restart scalix-postgres and scalix-tomcat
6. run omrc on both server
Please note that I'm using the same hostname on the backup scalix.
My question is those step sequence is correct? Also I tried to login to backup webmail as users and I was able to login using my account on the main scalix. Also, the emails was the same. However, I cannot login to sac using sxadmin. I don't have other admin users other than sxadmin. I tried to login as sxadmin in the main scalix and it was successful. I tried to login to backup as sxadmin using same password on the main scalix but it was still failed. I even run ommodu -s sxadmin -p <password> but still cannot login.
BTW, sxadmin on the backup scalix can login in webmail but not on sac