Hello,
after upgrading a computer from Debian 11 to Debian 12, I am unable to
start apache2 by systemd. Even configuring the apache2 package hangs
forever, if I do not kill the related processes and edit /var/lib/dpkg/info/apache2.postinst, commenting out all lines where
apache2 is tried to be started.
Trying to explicitly start apache2 for the CLI:
1. systemctl start apache2
hangs
2. cp /etc/init.d/apache2 /root
/root/apache2 start
hangs
3. The only method I found so far that works, from the CLI:
. /etc/apache2/envvars
export APACHE_STARTED_BY_SYSTEMD=true
apache2ctl start
Any idea?
after upgrading a computer from Debian 11 to Debian 12, I am unable to
start apache2 by systemd.
# systemctl status apache2
# apachectl configtest
# journalctl -u apache2
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 146:03:02 |
Calls: | 10,383 |
Calls today: | 8 |
Files: | 14,054 |
D/L today: |
2 files (1,861K bytes) |
Messages: | 6,417,699 |