Server Upgrade

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

shadowfayre

Server Upgrade

Postby shadowfayre » Mon Mar 26, 2007 8:42 pm

I am currently running Scalix 10 on a OpenSuse 10.0.0 (updated) server. I am wanting to move my datastore (mailstore) to a new server running FC 5. I have FC 5 installed and all patched. I then tar'd the old /var/opt/scalix folder and copied it to the new server extracting the files back to the same place.

All of the dependancies are in place for Scalix (or at least it passes). Shouldn't I be able to install 11.0.2 directly over the restored files or am I missing something? Right now, it does not install.

Deleted folders started with "O". GUID and UID matches with new server. The latest, is I installed piece by piece until it completed and now I receive an error that omcheckgc line 45 command not found.

Thanks,

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Mar 27, 2007 6:08 am

Hi!

When you had taken the tar of /var/opt/scalix did you restore file ownership and permissions? If not, create a new tar, untar it to the new server, create user and group
with same user id and group id as the old server. Now try to run the installer, it should pick this message store and upgrade the same.

You can refer to Scalix installer logs that you find at /var/log folder.

Thanks,
Subir

shadowfayre

Postby shadowfayre » Tue Mar 27, 2007 1:45 pm

Yes.

I reconfirmed by running tar (cvpf) on the old system and tar (xvpf) on the new machine. I checked the /etc/group and confirmed that the users ID and group IDs are correct. Installing using the restored contents. Version 11 of Scalix on Fedora Core 5

