Solved nginx service fails to start on Debian 3CX

Status
Not open for further replies.

amatta

Customer
Joined
Aug 27, 2020
Messages
10
Reaction score
1
Hello,
I observed the disk was full and rebooted the server hoping to free up some space. What I witnessed was a disaster. While the disk space usage got reduced by 84%, however the nginx server failed to start with below message:

root@3cx:~# 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: enabled)
Active: failed (Result: exit-code) since Sat 2022-09-24 19:00:33 IST; 12min ago
Docs: man:nginx(8)

Sep 24 19:00:32 inpbx-3cx systemd[1]: Starting A high performance web server and a reverse proxy server...
Sep 24 19:00:33 inpbx-3cx nginx[459]: nginx: [emerg] PEM_read_bio_DHparams("/var/lib/3cxpbx/Bin/nginx/conf/Instance1/dhparam.pem") failed (SSL: error:0906D064:PEM routi
nes:PEM_read_bio:bad base64 decode)
Sep 24 19:00:33 inpbx-3cx nginx[459]: nginx: configuration file /etc/nginx/nginx.conf test failed
Sep 24 19:00:33 inpbx-3cx systemd[1]: nginx.service: Control process exited, code=exited status=1
Sep 24 19:00:33 inpbx-3cx systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Sep 24 19:00:33 inpbx-3cx systemd[1]: nginx.service: Unit entered failed state.
Sep 24 19:00:33 inpbx-3cx systemd[1]: nginx.service: Failed with result 'exit-code'.

Help appreciated
 
That was swift and to the point. Thanks a ton! I was able to resolve the problem following the steps provided.
 
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet