• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved plesk component installer hangs at Running rpm_check_debug

Pan_Duke

Basic Pleskian
Hi all,

had a problem with fail2ban, it couldn't start and plesk starting page was taking too long to load. it stayed like this for a couple of weeks so tonight i decided to uninstall fail2ban and install it again. so i clicked on add remove components and selected it for removal at the "Install or Upgrade Odin Products" page.
now the proccess hanged at Running rpm_check_debug.
plesk couldn't open meanwhile

i tried
/etc/init.d/psa stopall
/etc/init.d/psa start

plesk working again. logged in, clicked add remove and there it is still hanging there

here is the log :

Code:
Installation started in background
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: centosmirror.netcup.net
* extras: centosmirror.netcup.net
* updates: centosmirror.netcup.net
+ psa-phpmyadmin
+ mod_ssl
+ httpd-tools
+ httpd
- plesk-fail2ban-configurator
- fail2ban
Installing packages
Changing shell for popuser.
Shell not changed.
.
Shell not changed.Changing shell for mhandlers-user
sw-engine-fpm (pid 31099 30982 29487 23805 22627 20242 19596 19510 18189 10183) is running...
Stopping psa... Stopping sw-engine-fpm: [ OK ]
done
-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.
===> Cumulative APS controller database (apsc) upgrade has been started.
===> Cumulative upgrade of APS controller database has been completed.
===> Cumulative Plesk database upgrade (revertable stage) has been started.
===> Preparing Plesk database upgrade (revertable stage).
===> Cumulative upgrade of Plesk database (revertable stage) has been completed.
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: centosmirror.netcup.net
* extras: centosmirror.netcup.net
* updates: centosmirror.netcup.net
(1/4): httpd-2.2.15-47.el6.centos.x86_64.rpm | 830 kB 00:00
(2/4): httpd-tools-2.2.15-47.el6.centos.x86_64.rpm | 77 kB 00:00
(3/4): mod_ssl-2.2.15-47.el6.centos.x86_64.rpm | 95 kB 00:00
(4/4): psa-phpmyadmin-4.4.14.1-cos6.build1200150914.11.n | 6.9 MB 00:00
Running rpm_check_debug

any ideas?
 
well the installer is still active and in many threads about f2b and plesk they suggest working with it via plesk (installing, starting stopping etc)

besides this morning i found that the installer logged a new message

