Apache2 fails on boot, starts from cli

Paul <[email protected]> Sun, 31 Aug 2025 19:30:10 -0400
Newsgroups gmane.comp.apache.user
Organization Stormy Weather
Message-ID <[email protected]>
Need assistance please.  Two servers, one production, one backup, near 
identical hardware (8 core Intel CPUs, 64 Gib RAM) Ubuntu 20.04.6 LTS 
with security extension, Apache/2.4.41 (Ubuntu) running behind nginx 
proxy (nginx/1.18.0 (Ubuntu)), all apache2 conf, mod, sites and ports 
files identical.  No port conflict found using "# ss -tulpn"

Production server perfect, but on backup server boot, apache2 fails to 
start, then will start manually on command line and then runs perfectly, as:

● apache2.service - The Apache HTTP Server
      Loaded: loaded (/lib/systemd/system/apache2.service; enabled; 
vendor preset: enabled)
      Active: failed (Result: exit-code) since Sun 2025-08-31 22:46:13 
UTC; 51s ago
        Docs: https://httpd.apache.org/docs/2.4/
     Process: 965 ExecStart=/usr/sbin/apachectl start (code=exited, 
status=1/FAILURE)

Aug 31 22:46:12 server systemd[1]: Starting The Apache HTTP Server...
Aug 31 22:46:13 server apachectl[1002]: (99)Cannot assign requested 
address: AH00072: make_sock: could not bind to address 192.168.0.95:8442
Aug 31 22:46:13 server apachectl[1002]: no listening sockets available, 
shutting down
Aug 31 22:46:13 server apachectl[1002]: AH00015: Unable to open logs
Aug 31 22:46:13 server apachectl[965]: Action 'start' failed.
Aug 31 22:46:13 server apachectl[965]: The Apache error log may have 
more information.
Aug 31 22:46:13 server systemd[1]: apache2.service: Control process 
exited, code=exited, status=1/FAILURE
Aug 31 22:46:13 server systemd[1]: apache2.service: Failed with result 
'exit-code'.
Aug 31 22:46:13 server systemd[1]: Failed to start The Apache HTTP Server.

paul@server:/$ sudo service apache2 start

paul@server:/$ sudo systemctl status apache2
● apache2.service - The Apache HTTP Server
      Loaded: loaded (/lib/systemd/system/apache2.service; enabled; 
vendor preset: enabled)
      Active: active (running) since Sun 2025-08-31 22:47:48 UTC; 2s ago

Logs have nothing relevant (a minor php warn note identical on both 
"poduction" and "backup" servers.)

I would truly appreciate thoughts, suggestions and help...

Thanks and warmest regards,
Paul