Page 1 of 1

SAC getting error after Upgrade the Hardware and Scalix

Posted: Thu Mar 06, 2008 4:45 pm
by anto_davidraj
Hai,

Today i upgrade the Scalix from 10.5 to 11.3

First i moved the data /var/opt/scalix (150 GB) from old server to new server using rsync.

Start the installation with existing mail data into new server.

Everything finished well. But i am unable to login to SAC with sxadmin and also i try with my login (Admin Privilage). But the password is correct and FQDN also OK. webmail working fine, but when i try to login in SAC the following error i received

Could not login. Could not fetch server list. Possible problem with administration server
I tried with old forum info

omcheck -s -d >fix_perms.sh
bash ./fix_perms.sh

but No Luck. Can anyone please give some idea. because my old server is 99% Full data. Can someone please advise ...


Thanks

Posted: Fri Mar 07, 2008 3:44 am
by Valerion
Mmm ... tricky. If it was me I would let it do the upgrade, upgrading the mailstore, keeping the upgraded mailstore. Then I would uninstall completely and do a full reinstall with a empty mailstore and check everything works (including SAC). If all that works, shut down Scalix, delete the /var/opt/scalix/??/s directory and replace it with the upgraded mailstore from the previous upgrade, reboot and re-test.

Posted: Fri Mar 07, 2008 12:35 pm
by anto_davidraj
Hai Valerion,

Thanks for receiving reply from you.

After i sync the data from old server, the user and group is 101 and 102 for that folder, I change the owner to root:root for that folder, not Recursive. Is it correct.

i will try your suggestion also, Currnetly i am syncing data from old server again. It probably take 20 hours.

Thanks

Posted: Sat Mar 08, 2008 4:00 pm
by mikevl
Hi

I agree wit Valeron about the order of doing the inatall. You also need to preserve permissions when you do you rsync -preservepermissions

you can try to fix permissions now

omcheck -s -d > /tmp/check_file
chomd 770 /tmp/check_file
and then type:
sh /tmp/check_file

Mike

Posted: Mon Mar 10, 2008 10:04 am
by anto_davidraj
Hai,

Finally i fix the problem. I change the order of installation,

1. Install Scalix without old Data.
2. Uninstall Scalix and keep the mail data.
3. Manually delete the mail data. (So system keeps Scalix user (100) and group (101))
4. rsync the data (now the data having scalix user and group)
5. Install Scalix again with the old data.

It works fine without any problem.

Mike i already tried with omcheck -s -d, but it runs more than 3-4 hour and it telling that fix successful. But it won't work.

Mike and Valerion, thanks for reply and taking efforts.