0

After the nginx update the other day I can't start it any more. Even if I reinstall it through apt-get purge nginx-full -y && apt-get autoremove -y && apt-get install nginx-full it doesn't start at all. This is the messeage I got when I run the command above: https://pastebin.com/Sus4CdFY (cause anti-spam i need to outsource)

and when I run this systemctl status nginx.service I get this:

● 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 Mon 2020-01-20 19:12:50 CET; 3min 7s ago
     Docs: man:nginx(8)
 Main PID: 13451 (code=exited, status=0/SUCCESS)

Jan 20 19:12:50 myServer systemd[1]: Starting A high performance web server and a reverse proxy server...
Jan 20 19:12:50 myServer nginx[7110]: nginx: [emerg] dlopen() "/usr/share/nginx/modules/ngx_http_auth_pam_module.so" failed (/usr/share/nginx/modules/ngx_http_auth_pam_module.so: cannot open shared object file: No such file or directory) in /etc/nginx/modules-enabled/50-mod-http-auth-pam.conf:1
Jan 20 19:12:50 myServer nginx[7110]: nginx: configuration file /etc/nginx/nginx.conf test failed
Jan 20 19:12:50 myServer systemd[1]: nginx.service: Control process exited, code=exited status=1
Jan 20 19:12:50 myServer systemd[1]: nginx.service: Failed with result 'exit-code'.
Jan 20 19:12:50 myServer systemd[1]: Failed to start A high performance web server and a reverse proxy server.

I am using Plesk with apache2 and nginx. Just to mention it, already visted the following post: Nginx installation error in Ubuntu 16.04 What is the best way to uninstall nginx How to fix the nginx package?

dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) (I used this to update nginx, i replaced the nvidia line with nginx-core_1.14.0-0ubuntu1.7_amd64.deb)

I hope some of you nice gentleman or gentlewoman could help me.

0 Answers0