Best upgrade method FC7 to FC9 / V11.4.0 to 11.4.4

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

mnauta
Posts: 152
Joined: Wed Feb 23, 2005 4:10 pm
Location: Austin, TX

Best upgrade method FC7 to FC9 / V11.4.0 to 11.4.4

Postby mnauta » Tue Jul 28, 2009 5:38 pm

Hi,

The upgrade on our test server is totally botched (to put it mildly). After screwing around with Centos install, postgres errors, FC9 install, postgres errors the partition on the drive with the message store has become corrupt and this test server is become useless (for now). I'm probably mostly to blame for this (long story..)

Our production server is as follows:

1) FC7
2) Scalix 11.4.0

I want to move to FC9 and V11.4.4 what would be the best steps to do this.

smpoole7
Posts: 94
Joined: Wed Nov 19, 2008 11:47 pm
Location: Birmingham
Contact:

Re: Best upgrade method FC7 to FC9 / V11.4.0 to 11.4.4

Postby smpoole7 » Tue Jul 28, 2009 9:42 pm

A few questions are in order.

1. Do you have a backup of the current mailstore? Are you planning to use that, or are you just going to start totally clean from scratch?

2. What errors did you have on the CentOS install? If your mail system needs to be reliable and is heavily used (i.e., it's not just for you and some friends), I *strongly* recommend CentOS. We didn't have any trouble installing it on our Dell Poweredge machines. Go to the CentOS forums and ask for help there, if need be: http://www.centos.org/modules/newbb/index.php

3. Obviously, you get the OS working first. Make sure it's 100% happy, that you have networking, hardware is OK, you can log in, create and delete users, etc., etc.

4. Once the OS is 100% happy, THEN you install Scalix. The installer is pretty good, and I've never had a problem with it. If you do, post back here and ask for help.

If this doesn't answer your questions, post more details. For future reference, Scalix is pretty easy to upgrade, too, but you do have to follow the steps in order, and there are some important commands (particularly "ompatchom") that are invaluable for making it go smoothly. File ownerships and permissions are also critical. Finally, if you've blown out one OS (ex., FC7) and have installed a new one (ex., FC9), the user and group ID numbers (UID/GID) have probably changed. There are ways to address that.

Bottom line: don't lose heart, people upgrade and move mailstores all the time. Post more details and either I or someone else will be glad to try to help.

RSisco
Posts: 212
Joined: Thu Jul 03, 2008 2:44 pm
Location: Springfield, MO
Contact:

Re: Best upgrade method FC7 to FC9 / V11.4.0 to 11.4.4

Postby RSisco » Wed Jul 29, 2009 8:52 am

I have to agree based on experience that CentOS would be a better choice than Fedora (read these posts http://www.scalix.com/forums/viewtopic.php?f=5&t=11245). I ran into issues left and right when upgrading Scalix and Fedora at the same time. So the first chance I got, I setup a whole new server using CentOS 5.3 - couldn't be happier.

Richard
I have officially quit using Scalix, but continue to visit the forums
-------------------------------------------------------------------------------
Scalix Server 11.4.6.13676
Scalix Connect 11.4.6.9214
SWA 11.4.6.12377
Outlook 2007
CentOS 5.3

mnauta
Posts: 152
Joined: Wed Feb 23, 2005 4:10 pm
Location: Austin, TX

Re: Best upgrade method FC7 to FC9 / V11.4.0 to 11.4.4

Postby mnauta » Wed Jul 29, 2009 7:46 pm

OK, followed advice and rebuild my test server with CentOS5.3

1) Installed Centos 5.2, did all updates now centos 5.3
2) Copied the message store with rsync from production server (42 GIG)
3) Installed Scalix 11.4.4

Install failed with postgres install. I checked platform.properties and I am using correct password.

Here is install log

Code: Select all

