Re: [users@httpd] Apache2 fails to listen on open port

2022-12-15 Thread Dan Nessett
Eliminated the Listen in sites-enabled/000-default.conf. That fixed the problem. Thanks for your help. Dan > On Dec 15, 2022, at 7:10 PM, Frank Gingras wrote: > > Dan, > > The error pertains to port 4443, not 443. You have to remove the duplicate > Listen directive for port 4443, and not 443

Re: [users@httpd] Apache2 fails to listen on open port

2022-12-15 Thread Frank Gingras
Dan, The error pertains to port 4443, not 443. You have to remove the duplicate Listen directive for port 4443, and not 443. On Thu, Dec 15, 2022 at 8:58 PM Dan Nessett wrote: > In case you are unfamiliar with the block comment approach using IgnoreBlockComment>, I used the traditional # comme

Re: [users@httpd] Apache2 fails to listen on open port

2022-12-15 Thread Dan Nessett
In case you are unfamiliar with the block comment approach using , I used the traditional # comment indication and got the same result: dnessett@Mount:/etc/apache2$ cat ports.conf # If you just change the port or add more ports here, you will likely also # have to change the VirtualHost statement

Re: [users@httpd] Apache2 fails to listen on open port

2022-12-15 Thread Dan Nessett
Following up on the mod_gnutls entry in ports.conf, I commented out the entry and restarted apache. It didn’t fix the problem. dnessett@Mount:/etc/apache2$ cat ports.conf # If you just change the port or add more ports here, you will likely also # have to change the VirtualHost statement in # /et

Re: [users@httpd] Apache2 fails to listen on open port

2022-12-15 Thread Frank Gingras
So you clearly had two listen directives for the same port; remove one. On Thu, Dec 15, 2022 at 8:30 PM Dan Nessett wrote: > Thanks. My understanding is "systemctl restart apache2” waits the > appropriate amount of time between the stop and start. > > Dan > > On Dec 15, 2022, at 5:44 PM, John Il

Re: [users@httpd] Apache2 fails to listen on open port

2022-12-15 Thread Dan Nessett
Thanks. My understanding is "systemctl restart apache2” waits the appropriate amount of time between the stop and start. Dan > On Dec 15, 2022, at 5:44 PM, John Iliffe wrote: > > Try > > systenctl httpd stop, > > then when ps -ef | grep httpd shows that httpd is gone > > systemctl httpd s

Re: [users@httpd] Apache2 fails to listen on open port

2022-12-15 Thread Dan Nessett
Thanks for the suggestions. Here are the results: dnessett@Mount:/etc/apache2$ grep -r Listen sites-available/000-default.conf:Listen localhost:4443 ssl; ports.conf:#Listen 80 ports.conf: Listen 4443 ports.conf: Listen 443 dnessett@Mount:/etc/apache2$ The ports.conf entry with Listen 443

Re: [users@httpd] Apache2 fails to listen on open port

2022-12-15 Thread Frank Gingras
Grep every single config file (recursively) for the Listen directive. On Thu, Dec 15, 2022 at 7:54 PM Daniel Ferradal wrote: > What does the apache error log say (not systemd)? > > Also, am I seeing right? you specified "Listen localhost:4443 ssl;" > with a semicolon at the end? > > Also specify

Re: [users@httpd] Apache2 fails to listen on open port

2022-12-15 Thread Daniel Ferradal
What does the apache error log say (not systemd)? Also, am I seeing right? you specified "Listen localhost:4443 ssl;" with a semicolon at the end? Also specify it with ips , don't use names with Listen directive. El vie, 16 dic 2022 a las 1:45, John Iliffe () escribió: > > Try > > systenctl http

Re: [users@httpd] Apache2 fails to listen on open port

2022-12-15 Thread John Iliffe
Try  systenctl httpd stop,  then when ps -ef | grep httpd shows that httpd is gone systemctl httpd start to give the system time to release all the resources. John == On Thu, 2022-12-15 at 17:28 -0700, Dan Nessett wrote: > Thanks for the info. However, I don’t believe any of the problems s

Re: [users@httpd] Apache2 fails to listen on open port

2022-12-15 Thread Dan Nessett
Thanks for the info. However, I don’t believe any of the problems suggested in the wiki apply.1. The output from both lsof and netstat -plant indicate no other process is using port 4443 either before or after apache2 is started2. There does not seem to be conflicting Listen commands in the apache

Re: [users@httpd] Apache2 fails to listen on open port

2022-12-15 Thread Frank Gingras
Consider our wiki article for this: https://cwiki.apache.org/confluence/display/HTTPD/CouldNotBindToAddress On Thu, Dec 15, 2022 at 5:16 PM Dan Nessett wrote: > I am attempting to set up apache with sslh. The latter is running fine, > but when I attempt to start the apache2 server, it fails wit

[users@httpd] Apache2 fails to listen on open port

2022-12-15 Thread Dan Nessett
I am attempting to set up apache with sslh. The latter is running fine, but when I attempt to start the apache2 server, it fails with the following message: dnessett@Mount:/etc/apache2/sites-available$ sudo systemctl restart apache2 Job for apache2.service failed because the control process exite