359 INFO Initializing Scalix Installer version 11.0.2.29
2007-03-27 10:32:07,717 INFO Platform is: Fedora Core release 5 (Bordeaux) on i386 : supported.
2007-03-27 10:32:07,717 INFO Starting Scalix Installer in CLI mode
2007-03-27 10:32:07,854 INFO Current locale is and default is en_US
2007-03-27 10:32:10,116 INFO Packages installed: {}
2007-03-27 10:32:11,744 INFO Obsolete packages installed: {}
2007-03-27 10:32:19,992 INFO Operation passed: OS release check Fedora Core release 5 (Bordeaux)
2007-03-27 10:32:19,992 INFO Operation passed: Memory check 1552264
2007-03-27 10:32:19,993 INFO Operation passed: Disk space check 57319876
2007-03-27 10:32:20,121 INFO Tomcat was running when we started: False
2007-03-27 10:32:21,959 INFO Searching /install/scalix-11.0.2.1-GA/software/scalix_server for relevant Scalix packages
2007-03-27 10:32:21,961 INFO File /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-swa-11.0.2.23-1.noarch.rpm is a Scalix file, for this platform and valid version
2007-03-27 10:32:21,961 INFO File /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-tomcat-connector-11.0.0.181-1.fc5.i386.rpm is a Scalix file, for this platform and valid version
2007-03-27 10:32:21,962 INFO File /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-postgres-11.0.2.23-1.noarch.rpm is a Scalix file, for this platform and valid version
2007-03-27 10:32:21,962 INFO File /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-platform-11.0.2.23-1.noarch.rpm is a Scalix file, for this platform and valid version
2007-03-27 10:32:21,963 INFO File /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-sis-11.0.2.23-1.noarch.rpm is a Scalix file, for this platform and valid version
2007-03-27 10:32:21,963 INFO File /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-server-11.0.2.17-1.fc5.i386.rpm is a Scalix file, for this platform and valid version
2007-03-27 10:32:21,964 WARNING File /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-tomcat-connector-debuginfo-11.0.0.181-1.fc5.i386.rpm is not a Scalix package
2007-03-27 10:32:21,964 WARNING File /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-tomcat-connector-debuginfo-11.0.0.181-1.fc5.x86_64.rpm is not a Scalix package
2007-03-27 10:32:21,964 WARNING File /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-tomcat-connector-11.0.0.181-1.fc5.x86_64.rpm is not for this platform
2007-03-27 10:32:21,965 WARNING File /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-tomcat-connector-11.0.0.181-1.fc5.x86_64.rpm is not for this platform
2007-03-27 10:32:21,965 INFO File /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-sac-11.0.2.23-1.noarch.rpm is a Scalix file, for this platform and valid version
2007-03-27 10:32:21,966 INFO File /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-res-11.0.2.23-1.noarch.rpm is a Scalix file, for this platform and valid version
2007-03-27 10:32:21,966 INFO File /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-tomcat-5.5.16-195.noarch.rpm is a Scalix file, for this platform and valid version
2007-03-27 10:32:21,966 INFO File /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-mobile-11.0.2.23-1.noarch.rpm is a Scalix file, for this platform and valid version
2007-03-27 10:32:34,314 INFO Components selected to install: {'scalix-res': ['11.0.2.23-1', '1142718', 'noarch', 'linux', '1', '(none)', '(none)', '/install/scalix-11.0.2.1-GA/software/scalix_server/scalix-res-11.0.2.23-1.noarch.rpm'], 'scalix-sac': ['11.0.2.23-1', '9355525', 'noarch', 'linux', '1', '(none)', '(none)', '/install/scalix-11.0.2.1-GA/software/scalix_server/scalix-sac-11.0.2.23-1.noarch.rpm'], 'scalix-tomcat': ['5.5.16-195', '4745468', 'noarch', 'linux', '195', '(none)', '(none)', '/install/scalix-11.0.2.1-GA/software/scalix_server/scalix-tomcat-5.5.16-195.noarch.rpm'], 'scalix-sis': ['11.0.2.23-1', '6720180', 'noarch', 'linux', '1', '(none)', '(none)', '/install/scalix-11.0.2.1-GA/software/scalix_server/scalix-sis-11.0.2.23-1.noarch.rpm'], 'scalix-platform': ['11.0.2.23-1', '6792410', 'noarch', 'linux', '1', '(none)', '(none)', '/install/scalix-11.0.2.1-GA/software/scalix_server/scalix-platform-11.0.2.23-1.noarch.rpm'], 'scalix-server': ['11.0.2.17-1.fc5', '50962508', 'i386', 'linux', '1.fc5', 'FC5', '(none)', '/install/scalix-11.0.2.1-GA/software/scalix_server/scalix-server-11.0.2.17-1.fc5.i386.rpm'], 'scalix-tomcat-connector': ['11.0.0.181-1.fc5', '1131', 'i386', 'linux', '1.fc5', '(none)', '(none)', '/install/scalix-11.0.2.1-GA/software/scalix_server/scalix-tomcat-connector-11.0.0.181-1.fc5.i386.rpm'], 'scalix-mobile': ['11.0.2.23-1', '2990540', 'noarch', 'linux', '1', '(none)', '(none)', '/install/scalix-11.0.2.1-GA/software/scalix_server/scalix-mobile-11.0.2.23-1.noarch.rpm'], 'scalix-swa': ['11.0.2.23-1', '4261363', 'noarch', 'linux', '1', '(none)', '(none)', '/install/scalix-11.0.2.1-GA/software/scalix_server/scalix-swa-11.0.2.23-1.noarch.rpm'], 'scalix-postgres': ['11.0.2.23-1', '13838', 'noarch', 'linux', '1', '(none)', '(none)', '/install/scalix-11.0.2.1-GA/software/scalix_server/scalix-postgres-11.0.2.23-1.noarch.rpm']}
2007-03-27 10:32:34,314 INFO Components to upgrade: {}
2007-03-27 10:32:34,315 INFO System check start
2007-03-27 10:32:34,335 INFO Operation passed: Environment check passed.
2007-03-27 10:32:34,336 WARNING Operation warning: Filesystem check warning -- /var/opt/scalix (message store) exists, OK.
2007-03-27 10:32:34,544 INFO Network interface is eth0
2007-03-27 10:32:34,558 INFO Operation passed: Network check passed.
2007-03-27 10:32:51,808 INFO Apache 2.x appears to be installed.
2007-03-27 10:32:51,808 INFO Operation passed: Dependency check passed.
2007-03-27 10:32:52,657 INFO Operation passed: Running services check passed.
2007-03-27 10:32:52,658 INFO System check end
2007-03-27 10:32:52,658 INFO System check result: 1
2007-03-27 10:33:10,349 INFO Install start
2007-03-27 10:33:11,769 INFO Unlinking '' user from Unix user
2007-03-27 10:33:11,800 WARNING Not removing Unix user '', please do it manually.
2007-03-27 10:33:11,800 INFO Starting installation of RPM files [('/install/scalix-11.0.2.1-GA/software/scalix_server/scalix-server-11.0.2.17-1.fc5.i386.rpm', 'scalix-server'), ('/install/scalix-11.0.2.1-GA/software/scalix_server/scalix-postgres-11.0.2.23-1.noarch.rpm', 'scalix-postgres'), ('/install/scalix-11.0.2.1-GA/software/scalix_server/scalix-tomcat-connector-11.0.0.181-1.fc5.i386.rpm', 'scalix-tomcat-connector'), ('/install/scalix-11.0.2.1-GA/software/scalix_server/scalix-tomcat-5.5.16-195.noarch.rpm', 'scalix-tomcat'), ('/install/scalix-11.0.2.1-GA/software/scalix_server/scalix-platform-11.0.2.23-1.noarch.rpm', 'scalix-platform'), ('/install/scalix-11.0.2.1-GA/software/scalix_server/scalix-res-11.0.2.23-1.noarch.rpm', 'scalix-res'), ('/install/scalix-11.0.2.1-GA/software/scalix_server/scalix-swa-11.0.2.23-1.noarch.rpm', 'scalix-swa'), ('/install/scalix-11.0.2.1-GA/software/scalix_server/scalix-sac-11.0.2.23-1.noarch.rpm', 'scalix-sac'), ('/install/scalix-11.0.2.1-GA/software/scalix_server/scalix-sis-11.0.2.23-1.noarch.rpm', 'scalix-sis'), ('/install/scalix-11.0.2.1-GA/software/scalix_server/scalix-mobile-11.0.2.23-1.noarch.rpm', 'scalix-mobile')]
2007-03-27 10:34:09,595 ERROR Operation failed: Install /bin/rpm -U -v --percent /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-server-11.0.2.17-1.fc5.i386.rpm /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-postgres-11.0.2.23-1.noarch.rpm /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-tomcat-connector-11.0.0.181-1.fc5.i386.rpm /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-tomcat-5.5.16-195.noarch.rpm /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-platform-11.0.2.23-1.noarch.rpm /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-res-11.0.2.23-1.noarch.rpm /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-swa-11.0.2.23-1.noarch.rpm /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-sac-11.0.2.23-1.noarch.rpm /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-sis-11.0.2.23-1.noarch.rpm /install/scalix-11.0.2.1-GA/software/scalix_server/scalix-mobile-11.0.2.23-1.noarch.rpm: (10) ['Preparing packages for installation...', 'scalix-tomcat-connector-11.0.0.181-1.fc5', 'scalix-tomcat-5.5.16-195', 'scalix-server-11.0.2.17-1.fc5', 'Stopping Scalix LDAP mapper (ldapmapper): [FAILED]\r', 'Starting Scalix LDAP mapper (ldapmapper): [ OK ]\r', 'error: %post(scalix-server-11.0.2.17-1.fc5.i386) scriptlet failed, exit status 3', 'scalix-postgres-11.0.2.23-1', 'scalix-platform-11.0.2.23-1', 'scalix-res-11.0.2.23-1', 'Remote Execution Service (RES) successfully installed.', 'Please configure Remote Execution Service (RES) using the', 'Scalix Installer for configuration.', 'Have fun!', 'scalix-swa-11.0.2.23-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_installed_dir>/logs/scalix-swa_log.<date>.txt', 'scalix-sac-11.0.2.23-1', 'Scalix Administration Console (SAC) successfully installed.', 'Please configure Scalix Administration Console (SAC) using', 'the Scalix Installer for configuration.', 'Have fun!', 'scalix-sis-11.0.2.23-1', 'scalix-mobile-11.0.2.23-1']
2007-03-27 10:34:09,595 CRITICAL Operation failed: Installation of packages failed
2007-03-27 10:34:09,595 ERROR Operation failed: Aborting installation thread.
2007-03-27 10:34:09,596 INFO Install end


Please advise.

KevinAnderson

Postby KevinAnderson » Tue Mar 27, 2007 1:52 pm

run omcheck -s -d > /tmp/chkscript.txt && /tmp/chkscript.txt

This will take a (very) long time to run, but once it completes, rerun the installer. As I see it, the install died trying to start the ldapmapper service. But the check will not hurt anything, and might be beneficial.

Thanks.
Kev.

shadowfayre

Postby shadowfayre » Tue Mar 27, 2007 5:32 pm

Thanks,

There were other UIDs that were mismatching other than ones that had mailboxes. Odd but fixed them and it was able to get past that point. Now to the next problem. (and another thread).

Thanks,


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 6 guests

cron