# myapp.service: Failed at step USER spawning /usr/bin/app: No such process

**Code:** `Failed at step USER spawning: No such process (status=217/USER)` · **Category:** Linux · **Seen on:** Linux

The `User=` in the unit doesn't exist.

## Meaning

Create the user (`useradd --system app`) or fix `User=`/`Group=`; check `getent passwd`.

## Common causes

- User not created
- Typo in User=
- LDAP user not available at boot

## Quick fix

1. `useradd --system --no-create-home app`
2. Fix User=
3. Add `After=network-online.target` for LDAP users

## Detailed fix by platform

### Shell

1. 

```bash
getent passwd app
sudo useradd --system --shell /usr/sbin/nologin app
```


## How to diagnose

1. **User** — exists?
2. **Group** — exists?
3. **Directory** — accessible?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/linux/systemd-failed-at-step-user-no-such-process)
