{"id":74738,"date":"2023-06-05T13:11:56","date_gmt":"2023-06-05T17:11:56","guid":{"rendered":"https:\/\/jumpcloud.com\/?post_type=support&p=74738"},"modified":"2023-07-26T14:40:24","modified_gmt":"2023-07-26T18:40:24","slug":"stop-start-or-restart-the-agent","status":"publish","type":"support","link":"https:\/\/jumpcloud.com\/support\/stop-start-or-restart-the-agent","title":{"rendered":"Stop, Start, or Restart the JumpCloud Agent"},"content":{"rendered":"\n

For troubleshooting, it may be necessary to check or change the status of the JumpCloud agent.<\/p>\n\n\n\n

Mac<\/h2>\n\n\n\n

To check or change the agent status on a Mac, run as root:<\/p>\n\n\n\n

\n

[root@mymac ~]# launchctl list | grep jumpcloud
23392 -15 com.jumpcloud.darwin-agent<\/p>\n<\/div><\/div>\n\n\n\n

With process snapshot:<\/p>\n\n\n\n

\n

[root@mymac ~]# ps -fax | grep jumpcloud
0 23392 1 0 6:06PM ?? 0:00.01 \/bin\/bash .\/jumpcloud-service.sh
0 23398 23392 0 6:06PM ?? 0:00.26 .\/bin\/jumpcloud-agent –conf=jcagent.conf<\/p>\n<\/div><\/div>\n\n\n\n

Launchctl<\/kbd> will automatically try to start the service if it’s loaded. If the service isn’t running, make sure it’s loaded:<\/p>\n\n\n\n

\n

[root@mymac \/opt\/jc]# launchctl load \/Library\/LaunchDaemons\/com.jumpcloud.darwin-agent.plist<\/p>\n<\/div><\/div>\n\n\n\n

To restart:<\/p>\n\n\n\n

\n

[root@mymac \/opt\/jc]# launchctl stop com.jumpcloud.darwin-agent<\/p>\n<\/div><\/div>\n\n\n\n

To force a stop, unload the LaunchDaemon:<\/p>\n\n\n\n

\n

[root@mymac ~]# launchctl unload \/Library\/LaunchDaemons\/com.jumpcloud.darwin-agent.plist<\/p>\n<\/div><\/div>\n\n\n\n

Windows<\/h2>\n\n\n\n

To check or change the agent status in Windows, Run As Administrator.<\/p>\n\n\n\n

Via Command Line<\/h3>\n\n\n\n

To check state<\/strong>:<\/p>\n\n\n\n

\n

C:>sc query jumpcloud-agent<\/p>\n<\/div><\/div>\n\n\n\n

\n

SERVICE_NAME: jumpcloud-agent
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING (STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0<\/p>\n<\/div><\/div>\n\n\n\n

To start and stop<\/strong>:<\/p>\n\n\n\n

\n

sc start jumpcloud-agent<\/p>\n<\/div><\/div>\n\n\n\n

\n

sc stop jumpcloud-agent<\/p>\n<\/div><\/div>\n\n\n\n

Via GUI<\/h3>\n\n\n\n
    \n
  1. Go to the Services object within Computer Management or run services.msc<\/strong>.<\/li>\n\n\n\n
  2. Scroll to service name JumpCloud Agent <\/strong>and verify the value in the Status<\/strong> column.<\/li>\n\n\n\n
  3. In Extended view, use the Stop, Start or Restart links, or find the options on the right click menu.<\/li>\n<\/ol>\n\n\n\n

    Linux<\/h2>\n\n\n\n

    To check or change status in Linux, run as root (results truncated):<\/p>\n\n\n\n

    \n

    [root@host ~]# service jcagent status<\/p>\n<\/div><\/div>\n\n\n\n

    \n

    jcagent.service – JumpCloud Agent
    Loaded: loaded (\/usr\/lib\/systemd\/system\/jcagent.service; enabled; vendor preset: disabled)
    Active: inactive (dead) since Thu 2016-09-01 13:27:16 MDT; 3h 26min ago
    Docs: http:\/\/support.jumpcloud.com\/knowledgebase
    Main PID: 890 (code=exited, status=0\/SUCCESS)<\/p>\n<\/div><\/div>\n\n\n\n

    With process snapshot<\/p>\n\n\n\n

    \n

    [root@host ~]# ps -aufx | grep jumpcloud
    root 2272 0.0 0.1 3840 1292 ? Sl 13:27 0:00 \/opt\/jc\/bin\/agent-monitor -exec=\/opt\/jc\/bin\/jumpcloud-agent -conf=\/opt\/jc\/jcagent.conf
    root 2275 0.0 1.6 682980 16400 ? Sl 13:27 0:03 _ \/opt\/jc\/bin\/jumpcloud-agent -conf=\/opt\/jc\/jcagent.conf<\/p>\n<\/div><\/div>\n\n\n\n

    To start, stop and\/or restart<\/strong>:<\/p>\n\n\n\n

    \n

    service jcagent start<\/p>\n<\/div><\/div>\n\n\n\n

    \n

    service jcagent stop<\/p>\n<\/div><\/div>\n\n\n\n

    \n

    service jcagent restart<\/p>\n<\/div><\/div>\n\n\n\n

    For newer systems with systemd, you can also use systemctl:<\/p>\n\n\n\n

    \n

    systemctl status jcagent<\/p>\n<\/div><\/div>\n\n\n\n

    \n

    systemctl start jcagent<\/p>\n<\/div><\/div>\n\n\n\n

    \n

    systemctl stop jcagent<\/p>\n<\/div><\/div>\n\n\n\n

    \n

    systemctl restart jcagent<\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"

    For troubleshooting, it may be necessary to check or change the status of the JumpCloud agent. Mac To check or […]<\/p>\n","protected":false},"author":206,"featured_media":0,"template":"","meta":{"_acf_changed":false,"_oasis_is_in_workflow":0,"_oasis_original":0,"_oasis_task_priority":"","inline_featured_image":false,"footnotes":""},"support_category":[2923,2852],"support_tag":[],"coauthors":[2842],"acf":[],"yoast_head":"\nStop, Start, or Restart the JumpCloud Agent - JumpCloud<\/title>\n<meta name=\"description\" content=\"Explore starting, stopping, and restarting the JumpCloud agent.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jumpcloud.com\/support\/stop-start-or-restart-the-agent\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Stop, Start, or Restart the JumpCloud Agent\" \/>\n<meta property=\"og:description\" content=\"Explore starting, stopping, and restarting the JumpCloud agent.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jumpcloud.com\/support\/stop-start-or-restart-the-agent\" \/>\n<meta property=\"og:site_name\" content=\"JumpCloud\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-26T18:40:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/07\/202405-MISC-JumpCloudHelpCenter-SiteDisplay-min-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"890\" \/>\n\t<meta property=\"og:image:height\" content=\"525\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data2\" content=\"pamkellman\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jumpcloud.com\/support\/stop-start-or-restart-the-agent\",\"url\":\"https:\/\/jumpcloud.com\/support\/stop-start-or-restart-the-agent\",\"name\":\"Stop, Start, or Restart the JumpCloud Agent - JumpCloud\",\"isPartOf\":{\"@id\":\"https:\/\/jumpcloud.com\/#website\"},\"datePublished\":\"2023-06-05T17:11:56+00:00\",\"dateModified\":\"2023-07-26T18:40:24+00:00\",\"description\":\"Explore starting, stopping, and restarting the JumpCloud agent.\",\"breadcrumb\":{\"@id\":\"https:\/\/jumpcloud.com\/support\/stop-start-or-restart-the-agent#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jumpcloud.com\/support\/stop-start-or-restart-the-agent\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jumpcloud.com\/support\/stop-start-or-restart-the-agent#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jumpcloud.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Support\",\"item\":\"https:\/\/jumpcloud.com\/support\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Stop, Start, or Restart the JumpCloud Agent\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jumpcloud.com\/#website\",\"url\":\"https:\/\/jumpcloud.com\/\",\"name\":\"JumpCloud\",\"description\":\"Daily insights on directory services, IAM, LDAP, identity security, SSO, system management (Mac, Windows, Linux), networking, and the cloud.\",\"publisher\":{\"@id\":\"https:\/\/jumpcloud.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jumpcloud.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/jumpcloud.com\/#organization\",\"name\":\"JumpCloud\",\"url\":\"https:\/\/jumpcloud.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png\",\"contentUrl\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png\",\"width\":598,\"height\":101,\"caption\":\"JumpCloud\"},\"image\":{\"@id\":\"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Stop, Start, or Restart the JumpCloud Agent - JumpCloud","description":"Explore starting, stopping, and restarting the JumpCloud agent.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jumpcloud.com\/support\/stop-start-or-restart-the-agent","og_locale":"en_US","og_type":"article","og_title":"Stop, Start, or Restart the JumpCloud Agent","og_description":"Explore starting, stopping, and restarting the JumpCloud agent.","og_url":"https:\/\/jumpcloud.com\/support\/stop-start-or-restart-the-agent","og_site_name":"JumpCloud","article_modified_time":"2023-07-26T18:40:24+00:00","og_image":[{"width":890,"height":525,"url":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/07\/202405-MISC-JumpCloudHelpCenter-SiteDisplay-min-2.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes","Written by":"pamkellman"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/jumpcloud.com\/support\/stop-start-or-restart-the-agent","url":"https:\/\/jumpcloud.com\/support\/stop-start-or-restart-the-agent","name":"Stop, Start, or Restart the JumpCloud Agent - JumpCloud","isPartOf":{"@id":"https:\/\/jumpcloud.com\/#website"},"datePublished":"2023-06-05T17:11:56+00:00","dateModified":"2023-07-26T18:40:24+00:00","description":"Explore starting, stopping, and restarting the JumpCloud agent.","breadcrumb":{"@id":"https:\/\/jumpcloud.com\/support\/stop-start-or-restart-the-agent#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jumpcloud.com\/support\/stop-start-or-restart-the-agent"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jumpcloud.com\/support\/stop-start-or-restart-the-agent#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jumpcloud.com\/"},{"@type":"ListItem","position":2,"name":"Support","item":"https:\/\/jumpcloud.com\/support"},{"@type":"ListItem","position":3,"name":"Stop, Start, or Restart the JumpCloud Agent"}]},{"@type":"WebSite","@id":"https:\/\/jumpcloud.com\/#website","url":"https:\/\/jumpcloud.com\/","name":"JumpCloud","description":"Daily insights on directory services, IAM, LDAP, identity security, SSO, system management (Mac, Windows, Linux), networking, and the cloud.","publisher":{"@id":"https:\/\/jumpcloud.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jumpcloud.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/jumpcloud.com\/#organization","name":"JumpCloud","url":"https:\/\/jumpcloud.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/","url":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png","contentUrl":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png","width":598,"height":101,"caption":"JumpCloud"},"image":{"@id":"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support\/74738"}],"collection":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support"}],"about":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/types\/support"}],"author":[{"embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/users\/206"}],"version-history":[{"count":3,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support\/74738\/revisions"}],"predecessor-version":[{"id":94858,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support\/74738\/revisions\/94858"}],"wp:attachment":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/media?parent=74738"}],"wp:term":[{"taxonomy":"support_category","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support_category?post=74738"},{"taxonomy":"support_tag","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support_tag?post=74738"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/coauthors?post=74738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}