Code:
.........
(4/4): psa-phpmyadmin-4.4.14.1-cos6.build1200150914.11.n | 6.9 MB 00:00
Running rpm_check_debug
Warning: XML answer is already sent (try to send ''
Warning: XML answer is already sent (try to send ''
Warning: XML answer is already sent (try to send ''
Warning: XML answer is already sent (try to send ''
Warning: XML answer is already sent (try to send ''
Warning: XML answer is already sent (try to send ''
Warning: XML answer is already sent (try to send ''
Warning: XML answer is already sent (try to send ''
Warning: XML answer is already sent (try to send ''
Warning: XML answer is already sent (try to send ''
Warning: XML answer is already sent (try to send ''
Warning: XML answer is already sent (try to send ''
Warning: XML answer is already sent (try to send ''
Warning: XML answer is already sent (try to send ''
Warning: XML answer is already sent (try to send ''

how can i stop this ?
 
You should kill autoinstaller/installer and yum_install processes first with TERM, then with KILL signals
 
Plesk autoinstaller uses yum for installing rpm packages, and it seems it hangs inside of yum. KB-121921 does not help, as it describe slightly different situation You should perform next action to solve this.
1. Kill current autoinstaller and yum_install processes. Run ps xaf | grep -C4 "installer\|yum" | grep -v grep to find its PIDS. Output should looks like:

Code:
# ps xaf | grep -C4 "installer\|yum_install" | grep -v grep
30972 ?        Ss     0:00  \_ sshd: root@pts/1
30974 pts/1    Ss+    0:00  |   \_ -bash
5827 ?        Ss     0:00  \_ sshd: root@pts/2
5829 pts/2    Ss     0:00  |   \_ -bash
5848 pts/2    S+     0:00  |       \_ /var/cache/parallels_installer/installer --source http://autoinstall.plesk.com/ --all-versions
5947 pts/2    S+     0:07  |           \_ /usr/bin/python /usr/local/psa/bin/yum_install -e PHP_5_2_17-dist -e PHP_5_2_17-thirdparty -e PHP_5_3_29-dist -e PHP_5_3_29-thirdparty -e PHP_5_4_45-dist -e PHP_5_4_45-thirdparty -e PHP_5_5_29-dist -e PHP_5_5_29-thirdparty -e PHP_5_6_13-dist -e PHP_5_6_13-thirdparty -e PLESK_12_5_30-dist -e PLESK_12_5_30-thirdparty -e PMM_0.1.10-dist -e PMM_0.1.10-thirdparty -e PPB_12_5_29-dist -e PPB_12_5_29-thirdparty -e SITEBUILDER_12_5_29-dist -e SITEBUILDER_12_5_29-thirdparty -p -l /var/log/plesk/install/autoinstaller3.log -i plesk-py27 -i plesk-py27-dnspython -i plesk-py27-ecdsa -i plesk-py27-paramiko -i plesk-py27-psycopg2 -i plesk-py27-pyasn1 -i plesk-py27-pycrypto -i plesk-py27-pysmb -i plesk-py27-pyyaml --tries=3
5957 pts/2    S+     0:00  |               \_ /bin/sh /var/tmp/rpm-tmp.UaDPxS 1
5958 pts/2    D+     0:00  |                   \_ /sbin/ldconfig
5876 ?        Ss     0:00  \_ sshd: root@pts/3
5878 pts/3    Ss     0:00      \_ -bash
5959 pts/3    R+     0:00          \_ ps xaf
4969 ?        Sl     0:00 /sbin/rsyslogd -i /var/run/syslogd.pid -c 5

The interested lines contains words yum or yum_install and autoinstaller or installer. First column in output it's their PID files.

2. Attempt to soft stop this processes with next command (I got pids from previous output, you should got your own):
kill -TERM 5848 5947

3. If processess still exists (check that in 1.) we will hard stop of it:
kill -KILL 5848 5947

4. Also, you may rebuild rpm database. See http://kb.odin.com/en/124100 for details, or do next steps:
Code:
# cp -rfv /var/lib/rpm /var/lib/rpm.backup
# rm -rf /var/lib/rpm/__db.*
# rpm --rebuilddb -vv

If you have troubles with determining pid file post your ps xaf | grep -C4 "installer\|yum" | grep -v grep or send me private message with it
 
thank you again!
i got the PID but i see 3 fail3ban lines as well so i thought i better post it here before ... killing
Code:
# ps xaf | grep -C4 "installer\|yum" | grep -v grep
3134 ?        Ss     1:14 /usr/sbin/sshd
8716 ?        Ss     0:01  \_ sshd: root@pts/0
8724 pts/0    Ss     0:00  |   \_ -bash
20665 pts/0    R+     0:00  |       \_ ps xaf
10166 ?        Ss     0:00  \_ sshd: root@notty
10168 ?        Ss     0:00  |   \_ /usr/libexec/openssh/sftp-server
20663 ?        Ss     0:00  \_ sshd: [accepted]
--
31703 ?        S      0:00 /usr/bin/python -Estt /usr/local/psa/admin/sbin/f2bmn                  g --status
31706 ?        S      0:00  \_ /bin/sh /sbin/service fail2ban status
31711 ?        S      0:00      \_ /bin/bash /etc/init.d/fail2ban status
31714 ?        S      0:00          \_ /usr/bin/python2.6 /usr/bin/fail2ban-clie                  nt status
23229 ?        Sl     6:49 /var/cache/parallels_installer/parallels_installer_Ce                  ntOS_6_x86_64 --service-mode=components --enable-xml-output --ssl-cert /usr/loca                  l/psa/admin/conf/httpsd.pem --branch release,stable --web-interface --with-ssl -                  -disable-browser
23230 ?        S      0:07  \_ /var/cache/parallels_installer/parallels_installe                  r_CentOS_6_x86_64 --service-mode=components --enable-xml-output --ssl-cert /usr/                  local/psa/admin/conf/httpsd.pem --branch release,stable --web-interface --with-s                  sl --disable-browser
24345 ?        S      0:03  \_ /usr/bin/python /usr/local/psa/bin/yum_install -e                   PHP_5_2_17-dist -e PHP_5_2_17-thirdparty -e PHP_5_3_29-dist -e PHP_5_3_29-third                  party -e PHP_5_4_45-dist -e PHP_5_4_45-thirdparty -e PHP_5_5_29-dist -e PHP_5_5_                  29-thirdparty -e PHP_5_6_13-dist -e PHP_5_6_13-thirdparty -e PPB_12_0_18-dist -e                   PPB_12_0_18-thirdparty -e PSA_12_0_18-dist -e PSA_12_0_18-thirdparty -e SITEBUI                  LDER_12_0_7-dist -e SITEBUILDER_12_0_7-thirdparty -p -l /var/log/plesk/install/a                  utoinstaller3.log -i httpd -i mod_ssl -i psa-phpmyadmin -r fail2ban -r plesk-fai                  l2ban-configurator --tries=3
24752 ?        S      0:00      \_ /bin/sh /var/tmp/rpm-tmp.TSvD5Z 0
24753 ?        S      0:00          \_ /bin/sh /sbin/service fail2ban stop
24758 ?        S      0:00              \_ /bin/bash /etc/init.d/fail2ban stop
24761 ?        S      0:00                  \_ /usr/bin/python2.6 /usr/bin/fail2                  ban-client stop
so should i just :
kill -TERM 24345
or better kill all "fail2ban stop"?
 
It's better kill "fail2ban-client stop" and also "fail2ban-client status". And if you do this, you don't need to kill yum_install or autoinstaller or rebuild rpm database
 
Last edited:
Greaaat!! Killed them all and the installation continued and finished!

thanx a million Mizar!

EDIT No nothing suspicious. what could it be suspicious...? The only thing is that the last log is 8 September, the day it stopped working....
 
Back
Top