Support Center

JumpCloud Agent fails to start and logs error "Could not unmarshal bootstrap file 'agentBootstrap.json'"

Symptoms

The JumpCloud agent is installed, but fails to start with error found in the jcagent.log:
2016/09/01 18:24:11 [23786] [INFO] ---------------------
2016/09/01 18:24:11 [23786] [INFO] Starting agent daemon
2016/09/01 18:24:11 [23786] [INFO] ---------------------
2016/09/01 18:24:11 [23786] [INFO] Loading conf from jcagent.conf
2016/09/01 18:24:11 [23786] [ERROR] Initial certificate checks failed, err='Could not load bootstrap info, err='Could not unmarshal bootstrap file 'agentBoot
strap.json', err='invalid character ':' after top-level value'''
2016/09/01 18:24:11 [23786] [INFO] Agent exiting with exitCode=1
Cause

The agentBootstrap.json file is corrupt, typically due to file system corruption.

Resolution

Replace the file with a copy from a system where the agent is working normally.  This file is not unique to the system, but is unique to the organization it's joined to. If no other system is available, uninstall and reinstall the agent.

WINDOWS: C:\Program Files\JumpCloud\Plugins\Contrib\agentBootstrap.json

MAC | LINUX: /opt/jc/agentBootstrap.json 
 

Last Updated: Jan 21, 2019 04:58PM MST

Related Articles
desk-forwarding@jumpcloud.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete