Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx无法启动 #9

Open
hello-mr-wang opened this issue Oct 6, 2024 · 0 comments
Open

nginx无法启动 #9

hello-mr-wang opened this issue Oct 6, 2024 · 0 comments

Comments

@hello-mr-wang
Copy link

hello-mr-wang commented Oct 6, 2024

[安装完成后自启动然后就这样了
● nginx.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 日 2024-10-06 17:31:11 CST; 24min ago
Process: 1099 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=1/FAILURE)
Process: 1087 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS)

10月 06 17:31:11 Cent7 systemd[1]: Starting The nginx HTTP and reverse proxy server...
10月 06 17:31:11 Cent7 nginx[1099]: nginx: [emerg] unknown directive "Settings" in /etc/nginx/nginx.conf:58
10月 06 17:31:11 Cent7 nginx[1099]: nginx: configuration file /etc/nginx/nginx.conf test failed
10月 06 17:31:11 Cent7 systemd[1]: nginx.service: control process exited, code=exited status=1
10月 06 17:31:11 Cent7 systemd[1]: Failed to start The nginx HTTP and reverse proxy server.
10月 06 17:31:11 Cent7 systemd[1]: Unit nginx.service entered failed state.
10月 06 17:31:11 Cent7 systemd[1]: nginx.service failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant