• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Problems during and after upgrade from 8.2.1 to 8.3

ryanz

Basic Pleskian
I used the updater in the panel to upgrade the highlighted components.
The server seemed to do the upgrade correctly and I received this email log after the upgrade but now qmail does not run or start.

Autoinstaller 3.2.1 (build at 2007-09-14 16:11 svn rev. 88422) started at (timezone SAST) Thu Dec 27 22:04:37 2007
Command line args: /usr/local/psa/admin/bin/autoinstaller --enable-xml-output --source-type=plesk --target=/root/psa --select-release-id=PLESK_8_3_0 [email protected] --install-component=psa-autoinstaller --no-daemon

Try to find rcfile...
Autoinstaller rcfile not found.
Check hostname is sucessfull.
Opsys detected as: os_name=Linux os_vendor=CentOS version=5 arch=x86_64 environment=
Final opsys (with overriding) is: os_name=Linux os_vendor=CentOS version=5 arch=x86_64 environment=
Downloading the file products.inf3: 100% done.
Downloading the file plesk.inf3: 100% done.
Downloading the file sitebuilder.inf3: 100% done.
repository: Get brief packages info for all sources
Checking for installed packages... readSystemPackagesBrief: execute rpm -qa --queryformat 'F:system_installed_brief_%{NAME}-%{VERSION}-%{RELEASE}.rpm\nN:%{NAME}\nE:%{EPOCH}\nV:%{VERSION}\nL:%{RELEASE}\nA:%{ARCH}\nf:%{INSTALLTIME}\nB:%{BUILDTIME}\nX:\n'
done
release PLESK_8_2_1 is actual
release PLESK_8_3_0 is actual
release SB_4_1_0 is actual
release SB_4_0_0 is actual
Select best build of PLESK_8_3_0 for current OS
First fit build is current best: PSA_8.3.0/plesk-8.3.0-cos5-x86_64.inf3
Select best build: finally choised PSA_8.3.0/plesk-8.3.0-cos5-x86_64.inf3
Downloading the file PSA_8.3.0/plesk-8.3.0-cos5-x86_64.inf3: 100% done.
repository: Get brief packages info for all sources
Detecting installed product components.
Component base: mode upgrade, installed=1190087454, available=1197984875
No keyupdate need for component base
Component psa-autoinstaller: mode upgrade, installed=1189761189, available=1197718652
Component asp: mode upgrade, installed=1190087512, available=1197984935
Component mailman: mode upgrade, installed=1190087514, available=1197984937
Component postgresql: mode upgrade, installed=1168092185, available=1178667199
Component java: mode upgrade, installed=1190087397, available=1198083013
Component spamassassin: mode install, installed=0, available=1197984805
Component rblsmtpd: mode upgrade, installed=1190087398, available=1197984802
Component mod_python: mode up2date, installed=1168104152, available=1168104152
Component ruby: mode upgrade, installed=1190087519, available=1197984944
Component fcgi: mode up2date, installed=1183017990, available=1183017990
Component vault: mode install, installed=0, available=1197611869
Component docs: mode upgrade, installed=1190087488, available=1197984908
Component backup-ded: mode upgrade, installed=1190087510, available=1198598286
Component drweb: mode upgrade, installed=1190087377, available=1197984773
Component kav: mode upgrade, installed=1190087525, available=1197984952
Component ppwse: mode upgrade, installed=1190087503, available=1197984925
Component api: mode upgrade, installed=1190087390, available=1198598288
Component sshterm: mode upgrade, installed=1190087355, available=1197984747
Component pmm: mode upgrade, installed=1190087360, available=1198598290
Component psa-firewall: mode upgrade, installed=1190087394, available=1197984796
Component cs-gs: mode install, installed=0, available=1197984794
Component psa-vpn: mode install, installed=0, available=1197984903
Component battlefield: mode install, installed=0, available=1197984917
Component bf2: mode install, installed=0, available=1197984940
Component psa-fileserver: mode install, installed=0, available=1197984788
Component watchdog: mode upgrade, installed=1190087507, available=1197984929
Component sb-publish: mode up2date, installed=1179887889, available=1179887889
Component sbm: mode upgrade, installed=1184068272, available=1197800663
Component cf-support: mode upgrade, installed=1190087516, available=1197984941
Component atis: mode install, installed=0, available=1194936875
Component miva: mode upgrade, installed=1190087521, available=1197984947
Component mod-bw: mode install, installed=0, available=1194490345
Component de-DE-locale: mode install, installed=0, available=1197985473
Component ja-JP-locale: mode install, installed=0, available=1197985485
Component es-ES-locale: mode install, installed=0, available=1197985476
Component ru-RU-locale: mode install, installed=0, available=1197985488
Component fr-FR-locale: mode install, installed=0, available=1197985479
Component it-IT-locale: mode install, installed=0, available=1197985482
Component zh-CN-locale: mode install, installed=0, available=1197985491
Component zh-TW-locale: mode install, installed=0, available=1197985494
Check for components requires keyupdate
Exchanging information with licensing server.
KeyUpdateChecker::doCheck: no components for check key update
repository: Get full packages info for all sources
Retrieving information about the installed packages... execute command for generate rpm cache in /tmp:
rpm -qa --queryformat 'F:system_installed_%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.rpm\nN:%{NAME}\nE:%{EPOCH}\nV:%{VERSION}\nL:%{RELEASE}\nA:%{ARCH}\nf:%{INSTALLTIME}\nB:%{BUILDTIME}\n[R:%{REQUIRENAME} %{REQUIREFLAGS:depflags} %{REQUIREVERSION}\n][P:%{PROVIDENAME} %{PROVIDEFLAGS:depflags} %{PROVIDEVERSION}\n][P:%{FILENAMES}\nm:%{FILEMODES}\n5:%{FILEMD5S}%{FILELINKTOS}\n][C:%{CONFLICTNAME} %{CONFLICTFLAGS:depflags} %{CONFLICTVERSION}\n][O:%{OBSOLETENAME} %{OBSOLETEFLAGS:depflags} %{OBSOLETEVERSION}\n]X:\n' > /tmp/autoinstaller_system_packages.cache
read cache file
done
Downloading the file PSA_8.3.0/update-rpm-CentOS-5-x86_64/update-8.3.0-cos5-x86_64.hdr.gz: 57%..100% done.
Downloading the file PSA_8.3.0/dist-rpm-CentOS-5-x86_64/build-8.3.0-cos5-x86_64.hdr.gz: 10%..92%..100% done.
Downloading the file PSA_8.3.0/thirdparty-rpm-CentOS-5-x86_64/thirdparty-8.3.0-cos5-x86_64.hdr.gz: 100% done.
Determining the packages that need to be installed.

