Gateway doesnt work when i only run 'openclaw gateway start'. it says it runs but agent doesnt work. if i leave a terminal window open using 'openclaw gateway' (no "start") then the agent works fine. Here is the error log from today:
If the gateway is supervised, stop it with: openclaw gateway stop
2026-02-13T03:00:33.072Z Port 18789 is already in use.
2026-02-13T03:00:33.073Z - pid 41697 aisandbox: openclaw-gateway (127.0.0.1:18789)
2026-02-13T03:00:33.073Z - Gateway already running locally. Stop it (openclaw gateway stop) or use a different port.
2026-02-13T03:00:33.077Z Gateway service appears loaded. Stop it first.
2026-02-13T03:00:33.078Z Tip: openclaw gateway stop
2026-02-13T03:00:33.078Z Or: launchctl bootout gui/$UID/ai.openclaw.gateway
2026-02-13T03:00:43.928Z Gateway failed to start: gateway already running (pid 41697); lock timeout after 5000ms
2026-02-12T19:01:49.042-08:00 Or: launchctl bootout gui/$UID/ai.openclaw.gateway
2026-02-13T03:01:55.326Z [imessage] imsg rpc: failed to parse permissionDenied(path: "/Users/aisandbox/Library/Messages/chat.db", underlying: authorization denied (code: 23)): Unexpected token 'p', "permission"... is not valid JSON
2026-02-13T03:01:55.856Z [imessage] imsg rpc: failed to parse permissionDenied(path: "/Users/aisandbox/Library/Messages/chat.db", underlying: authorization denied (code: 23)): Unexpected token 'p', "permission"... is not valid JSON
2026-02-13T03:01:57.939Z [imessage] imsg rpc: failed to parse permissionDenied(path: "/Users/aisandbox/Library/Messages/chat.db", underlying:
2026-02-13T03:22:26.942Z [imessage] imsg rpc not ready after 30000ms (Error: imsg rpc exited (code 1))
2026-02-13T03:22:26.945Z [imessage] [default] channel exited: imsg rpc not ready (Error: imsg rpc exited (code 1))