2009-07-29 18:33:41,522 INFO Initializing Scalix Installer version 11.4.4.2657
2009-07-29 18:33:41,730 INFO Platform is: CentOS release 5.3 (Final) on i386 : supported.
2009-07-29 18:33:41,730 INFO Starting Scalix Installer in CLI mode
2009-07-29 18:33:41,956 INFO Current locale is  and default is en_US
2009-07-29 18:33:42,497 INFO Packages installed: {}
2009-07-29 18:33:42,943 INFO Obsolete packages installed: {}
2009-07-29 18:33:48,116 INFO Operation passed: OS release check CentOS release 5.3 (Final)
2009-07-29 18:33:48,116 INFO Operation passed: Memory check 3115932
2009-07-29 18:33:48,116 INFO Operation passed: Disk space check 44529320
2009-07-29 18:33:48,137 INFO Tomcat was running when we started: False
2009-07-29 18:33:49,293 INFO Searching /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server for relevant Scalix packages
2009-07-29 18:33:49,294 WARNING File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-text-extractors-1.0-1.rhel4.i386.rpm is not for this platform
2009-07-29 18:33:49,295 INFO File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-platform-11.4.4.2575-1.noarch.rpm is a Scalix file, for this platform and v
alid version
2009-07-29 18:33:49,295 INFO File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-swa-11.4.4.12082-1.noarch.rpm is a Scalix file, for this platform and valid
 version
