On Sun, Aug 31, 2025 at 8:09 PM Frank Gingras <thu...@apache.org> wrote:

>
>
> On Sun, Aug 31, 2025 at 7:31 PM Paul <storm...@stormy.ca> wrote:
>
>> 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
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>> For additional commands, e-mail: users-h...@httpd.apache.org
>
>
> Either  192.168.0.95 <http://192.168.0.95:8442/> isn't a valid interface
> on your system, or you have more than one Listen directive for port 8442.
> Use grep with all your config files.
>

See  https://cwiki.apache.org/confluence/display/httpd/CouldNotBindToAddress

Reply via email to