nginx-autoinstall
nginx-autoinstall copied to clipboard
/usr/sbin/nginx: No such file or directory
I had this issue on an existing system and a fresh install of debian 10
- install debian 10
- run the repositories script as headless
- no executable /usr/sbin/nginx when the service is automatically started at the end of the script
user@nginxv3:~$ sudo journalctl -xe
Jan 06 12:56:12 nginxv3 systemd[26829]: nginx.service: Failed to execute command: No such file or directory
Jan 06 12:56:12 nginxv3 systemd[26829]: nginx.service: Failed at step EXEC spawning /usr/sbin/nginx: No such file or directory
-- Subject: Process /usr/sbin/nginx could not be executed
I had the same error and the problem was that it didn't installed nginx because i had newer dependency's installed on my system. Removed them and the script worked fine.