I'm running a webserver apache2 version 2.4.10-10+deb8u12
certbot 0.10.2-1~bpo8+1
OS Debian 8.11
the certificate was renewed without issue but the post script wasn't able to restart apache server which cause a serious outage.
Logs show up the following :
2018-12-09 11:04:27,577:ERROR:certbot.hooks:Hook command "apachectl -k start" returned error code 1
2018-12-09 11:04:27,577:ERROR:certbot.hooks:Error output from apachectl:
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Generally when apache couldn't bind, it is because certbot is still running someway.
Do you have any information about that kind of bug ?
Yes, that the issue certbot temporary webserver didn’t stop on time.
The issue here is that certbot try to restart my apache server when is webserver wans’t stoppe successfully. So I guess there is something wrong with standalone mode.