Getting packages to installation list:
Get packages to installation from selected component psa-autoinstaller
Warning: unresolved requires 'gnome-python2' from policycoreutils-gui-1.33.12-12.el5.x86_64
Warning: unresolved requires 'gnome-python2-canvas' from policycoreutils-gui-1.33.12-12.el5.x86_64
Warning: unresolved requires 'pygtk2' from policycoreutils-gui-1.33.12-12.el5.x86_64
Warning: unresolved requires 'pygtk2-libglade' from policycoreutils-gui-1.33.12-12.el5.x86_64
Warning: unresolved requires 'rhpl' from policycoreutils-gui-1.33.12-12.el5.x86_64
Warning: packages conflict by files detected: package bind-libs-30:9.3.3-8.el5.x86_64
conflict with package bind-libbind-devel-30:9.3.3-10.el5.x86_64
both have file /usr/lib64/libbind.so.4.0.5 with different md5 sum.
Warning: packages conflict by files detected: package krb5-workstation-1.5-23.x86_64
conflict with package krb5-libs-1.6.1-17.el5.x86_64
both have file /usr/kerberos/man/man5/krb5.conf.5.gz with different md5 sum.
Warning: packages conflict by files detected: package krb5-workstation-1.5-23.x86_64
conflict with package krb5-libs-1.6.1-17.el5.i386
both have file /usr/kerberos/man/man5/krb5.conf.5.gz with different md5 sum.
Warning: packages conflict by files detected: package bind-libbind-devel-30:9.3.3-10.el5.x86_64
conflict with package bind-libs-30:9.3.3-8.el5.x86_64
both have file /usr/lib64/libbind.so.4.0.5 with different md5 sum.
Warning: packages conflict by files detected: package krb5-libs-1.6.1-17.el5.i386
conflict with package krb5-workstation-1.5-23.x86_64
both have file /usr/kerberos/man/man5/krb5.conf.5.gz with different md5 sum.
Warning: packages conflict by files detected: package krb5-libs-1.6.1-17.el5.x86_64
conflict with package krb5-workstation-1.5-23.x86_64
both have file /usr/kerberos/man/man5/krb5.conf.5.gz with different md5 sum.
Check package set before installation
repository: download selected packages
Downloading the file PSA_8.3.0/dist-rpm-CentOS-5-x86_64/opt/updater/psa-autoinstaller-3.3.0-build33071215.17.x86_64.rpm: 45%..100% done.
Starting installation of packages
prepareInstallStep: resolve results for package(s):
(s) system_installed_bash-3.1-16.1.x86_64.rpm
(s) system_installed_glibc-2.5-12.x86_64.rpm
(s) system_installed_openssl-0.9.8b-8.3.el5.x86_64.rpm
(s) system_installed_libgcc-4.1.1-52.el5.2.x86_64.rpm
(s) system_installed_rpm-libs-4.4.2-37.el5.x86_64.rpm
(s) system_installed_libstdc++-4.1.1-52.el5.2.x86_64.rpm
(s) system_installed_zlib-1.2.3-3.x86_64.rpm
Installing the package psa-autoinstaller-3.3.0-build33071215.17.x86_64
/etc/selinux/targeted/contexts/files/file_contexts: Multiple different specifications for /var/qmail/bin(/.*)? (system_u:eek:bject_r:sendmail_exec_t:s0 and system_u:eek:bject_r:bin_t:s0).
/etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /usr/local/sitebuilder/tmp(/.*)?.
/etc/selinux/targeted/contexts/files/file_contexts: Multiple different specifications for /var/qmail/bin(/.*)? (system_u:eek:bject_r:sendmail_exec_t:s0 and system_u:eek:bject_r:bin_t:s0).
/etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /usr/local/sitebuilder/tmp(/.*)?.
The packages were installed successfully.


