You are not logged in.
Apache was working fine but after last update of arch linux stop to start with this error:
░░ A start job for unit httpd.service has finished successfully.
Dec 15 11:58:19 user kernel: audit: type=1130 audit(1639553299.440:393): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=httpd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 15 11:58:19 user audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=httpd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 15 11:58:19 user httpd[12011]: httpd: Syntax error on line 175 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_wsgi.so into server: libpython3.9.so.1.0: cannot open shared object file: No such file or directory
Dec 15 11:58:19 user systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE
░░ An ExecStart= process belonging to unit httpd.service has exited.
Dec 15 11:58:19 user systemd[1]: httpd.service: Failed with result 'exit-code'.
░░ The unit httpd.service has entered the 'failed' state with result 'exit-code'.The mod_wsgi is already installed and it is the latest version and it is in the /etc/httpd/modules folder:
$ yay -Q mod_wsgi
mod_wsgi 4.9.0-2Offline
Dec 15 11:58:19 user httpd[12011]: httpd: Syntax error on line 175 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_wsgi.so into server: libpython3.9.so.1.0: cannot open shared object file: No such file or directoryLooks like your mod_wgsi pacakge was build against python 3.9 .
You need to rebuild it against latest python.
Edit the PKGBUILD and increase pkgrel from 2 to a higher number[1] , then rebuild with makepkg[2]
install with pacman -U .
[1] anything above 2 works, but using 2.1 will make it easier for your aur helper to detect when the aur package is updated .
[2] rebuilding somehing with makepkg / pacman is a bit of work but very easy, no idea how to do it with yay.
Last edited by Lone_Wolf (2021-12-15 12:13:59)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline