nginx-autoinstall icon indicating copy to clipboard operation
nginx-autoinstall copied to clipboard

/usr/sbin/nginx: No such file or directory

Open Reverse256 opened this issue 3 years ago • 1 comments

I had this issue on an existing system and a fresh install of debian 10

  1. install debian 10
  2. run the repositories script as headless
  3. 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

Reverse256 avatar Jan 06 '22 21:01 Reverse256

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.

Creativi64 avatar Mar 15 '22 12:03 Creativi64