Hello,
Im having trouble with nginx service after running certbot renew:
sudo certbot renew --dry-run
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/office.projectcloud.site.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert not due for renewal, but simulating renewal for dry run
Plugins selected: Authenticator nginx, Installer nginx
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for office.projectcloud.site
Waiting for verification...
Cleaning up challenges
nginx: [error] open() "/run/nginx.pid" failed (2: No such file or directory)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
new certificate deployed with reload of nginx server; fullchain is
/etc/letsencrypt/live/office.projectcloud.site/fullchain.pem
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates below have not been saved.)
Congratulations, all renewals succeeded. The following certs have been renewed:
/etc/letsencrypt/live/office.projectcloud.site/fullchain.pem (success)
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates above have not been saved.)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
After that the result of nginx service is:
sudo systemctl status nginx
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset:>
Active: failed (Result: core-dump) since Wed 2021-01-13 15:14:28 CET; 32s >
Docs: man:nginx(8)
Process: 689 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_proces>
Process: 755 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (co>
Main PID: 827 (code=dumped, signal=SEGV)
Tasks: 0 (limit: 4654)
Memory: 11.3M
CGroup: /system.slice/nginx.service
Jan 13 15:12:25 onlyoffice-VirtualBox systemd[1]: Starting A high performance w>
Jan 13 15:12:26 onlyoffice-VirtualBox nginx[689]: nginx: [warn] "ssl_stapling" >
Jan 13 15:12:27 onlyoffice-VirtualBox nginx[755]: nginx: [warn] "ssl_stapling" >
Jan 13 15:12:27 onlyoffice-VirtualBox systemd[1]: Started A high performance we>
Jan 13 15:14:28 onlyoffice-VirtualBox systemd[1]: nginx.service: Main process e>
Jan 13 15:14:28 onlyoffice-VirtualBox systemd[1]: nginx.service: Killing proces>
Jan 13 15:14:28 onlyoffice-VirtualBox systemd[1]: nginx.service: Killing proces>
Jan 13 15:14:28 onlyoffice-VirtualBox systemd[1]: nginx.service: Killing proces>
Jan 13 15:14:28 onlyoffice-VirtualBox systemd[1]: nginx.service: Killing proces>
Jan 13 15:14:28 onlyoffice-VirtualBox systemd[1]: nginx.service: Failed with re>
lines 1-21/21 (END)...skipping...
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: core-dump) since Wed 2021-01-13 15:14:28 CET; 32s ago
Docs: man:nginx(8)
Process: 689 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 755 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Main PID: 827 (code=dumped, signal=SEGV)
Tasks: 0 (limit: 4654)
Memory: 11.3M
CGroup: /system.slice/nginx.service
Jan 13 15:12:25 onlyoffice-VirtualBox systemd[1]: Starting A high performance web server and a reverse proxy server...
Jan 13 15:12:26 onlyoffice-VirtualBox nginx[689]: nginx: [warn] "ssl_stapling" ignored, host not found in OCSP responder "r3.o.lencr.org" in the certificate "/etc/letsencrypt/live/office.projectcloud.site/ful>
Jan 13 15:12:27 onlyoffice-VirtualBox nginx[755]: nginx: [warn] "ssl_stapling" ignored, host not found in OCSP responder "r3.o.lencr.org" in the certificate "/etc/letsencrypt/live/office.projectcloud.site/ful>
Jan 13 15:12:27 onlyoffice-VirtualBox systemd[1]: Started A high performance web server and a reverse proxy server.
Jan 13 15:14:28 onlyoffice-VirtualBox systemd[1]: nginx.service: Main process exited, code=dumped, status=11/SEGV
Jan 13 15:14:28 onlyoffice-VirtualBox systemd[1]: nginx.service: Killing process 2117 (nginx) with signal SIGKILL.
Jan 13 15:14:28 onlyoffice-VirtualBox systemd[1]: nginx.service: Killing process 2118 (nginx) with signal SIGKILL.
Jan 13 15:14:28 onlyoffice-VirtualBox systemd[1]: nginx.service: Killing process 2117 (nginx) with signal SIGKILL.
Jan 13 15:14:28 onlyoffice-VirtualBox systemd[1]: nginx.service: Killing process 2118 (nginx) with signal SIGKILL.
Jan 13 15:14:28 onlyoffice-VirtualBox systemd[1]: nginx.service: Failed with result 'core-dump'.
Pls can someone help me to troubleshoot these errors. Im using Ubuntu 20.04, I have configured OnlyOffice Document Server. I cant start the server anymore, I have to restart the machine to start nginx server. So my problem begin after checking for certbot renew.
Thank you, I would appreciate any help.