Failed to find executable /usr/sbin/ipsec in PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin Unable to find renew-hook command /usr/sbin/ipsec in the PATH. (PATH is /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin)
My web server is (include version):
Server version: Apache/2.4.29 (Ubuntu) Server built: 2018-10-03T14:41:08 Server’s Module Magic Number: 20120211:68 Server loaded: APR 1.6.3, APR-UTIL 1.6.1 Compiled using: APR 1.6.3, APR-UTIL 1.6.1 Architecture: 64-bit
The operating system my web server runs on is (include version):
It looks like you’re trying to renew a certificate and that you have a renewal hook script configured to run /usr/sbin/ipsec, which doesn’t exist. Do you know how this could have happened? Did you follow some kind of recipe when setting up the certificate previously that would have created this hook script? Or did someone at your hosting provider create it for you?
You can probably find out more about which script this is by running something like
I followed the basic instruction on certbot.eff.org for installing it on Ubuntu with Apache. I also got two certificates for the domains standior.com and cloud.standior.com which are working perfectly! I wanted to obtain a new one for wordpress.standior.com but when i try to start the bot, the error appears.
Interesting! That line is never present in the default Certbot release. Do you have any idea what might have added it?
You should be able to comment it out with a # at the beginning of that line in order to inhibit this behavior. (However, perhaps someone or something has put it there for a reason.)