root@DietPi:~# journalctl -u apache2
-- Journal begins at Tue 2023-01-24 15:17:01 GMT, ends at Wed 2023-01-25 09:55:06 GMT. --
Jan 24 15:17:21 DietPi systemd[1]: Starting The Apache HTTP Server...
Jan 24 15:17:21 DietPi apachectl[1088]: [Tue Jan 24 15:17:21.838613 2023] [:crit] [pid 1088] (38)Function not implemented: AH00141: Could not initialize random number generator
Jan 24 15:17:21 DietPi apachectl[1077]: Action 'start' failed.
Jan 24 15:17:21 DietPi apachectl[1077]: The Apache error log may have more information.
Jan 24 15:17:21 DietPi systemd[1]: **apache2.service: Control process exited, code=exited, status=1/FAILURE**
Jan 24 15:17:21 DietPi systemd[1]: **apache2.service: Failed with result 'exit-code'.**
Jan 24 15:17:21 DietPi systemd[1]: **Failed to start The Apache HTTP Server.**
and whilst at it…
root@DietPi:~# systemctl status apache2
systemctl cat apache2
**●** apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; disabled; vendor preset: enabled)
Active: **failed** (Result: exit-code) since Tue 2023-01-24 15:17:21 GMT; 18h ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 1077 ExecStart=/usr/sbin/apachectl start **(code=exited, status=1/FAILURE)**
Jan 24 15:17:21 DietPi systemd[1]: Starting The Apache HTTP Server...
Jan 24 15:17:21 DietPi apachectl[1088]: [Tue Jan 24 15:17:21.838613 2023] [:crit] [pid 1088] (38)Function not implemented: AH00141: Could not initialize random number generator
Jan 24 15:17:21 DietPi apachectl[1077]: Action 'start' failed.
Jan 24 15:17:21 DietPi apachectl[1077]: The Apache error log may have more information.
Jan 24 15:17:21 DietPi systemd[1]: **apache2.service: Control process exited, code=exited, status=1/FAILURE**
Jan 24 15:17:21 DietPi systemd[1]: **apache2.service: Failed with result 'exit-code'.**
Jan 24 15:17:21 DietPi systemd[1]: **Failed to start The Apache HTTP Server.**
**# /lib/systemd/system/apache2.service**
[Unit]
Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
Documentation=https://httpd.apache.org/docs/2.4/
[Service]
Type=forking
Environment=APACHE_STARTED_BY_SYSTEMD=true
ExecStart=/usr/sbin/apachectl start
ExecStop=/usr/sbin/apachectl graceful-stop
ExecReload=/usr/sbin/apachectl graceful
KillMode=mixed
PrivateTmp=true
Restart=on-abort
[Install]
WantedBy=multi-user.target
[:crit] [pid 1088] (38)Function not implemented: AH00141: Could not initialize random number generator
That will be it. Umm, I hope it is not a definit hardware/kernel limitation that is not working anymore with Apache2 on Bullseye. We can generate images with Lighttpd or Nginx pre-installed, if that is the case. Let me check.
Nothing we can do about it, as Allo never provided a newer kernel and there is no mainline support for this Actions semiconductor S500 SoC. However, we can generate a Lighttpd-based Allo GUI image.
think I’ll better go back to good 'ol “Buster”… if still available
(everything was working fine with that one, so lesson learned: if it ain’t broke, don’t fix it )
For server systems this is quite a dangerous point of view. The world around you moves and unsupported/unmaintained software gets security vulnerabilities which are abused increasingly.
-- Journal begins at Thu 2023-01-26 16:29:52 CET, ends at Thu 2023-01-26 16:56:36 CET. --
Jan 26 16:30:09 AlloUSBridge systemd[1]: Started Roon Bridge (DietPi).
Jan 26 16:30:09 AlloUSBridge systemd[1158]: roonbridge.service: Failed to apply ambient capabilities (before UID change): Operation not supported
Jan 26 16:30:09 AlloUSBridge systemd[1158]: roonbridge.service: Failed at step CAPABILITIES spawning /opt/roonbridge/start.sh: Operation not supported
Jan 26 16:30:09 AlloUSBridge systemd[1]: roonbridge.service: Main process exited, code=exited, status=218/CAPABILITIES
Jan 26 16:30:09 AlloUSBridge systemd[1]: roonbridge.service: Failed with result 'exit-code'.
tail: cannot open '/var/log/roonbridge/*' for reading: No such file or directory
mkdir: cannot create directory ‘/etc/systemd/system/roonbridge.service.d’: File exists
Failed to restart roonbridge.service: Unit roonbridge.service not found.
mkdir: cannot create directory ‘/etc/systemd/system/roonbridge.service.d’: File exists
Failed to restart roonbridge.service: Unit roonbridge.service not found.