AnoopAlias / AUTOM8N

AUTOM8N is a WHM/cPanel plugin providing a DNS load-balanced, high available, horizontally scaling webstack and offering active-active-redundancy-high-availability-and-native-nginx-on-cpanel
https://autom8n.com/
GNU General Public License v3.0
107 stars 53 forks source link

nginx stopped in slave for ssl error #680

Open sincerbex opened 2 years ago

sincerbex commented 2 years ago

i have a problem with nginx on the slave node then if i run /opt/nDeploy/scripts/attempt_autofix.sh

result:

`Attempting to regenerate all nginx conf
ConfGen:: bk
ConfGen:: coca
ConfGen:: ed
ConfGen:: ek
ConfGen:: ft
ConfGen:: fa
ConfGen:: hk
ConfGen:: ia
ConfGen:: i****a
ConfGen:: mi

Attempting to regenerate nginx default conf
!!! Removing conflicting mod_evasive ea-apache24-mod_evasive ea-apache24-mod_ruid2 ea-apache24-mod_http2 rpm
Plugin abilitati:fastestmirror, universal-hooks
Nessuna corrispondenza per l'argomento: ea-apache24-mod_ruid2
Nessuna corrispondenza per l'argomento: ea-apache24-mod_http2
Nessuna corrispondenza per l'argomento: ea-apache24-mod_evasive
Nessuna corrispondenza per l'argomento: mod_evasive
Nessun pacchetto marcato per la rimozione
Plugin abilitati:fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile

EA4: 31.22.112.31
cpanel-addons-production-feed: 31.22.112.31
cpanel-plugins: 31.22.112.31
base: pkg.adfinis.com
epel: pkg.adfinis.com
extras: pkg.adfinis.com
updates: pkg.adfinis.com
Il pacchetto ea-apache24-mod_remoteip-2.4.53-2.2.1.cpanel.x86_64 è già installato e aggiornato all'ultima versione
Niente da fare
Redirecting to /bin/systemctl reload nginx.service
Attempting to restart ndeploy_watcher daemon

but the problem persists, if i start nginx on slave: nginx -t nginx: [emerg] cannot load certificate "/var/cpanel/ssl/cpanel/mycpanel.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/var/cpanel/ssl/cpanel/mycpanel.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file) nginx: configuration file /etc/nginx/nginx.conf test failed How can I solve the problem?