After last updates and instaling modsecurity for nginx, I have this error at restart!
Error: [2022-04-27 13:38:30 +0300] info [restartsrv_nginx] systemd failed to start the service “nginx” (The “/usr/bin/systemctl restart nginx.service --no-ask-password” command (process 46228) reported error number 1 when it ended.): Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details. Waiting for “nginx” to start ………failed. Cpanel::Exception::Services::StartError Service Status undefined status from Cpanel::ServiceManager::Services::Nginx Service Error (XID jjrxxh) The “nginx” service failed to start. Startup Log Apr 27 13:38:30 hosting.crowds.ro systemd[1]: Starting nginx - high performance web server... Apr 27 13:38:30 hosting.crowds.ro nginx[46229]: nginx: [emerg] dlopen() "/etc/nginx/modules/ngx_http_modsecurity_module.so" failed (libmodsecurity.so.3: cannot open shared object file: No such file or directory) in /etc/nginx/conf.d/modules/ngx_http_modsecurity_module.conf:1 Apr 27 13:38:30 hosting.crowds.ro systemd[1]: nginx.service: control process exited, code=exited status=1 Apr 27 13:38:30 hosting.crowds.ro systemd[1]: Failed to start nginx - high performance web server. Apr 27 13:38:30 hosting.crowds.ro systemd[1]: Unit nginx.service entered failed state. Apr 27 13:38:30 hosting.crowds.ro systemd[1]: nginx.service failed. Log Messages Apr 27 13:38:30 hosting nginx: nginx: [emerg] dlopen() "/etc/nginx/modules/ngx_http_modsecurity_module.so" failed (libmodsecurity.so.3: cannot open shared object file: No such file or directory) in /etc/nginx/conf.d/modules/ngx_http_modsecurity_module.conf:1 nginx has failed. Contact your system administrator if the service does not automagically recover.
Error: [2022-04-27 13:38:30 +0300] info [restartsrv_nginx] systemd failed to start the service “nginx” (The “/usr/bin/systemctl restart nginx.service --no-ask-password” command (process 46228) reported error number 1 when it ended.): Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details. Waiting for “nginx” to start ………failed. Cpanel::Exception::Services::StartError Service Status undefined status from Cpanel::ServiceManager::Services::Nginx Service Error (XID jjrxxh) The “nginx” service failed to start. Startup Log Apr 27 13:38:30 hosting.crowds.ro systemd[1]: Starting nginx - high performance web server... Apr 27 13:38:30 hosting.crowds.ro nginx[46229]: nginx: [emerg] dlopen() "/etc/nginx/modules/ngx_http_modsecurity_module.so" failed (libmodsecurity.so.3: cannot open shared object file: No such file or directory) in /etc/nginx/conf.d/modules/ngx_http_modsecurity_module.conf:1 Apr 27 13:38:30 hosting.crowds.ro systemd[1]: nginx.service: control process exited, code=exited status=1 Apr 27 13:38:30 hosting.crowds.ro systemd[1]: Failed to start nginx - high performance web server. Apr 27 13:38:30 hosting.crowds.ro systemd[1]: Unit nginx.service entered failed state. Apr 27 13:38:30 hosting.crowds.ro systemd[1]: nginx.service failed. Log Messages Apr 27 13:38:30 hosting nginx: nginx: [emerg] dlopen() "/etc/nginx/modules/ngx_http_modsecurity_module.so" failed (libmodsecurity.so.3: cannot open shared object file: No such file or directory) in /etc/nginx/conf.d/modules/ngx_http_modsecurity_module.conf:1 nginx has failed. Contact your system administrator if the service does not automagically recover.