Open andreagobetti opened 8 years ago
It kind of sounds like you have something going on that's causing Apache to hang when it tries to shutdown. While I haven't seen this particular issue on any Vesta server, I have seen Apache hiccup on restarts in other environments before.
Two things you might try:
Hi, thanks for your reply!
service httpd restart
has this kind of problem only after the execution of letsenrcypt-vestaservice httpd stop
fails, so unfortunately this doesn't helpservice httpd restart
in service httpd reload
solved the problem!+1
Please change to reload
, it solves the problem for me too. IIRC there's no need to restart the server when only changing the SSL params.
When the script tries to restart httpd after a certificate request I have the following error:
To resolve the problem I used:
lsof -i :8080
to see who was binding port 8080, and then i terminated manually the httpd processes that were listening on port 8080 using
kill -SIGTERM <pid>
I'm not sure it is strictly related with this project, but if it's not this can be helpful for other users experiencing similar problems
My server is running: CentOS release 6.7 Vesta 0.9.8 Apache 2.2.15 nginx 1.10.0