[BUG] claude quits on startup

Resolved 💬 3 comments Opened Feb 13, 2026 by bmenard1 Closed Feb 16, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

claude quits instantly after starting. using ssh.

What Should Happen?

should not quit and allow the user to write something

Error Messages/Logs

Include in the report:                                                                                                                                       
  - OS: RHEL 8.5, glibc 2.28                                                                                                                                   
  - Working version: 2.1.29                                                                                                                                    
  - Broken versions: 2.1.32 and 2.1.39
  - Symptom: Interactive mode, -p, login, setup-token all exit instantly with code 0. --help and doctor work fine.
  - Debug log: /tmp/claude-debug.log (from the 2.1.39 run)
  - Node: v20.20.0 (not relevant since it uses the native binary)


more /tmp/claude-debug.log
2026-02-13T01:57:29.662Z ÆDEBUGÅ ÆinitÅ configureGlobalMTLS starting
2026-02-13T01:57:29.662Z ÆDEBUGÅ ÆinitÅ configureGlobalMTLS complete
2026-02-13T01:57:29.662Z ÆDEBUGÅ ÆinitÅ configureGlobalAgents starting
2026-02-13T01:57:29.662Z ÆDEBUGÅ ÆinitÅ configureGlobalAgents complete
2026-02-13T01:57:29.671Z ÆDEBUGÅ ÆSTARTUPÅ Loading MCP configs...
2026-02-13T01:57:29.677Z ÆDEBUGÅ ÆToolSearch:optimisticÅ mode=tst-auto, ENABLE_TOOL_SEARCH=undefined, result=true
2026-02-13T01:57:29.678Z ÆDEBUGÅ ÆSTARTUPÅ Running setup()...
2026-02-13T01:57:29.678Z ÆDEBUGÅ Found 0 plugins (0 enabled, 0 disabled)
2026-02-13T01:57:29.680Z ÆDEBUGÅ Loading skills from: managed=/etc/claude-code/.claude/skills, user=/home/menard/.claude/skills, project=ÆÅ
2026-02-13T01:57:29.681Z ÆDEBUGÅ Passes: Using fresh cached eligibility data
2026-02-13T01:57:29.681Z ÆDEBUGÅ Error log sink initialized
2026-02-13T01:57:29.685Z ÆDEBUGÅ getPluginSkills: Processing 0 enabled plugins
2026-02-13T01:57:29.685Z ÆDEBUGÅ Total plugin skills loaded: 0
2026-02-13T01:57:29.685Z ÆDEBUGÅ Total plugin commands loaded: 0
2026-02-13T01:57:29.685Z ÆDEBUGÅ ÆSTARTUPÅ setup() completed in 7ms
2026-02-13T01:57:29.685Z ÆDEBUGÅ ÆSTARTUPÅ Loading commands and agents...
2026-02-13T01:57:29.686Z ÆDEBUGÅ Registered 0 hooks from 0 plugins
2026-02-13T01:57:29.686Z ÆDEBUGÅ Total plugin agents loaded: 0
2026-02-13T01:57:29.687Z ÆDEBUGÅ Loaded 0 unique skills (0 unconditional, 0 conditional, managed: 0, user: 0, project: 0, additional: 0, legacy commands: 0)
2026-02-13T01:57:29.688Z ÆDEBUGÅ getSkills returning: 0 skill dir commands, 0 plugin skills, 2 bundled skills
2026-02-13T01:57:29.689Z ÆDEBUGÅ ÆSTARTUPÅ Commands and agents loaded in 4ms
2026-02-13T01:57:29.689Z ÆDEBUGÅ Layout engine: yoga
2026-02-13T01:57:29.741Z ÆDEBUGÅ Acquired PID lock for 2.1.39 (PID 1706684)
2026-02-13T01:57:29.741Z ÆDEBUGÅ Acquired PID lock on running version: /home/menard/.local/share/claude/versions/2.1.39
2026-02-13T01:57:29.747Z ÆDEBUGÅ ÆSTARTUPÅ Running showSetupScreens()...
2026-02-13T01:57:29.750Z ÆDEBUGÅ ÆkeybindingsÅ KeybindingSetup initialized with 101 bindings, 0 warnings
2026-02-13T01:57:29.777Z ÆDEBUGÅ ÆkeybindingsÅ Watching for changes to /home/menard/.claude/keybindings.json
2026-02-13T01:57:29.806Z ÆDEBUGÅ ÆClaude in ChromeÅ Extension not found in any browser
2026-02-13T01:57:30.853Z ÆDEBUGÅ Grove: Using fresh cached config
2026-02-13T01:57:30.882Z ÆDEBUGÅ ÆPerfettoÅ initializePerfettoTracing called, env value: undefined
2026-02-13T01:57:30.884Z ÆDEBUGÅ Git remote URL: null
2026-02-13T01:57:30.884Z ÆDEBUGÅ No git remote URL found
2026-02-13T01:57:30.884Z ÆDEBUGÅ Not in a GitHub repository, skipping path mapping update
2026-02-13T01:57:31.033Z ÆDEBUGÅ ÆSTARTUPÅ showSetupScreens() completed in 1286ms
2026-02-13T01:57:31.033Z ÆDEBUGÅ ÆLSP MANAGERÅ initializeLspServerManager() called
2026-02-13T01:57:31.033Z ÆDEBUGÅ ÆLSP MANAGERÅ Created manager instance, state=pending
2026-02-13T01:57:31.033Z ÆDEBUGÅ ÆLSP MANAGERÅ Starting async initialization (generation 1)
2026-02-13T01:57:31.034Z ÆDEBUGÅ ÆAPI:requestÅ Creating client, ANTHROPIC_CUSTOM_HEADERS present: false, has Authorization header: false
2026-02-13T01:57:31.034Z ÆDEBUGÅ ÆAPI:authÅ OAuth token check starting
2026-02-13T01:57:31.034Z ÆDEBUGÅ Passes: Using fresh cached eligibility data
2026-02-13T01:57:31.036Z ÆDEBUGÅ Total LSP servers loaded: 0
2026-02-13T01:57:31.036Z ÆDEBUGÅ ÆSTARTUPÅ MCP configs loaded in 1365ms
2026-02-13T01:57:31.039Z ÆDEBUGÅ ÆReconnectionÅ computeInitialTeamContext: No teammate context set (not a teammate)
2026-02-13T01:57:31.096Z ÆDEBUGÅ Writing to temp file: /home/menard/.claude.json.tmp.1706684.1770947851096
2026-02-13T01:57:31.097Z ÆDEBUGÅ Preserving file permissions: 100600
2026-02-13T01:57:31.138Z ÆDEBUGÅ Temp file written successfully, size: 7779 bytes
2026-02-13T01:57:31.138Z ÆDEBUGÅ Applied original permissions to temp file
2026-02-13T01:57:31.138Z ÆDEBUGÅ Renaming /home/menard/.claude.json.tmp.1706684.1770947851096 to /home/menard/.claude.json
2026-02-13T01:57:31.139Z ÆDEBUGÅ File /home/menard/.claude.json written atomically
2026-02-13T01:57:31.142Z ÆDEBUGÅ ÆLSP SERVER MANAGERÅ getAllLspServers returned 0 server(s)
2026-02-13T01:57:31.142Z ÆDEBUGÅ LSP manager initialized with 0 servers
2026-02-13T01:57:31.142Z ÆDEBUGÅ ÆAPI:authÅ OAuth token check complete
2026-02-13T01:57:31.144Z ÆDEBUGÅ Getting matching hook commands for SessionStart with query: startup
2026-02-13T01:57:31.144Z ÆDEBUGÅ Found 0 hook matchers in settings
2026-02-13T01:57:31.144Z ÆDEBUGÅ Matched 0 unique hooks for query "startup" (0 before deduplication)
2026-02-13T01:57:31.144Z ÆDEBUGÅ installed_plugins.json doesn't exist, returning empty V2 object
2026-02-13T01:57:31.144Z ÆDEBUGÅ Initialized versioned plugins system with 0 plugins
2026-02-13T01:57:31.157Z ÆDEBUGÅ LSP server manager initialized successfully
2026-02-13T01:57:31.157Z ÆDEBUGÅ LSP notification handlers registered successfully for all 0 server(s)
2026-02-13T01:57:31.349Z ÆDEBUGÅ ÆAPI:requestÅ Creating client, ANTHROPIC_CUSTOM_HEADERS present: false, has Authorization header: false
2026-02-13T01:57:31.349Z ÆDEBUGÅ ÆAPI:authÅ OAuth token check starting
2026-02-13T01:57:31.349Z ÆDEBUGÅ ÆAPI:authÅ OAuth token check complete
2026-02-13T01:57:31.354Z ÆDEBUGÅ ÆkeybindingsÅ KeybindingSetup initialized with 101 bindings, 0 warnings
2026-02-13T01:57:31.389Z ÆDEBUGÅ High write ratio: blit=0, write=1068 (100.0% writes), screen=20x136
2026-02-13T01:57:31.395Z ÆDEBUGÅ ÆREPL:mountÅ REPL mounted, disabled=false
2026-02-13T01:57:31.397Z ÆDEBUGÅ Official marketplace auto-install skipped: already_attempted
2026-02-13T01:57:31.397Z ÆDEBUGÅ performStartupChecks called
2026-02-13T01:57:31.397Z ÆDEBUGÅ Starting background plugin installations
2026-02-13T01:57:31.397Z ÆDEBUGÅ performBackgroundPluginInstallations called
2026-02-13T01:57:31.399Z ÆDEBUGÅ No CLAUDE.md/rules files found
2026-02-13T01:57:31.405Z ÆDEBUGÅ Watching for changes in setting files /home/menard/.claude/settings.json, /home/menard/.claude/settings.local.json...
2026-02-13T01:57:31.410Z ÆDEBUGÅ Æclaudeai-mcpÅ Checking gate (cached)...
2026-02-13T01:57:31.411Z ÆDEBUGÅ Æclaudeai-mcpÅ Gate returned: false
2026-02-13T01:57:31.411Z ÆDEBUGÅ Æclaudeai-mcpÅ Disabled via gate
2026-02-13T01:57:31.411Z ÆDEBUGÅ Setting installation status: 0 marketplaces, 0 installable plugins, 0 uninstallable plugins
2026-02-13T01:57:31.412Z ÆDEBUGÅ Loaded plugins - Enabled: 0, Disabled: 0, Commands: 0, Agents: 0, Errors: 0
2026-02-13T01:57:31.417Z ÆDEBUGÅ Org fast mode: disabled (extra_usage_disabled)
2026-02-13T01:57:31.429Z ÆDEBUGÅ Fast mode unavailable: Fast mode requires extra usage billing · /extra-usage to enable
2026-02-13T01:57:31.436Z ÆDEBUGÅ AutoUpdaterWrapper: Installation type: native
2026-02-13T01:57:31.439Z ÆDEBUGÅ Fast mode unavailable: Fast mode requires extra usage billing · /extra-usage to enable
2026-02-13T01:57:31.460Z ÆDEBUGÅ High write ratio: blit=0, write=1068 (100.0% writes), screen=20x136
2026-02-13T01:57:31.490Z ÆDEBUGÅ Checking for native installer update to version 2.1.39
2026-02-13T01:57:31.491Z ÆDEBUGÅ Found 2.1.39 at /home/menard/.local/bin/claude, skipping install
2026-02-13T01:57:31.494Z ÆDEBUGÅ Fast mode unavailable: Fast mode requires extra usage billing · /extra-usage to enable
2026-02-13T01:57:31.621Z ÆDEBUGÅ Fast mode unavailable: Fast mode requires extra usage billing · /extra-usage to enable
2026-02-13T01:57:31.752Z ÆDEBUGÅ Released PID lock for 2.1.39
2026-02-13T01:57:31.795Z ÆDEBUGÅ Writing to temp file: /home/menard/.claude.json.tmp.1706684.1770947851795
2026-02-13T01:57:31.795Z ÆDEBUGÅ Preserving file permissions: 100600
2026-02-13T01:57:31.823Z ÆDEBUGÅ Temp file written successfully, size: 7778 bytes
2026-02-13T01:57:31.824Z ÆDEBUGÅ Applied original permissions to temp file
2026-02-13T01:57:31.824Z ÆDEBUGÅ Renaming /home/menard/.claude.json.tmp.1706684.1770947851795 to /home/menard/.claude.json
2026-02-13T01:57:31.825Z ÆDEBUGÅ File /home/menard/.claude.json written atomically
2026-02-13T01:57:31.836Z ÆDEBUGÅ Writing to temp file: /home/menard/.claude.json.tmp.1706684.1770947851836
2026-02-13T01:57:31.836Z ÆDEBUGÅ Preserving file permissions: 100600
2026-02-13T01:57:31.898Z ÆDEBUGÅ Temp file written successfully, size: 7777 bytes
2026-02-13T01:57:31.900Z ÆDEBUGÅ Applied original permissions to temp file
2026-02-13T01:57:31.900Z ÆDEBUGÅ Renaming /home/menard/.claude.json.tmp.1706684.1770947851836 to /home/menard/.claude.json
2026-02-13T01:57:31.901Z ÆDEBUGÅ File /home/menard/.claude.json written atomically

Steps to Reproduce

claude

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.39

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