nginx server down
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 Sat 2023-09-09 23:29:55 UTC; 5s ago
Docs: man:nginx(8)
Process: 60405 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
CPU: 30ms
Sep 09 23:29:55 localhost systemd[1]: Starting A high performance web server and a reverse proxy server...
Sep 09 23:29:55 localhost nginx[60405]: nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (2: No such fi>
Sep 09 23:29:55 localhost nginx[60405]: 2023/09/09 23:29:55 [emerg] 60405#60405: open() "/var/log/nginx/access.log" failed (2: No such file o>
Sep 09 23:29:55 localhost nginx[60405]: nginx: configuration file /etc/nginx/nginx.conf test failed
Sep 09 23:29:55 localhost systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Sep 09 23:29:55 localhost systemd[1]: nginx.service: Failed with result 'exit-code'.
Sep 09 23:29:55 localhost systemd[1]: Failed to start A high performance web server and a reverse proxy server.
8 Replies
cd /var/www/pterodactyl
php artisan down
php artisan queue:restart
php artisan up
ive done that
still doesnt work ?
nope
is thats this is the error
nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (2: No such file or directory)
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
2023/09/09 23:34:38 [emerg] 60566#60566: open() "/var/log/nginx/access.log" failed (2: No such file or directory)
nginx: configuration file /etc/nginx/nginx.conf test failed
what if you try to reinstall nginx ?
shall i try it
just make a backup of folder on local machine
ok
how do i unstall blueprint