Hi,
For some time now when upgrading TW (which I do regularly using zypper dup --no-allow-vendor-change) when it comes to apache2-mod_php7, zypper halts. That is, it ends with the 100% installed message, and than it stops.
I have to "kill -9" it to free the terminal, and have to start zypper anew.
Anyone any idea whit might cause that?
cheers, Jogchum
<Sent it PM by accedent>
It has been a while since I got the opportunity to run these commands, but now the installation of apache2 stalls zypper again.
ps -ef | grep apache:
root 13713 7641 0 15:31 pts/1 00:00:00 rpm --root / --dbpath /var/lib/rpm -U --percent --noglob --force --nodeps -- /var/cache/zypp/packages/http-download.opensuse.org-4503a06a/x86_64/apache2-mod_wsgi-python3-4.6.8-2.2.x86_64.rpm
root 13720 13717 0 15:31 pts/1 00:00:00 vi /etc/sysconfig/apache2#
rpm -q --scripts apache2-mod_wsgi-python3:
postinstall scriptlet (using /bin/sh):
if ! /usr/sbin/a2enmod -q wsgi; then
/usr/sbin/a2enmod wsgi
fi
postuninstall scriptlet (using /bin/sh):
if [ "$1" = "0" ]; then
if a2enmod -q wsgi; then
/usr/sbin/a2enmod -d wsgi
fi
fi
postinstall scriptlet (using /bin/sh):
if ! /usr/sbin/a2enmod -q wsgi; then
/usr/sbin/a2enmod wsgi
fi
postuninstall scriptlet (using /bin/sh):
if [ "$1" = "0" ]; then
if a2enmod -q wsgi; then
/usr/sbin/a2enmod -d wsgi
fi
fi
If I run " /usr/sbin/a2enmod -q wsgi" by hand, it stalls too, and if I kill it, the meaagage on the terminal is "/etc/sysconfig/apache2: regel 200: 31751 Geëlimineerd (eliminated in Dutch)
The file /etc/sysconfig/apache2# contains on line 200 the line "vi /etc/sysconfig/apache2#" a self-referral.
If I kill the "rpm --root <...>" line, on the terminal that
runs the zypper dup the message is
Installation of apache2-mod_wsgi-python3-4.6.8-2.2.x86_64 fialed:
Error: Subprocess failed. Error: RPM filed: Vim: Warning: Output is not to a terminal
zypper halts again on apache2-mod_php7-7.4.3-1.2.x86_64.rpm, and here also it is apparently the command "vi /etc/sysconfig/apache2#:" where the process halts.
If I kill the several vi-processes from the postinstall script, zypper answers with
/usr/sbin/a2enmod: line 65: /etc/sysconfig/apache2@bin: No such file or directory
/usr/sbin/a2enmod: line 65: /etc/sysconfig/apache2@boot: No such file or directory
/usr/sbin/a2enmod: line 65: /etc/sysconfig/apache2@dev: No such file or directory
/usr/sbin/a2enmod: line 65: /etc/sysconfig/apache2@etc: No such file or directory
/usr/sbin/a2enmod: line 65: /etc/sysconfig/apache2@home: No such file or directory
/usr/sbin/a2enmod: line 65: /etc/sysconfig/apache2@lib: No such file or directory
/usr/sbin/a2enmod: line 65: /etc/sysconfig/apache2@lib64: No such file or directory
/usr/sbin/a2enmod: line 65: /etc/sysconfig/apache2@mnt: No such file or directory
/usr/sbin/a2enmod: line 65: /etc/sysconfig/apache2@opt: No such file or directory
/usr/sbin/a2enmod: line 65: /etc/sysconfig/apache2@proc: No such file or directory
/usr/sbin/a2enmod: line 65: /etc/sysconfig/apache2@root: No such file or directory
/usr/sbin/a2enmod: line 65: /etc/sysconfig/apache2@run: No such file or directory
/usr/sbin/a2enmod: line 65: /etc/sysconfig/apache2@sbin: No such file or directory
/usr/sbin/a2enmod: line 65: /etc/sysconfig/apache2@selinux: No such file or directory
/usr/sbin/a2enmod: line 65: /etc/sysconfig/apache2@srv: No such file or directory
/usr/sbin/a2enmod: line 65: /etc/sysconfig/apache2@sys: No such file or directory
/usr/sbin/a2enmod: line 65: /etc/sysconfig/apache2@tmp: No such file or directory
/usr/sbin/a2enmod: line 65: /etc/sysconfig/apache2@usr: No such file or directory
/usr/sbin/a2enmod: line 65: /etc/sysconfig/apache2@var: No such file or directory
Any idea what to do to update apache2?