title: kestrel-hellomvc.service: Failed at step USER spawning /usr/bin/dotnet: No such process
body: <p>I was following the tutorial <a href="https://docs.microsoft.com/en-us/aspnet/core/publishing/linuxproduction" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/aspnet/core/publishing/linuxproduction</a> on publishing asp.net core project on Nginx, the previous steps all seem successful, but while</p>
  <pre><code>systemctl start kestrel-hellomvc.service
  systemctl status kestrel-hellomvc.service
  </code></pre>
  <p>I got</p>
  <pre><code>kestrel-hellomvc.service - Example .NET Web API Application running on Ubuntu
     
  Loaded: loaded (/etc/systemd/system/kestrel-hellomvc.service; enabled; vendor preset: enabled)
  Active: failed (Result: exit-code) since Mon 2017-04-24 03:12:42 UTC; 8s ago
  Process: 4285 ExecStart=/usr/bin/dotnet /home/84999/Demo4/Demo4.dll (code=exited, status=217/USER)
  Main PID: 4285 (code=exited, status=217/USER)
  
  Apr 24 03:12:42 instance-5 systemd[1]: Started Example .NET Web API Application running on Ubuntu.
  Apr 24 03:12:42 instance-5 systemd[4285]: kestrel-hellomvc.service: Failed at step USER spawning /usr/bin/dotnet: No such process
  Apr 24 03:12:42 instance-5 systemd[1]: kestrel-hellomvc.service: Main process exited, code=exited, status=217/USER
  Apr 24 03:12:42 instance-5 systemd[1]: kestrel-hellomvc.service: Unit entered failed state.
  Apr 24 03:12:42 instance-5 systemd[1]: kestrel-hellomvc.service: Failed with result 'exit-code'.
  </code></pre>
  <p>Does anyone know the solution, it seems I don't have the <code>/usr/bin/dotnet</code> folder.</p>