Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Start Nginx error report nginx: [emerg] getpwn

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. After the installation and configuration of Nginx, the only problem is to restart. An error was reported as follows:

[root@Centos01] # / usr/local/nginx/sbin/nginxnginx: [emerg] getpwnam ("nginx") failed

2. In a situation like this, Nginx users are not installed, or there may be a wrong number during creation (self-troubleshooting)

[root@Centos01] # useradd-M-s / sbin/nologin nginx

3. If you start it again, you won't make a mistake.

[root@Centos01] # / usr/local/nginx/sbin/nginx [root@Centos01] # netstat-anptu | grep nginxtcp 0 0 0.0 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0 of the anptu * LISTEN 9709/nginx: master

-this is the end of this article. Thank you for reading-

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report