2009-07-29 18:33:49,295 WARNING File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-iconv-extras-1.2-3.f9.i686.rpm is not for this platform
2009-07-29 18:33:49,296 WARNING File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-server-11.4.4.12886-1.f9.i386.rpm is not for this platform
2009-07-29 18:33:49,296 INFO File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-mobile-11.4.4.900-1.noarch.rpm is a Scalix file, for this platform and vali
d version
2009-07-29 18:33:49,296 INFO File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-res-11.4.4.4904-1.noarch.rpm is a Scalix file, for this platform and valid
version
2009-07-29 18:33:49,297 INFO File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-chardet-1.0.20071031-1.rhel5.i386.rpm is a Scalix file, for this platform a
nd valid version
2009-07-29 18:33:49,297 INFO File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-sis-11.4.4.1110-1.noarch.rpm is a Scalix file, for this platform and valid
version
2009-07-29 18:33:49,298 INFO File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-libical-0.27.20071008-1.i386.rpm is a Scalix file, for this platform and va
lid version
2009-07-29 18:33:49,298 WARNING File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-tomcat-connector-11.4.4.949-1.rhel4.i386.rpm is not for this platform
2009-07-29 18:33:49,298 INFO File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-tomcat-5.5.27-959.noarch.rpm is a Scalix file, for this platform and valid
version
2009-07-29 18:33:49,299 INFO File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-sac-11.4.4.4904-1.noarch.rpm is a Scalix file, for this platform and valid
version
2009-07-29 18:33:49,299 WARNING File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-tomcat-connector-11.4.4.949-1.rhel4.x86_64.rpm is not for this platform
2009-07-29 18:33:49,299 INFO File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-iconv-extras-1.2-1.rhel5.i686.rpm is a Scalix file, for this platform and v
alid version
2009-07-29 18:33:49,300 INFO File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-tomcat-connector-11.4.4.949-1.rhel5.noarch.rpm is a Scalix file, for this p
latform and valid version
2009-07-29 18:33:49,300 INFO File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-server-11.4.4.12886-1.rhel5.i386.rpm is a Scalix file, for this platform an
d valid version
2009-07-29 18:33:49,301 INFO File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-postgres-11.4.4.2486-1.noarch.rpm is a Scalix file, for this platform and v
alid version
2009-07-29 18:33:49,301 WARNING File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-server-11.4.4.12886-1.rhel4.i386.rpm is not for this platform
2009-07-29 18:33:49,302 WARNING File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-chardet-1.0.20071031-1.f9.i386.rpm is not for this platform
2009-07-29 18:33:49,302 WARNING File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-tomcat-connector-11.4.4.949-1.f9.noarch.rpm is not for this platform
2009-07-29 18:33:49,302 INFO File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-text-extractors-1.0-1.rhel5.i386.rpm is a Scalix file, for this platform an
d valid version
2009-07-29 18:33:49,303 WARNING File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-text-extractors-1.0-2.f9.i686.rpm is not for this platform
2009-07-29 18:33:49,303 WARNING File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-iconv-extras-1.2-1.rhel4.i686.rpm is not for this platform
2009-07-29 18:33:49,304 WARNING File /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-chardet-1.0.20071031-1.rhel4.i386.rpm is not for this platform
2009-07-29 18:33:55,221 INFO Components selected to install: {'scalix-res': ['11.4.4.4904-1', '1153380', 'noarch', 'linux', '1', '(none)', '(none)', '/root/Scalix_Download/scalix
-11.4.4-GA/software/scalix_server/scalix-res-11.4.4.4904-1.noarch.rpm'], 'scalix-text-extractors': ['1.0-1.rhel5', '12005332', 'i386', 'linux', '1.rhel5', '(none)', '(none)', '/r
oot/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-text-extractors-1.0-1.rhel5.i386.rpm'], 'scalix-libical': ['0.27.20071008-1', '552070', 'i386', 'linux', '1', '
(none)', '(none)', '/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-libical-0.27.20071008-1.i386.rpm'], 'scalix-chardet': ['1.0.20071031-1.rhel5', '181036',
'i386', 'linux', '1.rhel5', '(none)', '(none)', '/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-chardet-1.0.20071031-1.rhel5.i386.rpm'], 'scalix-swa': ['11.
4.4.12082-1', '16523404', 'noarch', 'linux', '1', '(none)', '(none)', '/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-swa-11.4.4.12082-1.noarch.rpm'], 'scal
ix-tomcat': ['5.5.27-959', '5176972', 'noarch', 'linux', '959', '(none)', '(none)', '/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-tomcat-5.5.27-959.noarch
.rpm'], 'scalix-sis': ['11.4.4.1110-1', '2204080', 'noarch', 'linux', '1', '(none)', '(none)', '/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-sis-11.4.4.11
10-1.noarch.rpm'], 'scalix-platform': ['11.4.4.2575-1', '14091672', 'noarch', 'linux', '1', '(none)', '(none)', '/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/sca
lix-platform-11.4.4.2575-1.noarch.rpm'], 'scalix-server': ['11.4.4.12886-1.rhel5', '54437713', 'i386', 'linux', '1.rhel5', 'RHEL5', '(none)', '/root/Scalix_Download/scalix-11.4.4
-GA/software/scalix_server/scalix-server-11.4.4.12886-1.rhel5.i386.rpm'], 'scalix-tomcat-connector': ['11.4.4.949-1.rhel5', '1229', 'noarch', 'linux', '1.rhel5', 'rhel5', '(none)
', '/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-tomcat-connector-11.4.4.949-1.rhel5.noarch.rpm'], 'scalix-mobile': ['11.4.4.900-1', '3115529', 'noarch',
'linux', '1', '(none)', '(none)', '/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-mobile-11.4.4.900-1.noarch.rpm'], 'scalix-iconv-extras': ['1.2-1.rhel5', '
126324', 'i686', 'linux', '1.rhel5', '(none)', '(none)', '/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-iconv-extras-1.2-1.rhel5.i686.rpm'], 'scalix-sac':
['11.4.4.4904-1', '9416224', 'noarch', 'linux', '1', '(none)', '(none)', '/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-sac-11.4.4.4904-1.noarch.rpm'], 'sc
alix-postgres': ['11.4.4.2486-1', '46176', 'noarch', 'linux', '1', '(none)', '(none)', '/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-postgres-11.4.4.2486-
1.noarch.rpm']}
2009-07-29 18:33:55,221 INFO Components to upgrade: {}
2009-07-29 18:33:55,222 INFO System check start
2009-07-29 18:33:55,230 INFO Operation passed: Environment check passed.
2009-07-29 18:33:55,230 INFO Operation passed: Filesystem check passed.
2009-07-29 18:33:55,250 INFO Network interface is eth0
2009-07-29 18:33:55,251 INFO Operation passed: Network check passed.
2009-07-29 18:33:56,456 INFO Apache 2.x appears to be installed.
2009-07-29 18:33:56,457 INFO Operation passed: Dependency check passed.
2009-07-29 18:33:56,859 INFO Operation passed: Running services check passed.
2009-07-29 18:33:56,864 INFO Operation passed: Community license check passed.
2009-07-29 18:33:56,864 INFO System check end
2009-07-29 18:33:56,865 INFO System check result: 0
2009-07-29 18:34:02,037 INFO Install start
2009-07-29 18:34:03,141 WARNING Couldn't remove server system admin user: sxadmin ['userdel: user sxadmin does not exist']
2009-07-29 18:34:03,147 WARNING Couldn't remove server system admin group: sxadmin ['groupdel: group sxadmin does not exist'] , it's probably already been removed, OK.
2009-07-29 18:34:03,149 INFO Starting installation of RPM files [('/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-libical-0.27.20071008-1.i386.rpm', 'scalix
-libical'), ('/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-chardet-1.0.20071031-1.rhel5.i386.rpm', 'scalix-chardet'), ('/root/Scalix_Download/scalix-11.4.
4-GA/software/scalix_server/scalix-server-11.4.4.12886-1.rhel5.i386.rpm', 'scalix-server'), ('/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-postgres-11.4.4
.2486-1.noarch.rpm', 'scalix-postgres'), ('/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-tomcat-connector-11.4.4.949-1.rhel5.noarch.rpm', 'scalix-tomcat-co
nnector'), ('/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-tomcat-5.5.27-959.noarch.rpm', 'scalix-tomcat'), ('/root/Scalix_Download/scalix-11.4.4-GA/softwa
re/scalix_server/scalix-platform-11.4.4.2575-1.noarch.rpm', 'scalix-platform'), ('/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-res-11.4.4.4904-1.noarch.rp
m', 'scalix-res'), ('/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-swa-11.4.4.12082-1.noarch.rpm', 'scalix-swa'), ('/root/Scalix_Download/scalix-11.4.4-GA/
software/scalix_server/scalix-sac-11.4.4.4904-1.noarch.rpm', 'scalix-sac'), ('/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-text-extractors-1.0-1.rhel5.i38
6.rpm', 'scalix-text-extractors'), ('/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-iconv-extras-1.2-1.rhel5.i686.rpm', 'scalix-iconv-extras'), ('/root/Scal
ix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-sis-11.4.4.1110-1.noarch.rpm', 'scalix-sis'), ('/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-mo
bile-11.4.4.900-1.noarch.rpm', 'scalix-mobile')]
2009-07-29 18:34:13,202 INFO Operation passed: Install /bin/rpm -U -v --percent /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-libical-0.27.20071008-1.i386.
rpm /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-chardet-1.0.20071031-1.rhel5.i386.rpm /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scali
x-server-11.4.4.12886-1.rhel5.i386.rpm /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-postgres-11.4.4.2486-1.noarch.rpm /root/Scalix_Download/scalix-11.4.4-
GA/software/scalix_server/scalix-tomcat-connector-11.4.4.949-1.rhel5.noarch.rpm /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-tomcat-5.5.27-959.noarch.rpm
/root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-platform-11.4.4.2575-1.noarch.rpm /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-res-11
.4.4.4904-1.noarch.rpm /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-swa-11.4.4.12082-1.noarch.rpm /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_s
erver/scalix-sac-11.4.4.4904-1.noarch.rpm /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-text-extractors-1.0-1.rhel5.i386.rpm /root/Scalix_Download/scalix-1
1.4.4-GA/software/scalix_server/scalix-iconv-extras-1.2-1.rhel5.i686.rpm /root/Scalix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-sis-11.4.4.1110-1.noarch.rpm /root/S
calix_Download/scalix-11.4.4-GA/software/scalix_server/scalix-mobile-11.4.4.900-1.noarch.rpm: (0) ['Preparing packages for installation...', 'scalix-text-extractors-1.0-1.rhel5',
 'scalix-chardet-1.0.20071031-1.rhel5', 'scalix-libical-0.27.20071008-1', 'scalix-tomcat-connector-11.4.4.949-1.rhel5', 'scalix-tomcat-5.5.27-959', 'scalix-server-11.4.4.12886-1.
rhel5', 'Stopping Scalix LDAP mapper (ldapmapper): [FAILED]\r', 'Starting Scalix LDAP mapper (ldapmapper): [  OK  ]\r', 'scalix-postgres-11.4.4.2486-1', 'scalix-platform-11.4.4.2
575-1', 'scalix-res-11.4.4.4904-1', 'Remote Execution Service (RES) successfully installed.', 'Please configure Remote Execution Service (RES) using the', 'Scalix Installer for c
onfiguration.', 'Have fun!', 'scalix-swa-11.4.4.12082-1', 'Please configure Scalix Web Access (SWA) using the Scalix Installer for configuration.', 'SWA minimally requires Tomcat
 4.1.29 and JDK 1.4.2+.', 'After configuring SWA you may launch SWA within Tomcat with <Tomcat_installed_dir>/bin/startup.sh.', 'To check any startup errors look at <Tomcat_insta
lled_dir>/logs/scalix-swa_log.<date>.txt', 'scalix-sac-11.4.4.4904-1', 'Scalix Administration Console (SAC) successfully installed.', 'Please configure Scalix Administration Cons
ole (SAC) using', 'the Scalix Installer for configuration.', 'Have fun!', 'scalix-iconv-extras-1.2-1.rhel5', 'scalix-sis-11.4.4.1110-1', 'scalix-mobile-11.4.4.900-1']
2009-07-29 18:34:13,202 INFO Checking if any deprecated packages are installed.
2009-07-29 18:34:13,283 INFO Install end
2009-07-29 18:34:13,627 INFO Starting Scalix server
2009-07-29 18:34:13,962 ERROR Operation failed: Starting Scalix server failed: /opt/scalix/bin/omrc: (1) ['ERROR: Inconsistency found between version files in sys and lib', 'dire
ctories. This means that the patch levels of the Scalix shared', 'library and binary areas do not match. Scalix cannot be started until', 'this is resolved.', '']
2009-07-29 18:34:14,015 INFO Found package jre-1_5_0_16-linux-i586.rpm in directory /root/Scalix_Download/scalix-11.4.4-GA/third_party/jre/i386
2009-07-29 18:34:14,015 INFO Found package jre-1_5_0_*-linux-i586.rpm in /root/Scalix_Download/scalix-11.4.4-GA/third_party/jre/i386/jre-1_5_0_16-linux-i586.rpm
2009-07-29 18:34:14,045 INFO Found installed JRE version '1.5.0_16-fcs'
2009-07-29 18:34:14,226 INFO JRE is up to date
2009-07-29 18:34:14,403 INFO Setting JAVA_HOME environment variable to /usr/java/jre1.5.0_16
2009-07-29 18:34:27,409 INFO Configuring PostgreSQL...
2009-07-29 18:34:31,666 ERROR Operation failed: Failed to set password for the 'scalix' database user.


Any suggestions?

Thanks

smpoole7
Posts: 94
Joined: Wed Nov 19, 2008 11:47 pm
Location: Birmingham
Contact:

Re: Best upgrade method FC7 to FC9 / V11.4.0 to 11.4.4

Postby smpoole7 » Wed Jul 29, 2009 9:35 pm

See this thread for some more tips:

http://www.scalix.com/forums/viewtopic.php?p=51749

It looks like you're trying to install Scalix on a machine that already has a Scalix installation and some of the old stuff is arguing with the new. There's a reason why I asked if you were trying to do a completely new install (ie, you're upgrading your Scalix version and plan to start over with an empty mailstore), or you're trying to upgrade Scalix "around" an existing mailstore. If the latter, you need to follow a specific set of steps.

Note: this is my method; there may be others. However, this has one advantage: I KNOW it works. :)

1. You'll need a good copy of the existing mailstore (flash disk, DVD, whatever). This is essentially the directory "/var/opt/scalix/??," where "??" is the first and last characters of your hostname. Ex., if your hostname is "mailserver," the directory will be "/var/opt/scalix/ms."

2. Do a completely clean install of CentOS. Wipe the hard drives, start fresh. Make sure you use the same hostname as the original (ex., "mailserver"). Don't change it.

3. Once you're sure that CentOS is running and is happy, install Scalix. Do NOT copy the mailstore yet. This is a new, clean installation. Use the same passwords and config info as you would for the old installation, but this is a new, empty mailstore. Create a couple of dummy users and confirm that you can post emails between them.

4. Once you're sure that the new Scalix is happy, stop all Scalix services, then DELETE the new mailstore (in this example, you'd enter something like "rm -f -r /var/opt/scalix/ms").

5. Copy the old mailstore into that same slot, then run "ompatchom," and recreate the database.

That's the quick and dirty. There are detailed, step by step instructions in this thread:

http://www.scalix.com/forums/viewtopic.php?f=5&t=12182&p=55992#p55992

That particular example came from when we moved our mailstore from one server to the other, but the principle is exactly the same.

smpoole7
Posts: 94
Joined: Wed Nov 19, 2008 11:47 pm
Location: Birmingham
Contact:

Re: Best upgrade method FC7 to FC9 / V11.4.0 to 11.4.4

Postby smpoole7 » Thu Jul 30, 2009 7:53 am

mnauta wrote:1) Installed Centos 5.2, did all updates now centos 5.3
2) Copied the message store with rsync from production server (42 GIG)
3) Installed Scalix 11.4.4


OK, so that IS what you're trying to do -- you're trying to upgrade with an existing mailstore. Sorry, don't know how I missed that.

What I suggested will hopefully fix things for you. If you don't have a good copy of the mailstore, though, you may be in trouble.

Look at the man pages for "omscan" and "omcheck." Both of these will help, too, though "omscan" only works once Scalix is at least running. "omcheck" will help sort out permission and access errors to the mailstore.

Just so you know, others have upgraded Scalix quite easily, so my detailed procedure mentioned above isn't always necessary. But when you're having problems, it's best to start clean, stay clean and build clean. :)

RSisco
Posts: 212
Joined: Thu Jul 03, 2008 2:44 pm
Location: Springfield, MO
Contact:

Re: Best upgrade method FC7 to FC9 / V11.4.0 to 11.4.4

Postby RSisco » Thu Jul 30, 2009 8:46 am

My approach was as follows:

Installed and Configured CentOS 5.3
Installed SAME version of Scalix as my mailstore
Followed procedure in a post I found here for copying over my existing mailstore
THEN upgraded Scalix

At the very least, make sure you install Scalix first, then copy over your mailstore.

Richard
I have officially quit using Scalix, but continue to visit the forums
-------------------------------------------------------------------------------
Scalix Server 11.4.6.13676
Scalix Connect 11.4.6.9214
SWA 11.4.6.12377
Outlook 2007
CentOS 5.3

smpoole7
Posts: 94
Joined: Wed Nov 19, 2008 11:47 pm
Location: Birmingham
Contact:

Re: Best upgrade method FC7 to FC9 / V11.4.0 to 11.4.4

Postby smpoole7 » Thu Jul 30, 2009 8:51 am

RSisco wrote:At the very least, make sure you install Scalix first, then copy over your mailstore.

Richard


Agreed.

I can't find the link now, but when we were doing our upgrade/server move, I ran across a page where a guy said, "do NOT just install Scalix with the existing mailstore in place ... you will CRY!"

:)

RSisco
Posts: 212
Joined: Thu Jul 03, 2008 2:44 pm
Location: Springfield, MO
Contact:

Re: Best upgrade method FC7 to FC9 / V11.4.0 to 11.4.4

Postby RSisco » Thu Jul 30, 2009 9:08 am

Ahh...found it. Smart little me bookmarked it. :)

This is one of the posts I followed:
http://www.scalix.com/forums/viewtopic.php?f=5&t=12846&p=58994&hilit=move+scalix+to+new+server#p58982

Richard
I have officially quit using Scalix, but continue to visit the forums
-------------------------------------------------------------------------------
Scalix Server 11.4.6.13676
Scalix Connect 11.4.6.9214
SWA 11.4.6.12377
Outlook 2007
CentOS 5.3

mnauta
Posts: 152
Joined: Wed Feb 23, 2005 4:10 pm
Location: Austin, TX

Re: Best upgrade method FC7 to FC9 / V11.4.0 to 11.4.4

Postby mnauta » Fri Jul 31, 2009 10:03 am

Thanks for the suggestion, I'll give them a try.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 3 guests