Repository navigation
macOS install fails with "Bootstrap failed: 5" when the node agent was disabled - #122
Merged
Merged
Conversation
… a busy RPC port On macOS, launchd refuses to bootstrap an agent that was disabled, which stopping the node leaves behind, so the install stopped with 'Bootstrap failed: 5'. The installer now runs launchctl enable before launchctl bootstrap for the node and the update agents; if bootstrap still fails, the error says what launchctl print-disabled lists for the agent and how to enable it. Before anything is downloaded or written, the installer checks whether another program listens on 127.0.0.1 at the node's HTTP RPC port (nc, else lsof, else a curl connection) and stops with nothing installed if so. The installed node itself holding the port, recognised by its eth_coinbase matching the config's Etherbase, passes, so updates and re-runs of a running node are not refused.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Code and security review ran on this branch: 0 finding(s) in total, none critical or high remaining.