---
Plesk autoinstaller.
 
The server seemed to do the upgrade correctly

/etc/selinux/targeted/contexts/files/file_contexts: Multiple different specifications for /var/qmail/bin(/.*)? (system_u:eek:bject_r:sendmail_exec_t:s0 and system_u:eek:bject_r:bin_t:s0).
/etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /usr/local/sitebuilder/tmp(/.*)?.
/etc/selinux/targeted/contexts/files/file_contexts: Multiple different specifications for /var/qmail/bin(/.*)? (system_u:eek:bject_r:sendmail_exec_t:s0 and system_u:eek:bject_r:bin_t:s0).
/etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /usr/local/sitebuilder/tmp(/.*)?.
The packages were installed successfully.


---
Plesk autoinstaller.

I im sorry to have to tell you something else, but even the log file sayd that the upgrade was not done correctly.

"The packages were installed successfully." != correctly

For plesk the selinux should be disabled, and any rules containing plesk programmes are best deleted.

Regards
Jan
 
Thanks Jan

I've not done anything more yet.
Should it be as simple as to ensure selinux is disabled and then run the autoinstaller again from the cli with upgrade as the selection?
 
tbh .... i have no idea

Im using plesk since v 1.3.5 and i never trusted the autoinstaller a bit and ive never ever used it. I always download the tar and upgraded from the commandline from the rpm's.

because there are rules for sendmail AND for qmail in your selinux, maybe disabling it (and maybe deleting those rules) would be enough. I never have realy looked into selinux and what it can do because plesk needs it to be disabled. Maybe when virtualmin becomes of age ill look into it if i start using that instead of plesk.

Regards
Jan
 
OK, everything is working again.

SELinux has always been disabled see /etc/selinux/config but for some reason those selinux errors remain in the logs

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted

# SETLOCALDEFS= Check local definition changes

All i did was to add the the URL for the Operating System Sources into the admin panel and the updater seemed to have sorted it out automatically.

As a check I ran the swsoft-autoinstaller from the command line again, it detected the 8.3 installation and I just let it do the last few upgrades.

Make sure that your network allows communication to ka.swsoft.com:5224 to connect for the Plesk licence key.

Other than that it works fine.
 
Just a stupid question I suppose.

How do you figure plesk needs selinux disabled? In fact it installs a selinux package...
 
Back
Top