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

Error while restarting nginx #10

Open
stevehan12138 opened this issue Jan 2, 2020 · 0 comments
Open

Error while restarting nginx #10

stevehan12138 opened this issue Jan 2, 2020 · 0 comments

Comments

@stevehan12138
Copy link

When I was on the last step trying to restart Nginx, it did not work.
`● 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 Thu 2020-01-02 19:34:54 GMT; 11s ago
Docs: man:nginx(8)
Process: 20265 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)

Jan 02 19:34:54 raspberrypi systemd[1]: Starting A high performance web server and a reverse proxy server...
Jan 02 19:34:54 raspberrypi nginx[20265]: nginx: [emerg] open() "/etc/nginx/upstreams/origin-domains.conf" failed (2: No such file or directory) in /etc/nginx/upstreams/origin.conf:4 Jan 02 19:34:54 raspberrypi nginx[20265]: nginx: configuration file /etc/nginx/nginx.conf test failed
Jan 02 19:34:54 raspberrypi systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Jan 02 19:34:54 raspberrypi systemd[1]: nginx.service: Failed with result 'exit-code'.
Jan 02 19:34:54 raspberrypi systemd[1]: Failed to start A high performance web server and a reverse proxy server.`

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