Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ If another process is already bound to this port, onboarding fails.
Identify the conflicting process, verify it is safe to stop, and terminate it:

```console
$ lsof -i :18789
$ sudo lsof -i :18789
$ kill <PID>
```

Expand Down
4 changes: 2 additions & 2 deletions bin/lib/onboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -1574,13 +1574,13 @@ async function preflight() {
if (portCheck.pid) {
console.error(` sudo kill ${portCheck.pid}`);
} else {
console.error(` lsof -i :${port} -sTCP:LISTEN -P -n`);
console.error(` sudo lsof -i :${port} -sTCP:LISTEN -P -n`);
}
console.error(" # or, if it's a systemd service:");
console.error(" systemctl --user stop openclaw-gateway.service");
} else {
console.error(` Could not identify the process using port ${port}.`);
console.error(` Run: lsof -i :${port} -sTCP:LISTEN`);
console.error(` Run: sudo lsof -i :${port} -sTCP:LISTEN`);
}
console.error("");
console.error(` Detail: ${portCheck.reason}`);
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ If another process is already bound to this port, onboarding fails.
Identify the conflicting process, verify it is safe to stop, and terminate it:

```console
$ lsof -i :18789
$ sudo lsof -i :18789
$ kill <PID>
```

Expand Down
Loading