无法在现有 Plesk 机器上运行 NGINX

问题描述

我正在运行 Plesk 机器并且我想启用 NGINX。这是一台带有运行站点的现有机器。当我启用 NGINX 并通过故障排除程序重建配置文件时。然后我收到以下错误消息。

Error: Can not reconfigure web server configurations: Unable to execute httpdmng: Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-server
[1] => -no-restart
)

Details: [2020-12-21 08:27:32.168] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/nginx-config' '-t'] with exit code [1]
[2020-12-21 08:27:32.360] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/nginx-config' '-t'] with exit code [1]
[2020-12-21 08:27:32.361] ERR [panel] Apache config (16085356490.64770500) generation failed: Template_Exception: nginx: [emerg] cannot load certificate "/usr/local/psa/var/certificates/cert-LUjifJ": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/psa/var/certificates/cert-LUjifJ','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
nginx: [emerg] cannot load certificate "/usr/local/psa/var/certificates/cert-LUjifJ": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/psa/var/certificates/cert-LUjifJ','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed


Error: New configuration files for the Apache web server were not created due to the errors in configuration templates: nginx: [emerg] cannot load certificate "/usr/local/psa/var/certificates/cert-LUjifJ": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/psa/var/certificates/cert-LUjifJ','r') error:2006D080:BIO routines:BIO_new_file:no such file) nginx: configuration file /etc/nginx/nginx.conf test failed. Search in KB

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...