Welcome! Log In Create A New Profile

Advanced

Weird privilege errors on Ubuntu 20.04

hgv
June 08, 2021 02:48PM
I wonder what can cause these weird error log entries? The log entries indicate a PID which doesn’t exist. Does nginx launch some temporary process when it starts?

Nginx 1.21.0 on Ubuntu 20.04.

root@k2:~# systemctl restart nginx

root@k2:~# tail /var/log/nginx/error.log
2021/06/08 21:25:32 [warn] 1287733#1287733: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:21
2021/06/08 21:25:32 [emerg] 1287733#1287733: cannot load certificate key "/etc/ssl/private/nginx-selfsigned.key": BIO_new_file() failed (SSL: error:0200100D:system library:fopen:Permission denied:fopen('/etc/ssl/private/nginx-selfsigned.key','r') error:2006D002:BIO routines:BIO_new_file:system lib)

root@k2:~# ls -lh /etc/ssl/private/ |grep selfsigned
-rw-r----- 1 root ssl-cert 1.7K Jul 8 17:12 nginx-selfsigned.key

root@k2:~# cat /etc/nginx/nginx.conf |grep ^user
user www-data;

root@k2:~# ps -auxw |grep nginx
root 1287600 0.0 0.0 56148 6504 ? Ss 21:25 0:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
www-data 1287601 0.7 0.1 58544 15652 ? S 21:25 0:05 nginx: worker process
www-data 1287602 0.0 0.1 57556 13696 ? S 21:25 0:00 nginx: worker process
www-data 1287603 0.0 0.1 56392 9184 ? S 21:25 0:00 nginx: cache manager process


_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Weird privilege errors on Ubuntu 20.04

hgv June 08, 2021 02:48PM

Re: Weird privilege errors on Ubuntu 20.04

Sergey A. Osokin June 08, 2021 03:14PM

Re: Weird privilege errors on Ubuntu 20.04

hgv June 08, 2021 03:57PM

Re: Weird privilege errors on Ubuntu 20.04

Sergey A. Osokin June 08, 2021 05:12PM

Re: Weird privilege errors on Ubuntu 20.04

hgv June 08, 2021 06:02PM

Re: Weird privilege errors on Ubuntu 20.04

Sergey A. Osokin June 08, 2021 07:02PM

Re: Weird privilege errors on Ubuntu 20.04

hgv June 09, 2021 11:46AM

Re: Weird privilege errors on Ubuntu 20.04

Sergey A. Osokin June 09, 2021 12:46PM

Re: Weird privilege errors on Ubuntu 20.04

hgv June 09, 2021 01:43PM

Re: Weird privilege errors on Ubuntu 20.04

hgv June 09, 2021 01:50PM

Re: Weird privilege errors on Ubuntu 20.04

Sergey A. Osokin June 09, 2021 02:22PM

Re: Weird privilege errors on Ubuntu 20.04

hgv June 09, 2021 02:55PM

Re: Weird privilege errors on Ubuntu 20.04

Sergey A. Osokin June 09, 2021 04:52PM

Re: Weird privilege errors on Ubuntu 20.04

hgv June 09, 2021 04:57PM

Re: Weird privilege errors on Ubuntu 20.04

Sergey A. Osokin June 09, 2021 05:04PM

Re: Weird privilege errors on Ubuntu 20.04

hgv June 09, 2021 05:16PM

Re: Weird privilege errors on Ubuntu 20.04

Sergey A. Osokin June 09, 2021 05:36PM

Re: Weird privilege errors on Ubuntu 20.04

hgv June 11, 2021 07:29PM

Re: Weird privilege errors on Ubuntu 20.04

Sergey A. Osokin June 11, 2021 09:24PM

Re: Weird privilege errors on Ubuntu 20.04

hgv June 14, 2021 01:01PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 78
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready