Skip to content

nginx stopped in slave for ssl error #680

Description

@sincerbex

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions