client: Cannot run keybase commands on Linux

When I run commands, I always get this error now:

$keybase id chris   
▶ INFO Forking background server with pid=28515
▶ ERROR dial unix /run/user/500/keybase/keybased.sock: connect: no such file or directory

my log id: 05a8b9009d74aaf89043691c

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 19 (9 by maintainers)

Most upvoted comments

I know this is old, but I experienced a similar issue on macOS Catalina and wanted to share the solution. Same solution as @asgeirn but different path to search under:

find ~/Library/Application\ Support/Keybase -name LOCK -delete

I know this is old, but I experienced a similar issue on macOS Catalina and wanted to share the solution. Same solution as @asgeirn but different path to search under:

find ~/Library/Application\ Support/Keybase -name LOCK -delete

This is perfect. Worked for me. [Mac OS Monterey]

Had an issue where keybase.service wasn’t starting after installing from Brew - first time. While installing there was this error [ERRO keybase install_darwin.go:755] 014 Error installing Keybase service: keybase.service isn't running (expecting pid=51550)

Tried the options below, but nothing worked…

$ keybase launchd list                                                                                 
keybase.service: Not Running exit=2 [Keybase]
keybase.kbfs: Running (pid=53701) [KBFS]
keybase.updater: Running (pid=51667) [Updater]
$ launchctl unload ~/Library/LaunchAgents/keybase.kbfs.plist && launchctl load ~/Library/LaunchAgents/keybase.kbfs.plist 
$ /usr/local/bin/keybase -d service 

Would error out with [ERRO keybase main.go:87] 042 resource temporarily unavailable

@slw07g fix above solved it

find ~/Library/Application\ Support/Keybase -name LOCK -delete