{"id":161915,"date":"2023-01-25T07:28:04","date_gmt":"2023-01-25T07:28:04","guid":{"rendered":"\/knowledge\/forums\/topic\/new-user-facing-error-when-trying-to-connect-to-a-working-hpc-configuration-via-rsm-system-security-securityexception-failed-to-spawn-commandexpectprocess\/"},"modified":"2023-07-31T12:36:44","modified_gmt":"2023-07-31T12:36:44","slug":"new-user-facing-error-when-trying-to-connect-to-a-working-hpc-configuration-via-rsm-system-security-securityexception-failed-to-spawn-commandexpectprocess","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/new-user-facing-error-when-trying-to-connect-to-a-working-hpc-configuration-via-rsm-system-security-securityexception-failed-to-spawn-commandexpectprocess\/","title":{"rendered":"New user facing error when trying to connect to a working HPC configuration via RSM.  System.Security.SecurityException: Failed to spawn CommandExpectProcess"},"content":{"rendered":"<p>If a user submits a job to RSM from Workbench and credentials have not yet been cached for the RSM queue in RSM or the cached password does not validate because user&#8217;s OS password has changed or expired, the user will be prompted to specify credentials for that queue.  In this case, user credentials are not being validated on the server side.  Here, user can manually cache their credentials for an RSM queue:  \/<path to ansys>\/ansys_inc\/v201\/RSM\/Config\/tools\/linux\/rsmutils creds c[ache] -a account -rq queue  When the user runs the caching command, they will be prompted for the password. For example:  \/apps\/ansys_inc\/v201\/RSM\/Config\/tools\/linux\/rsmutils creds cache -a ansystestuser -rq Fluid1q Caching password for: ansystestuser Enter password:  If that does not solve the issue, obtai the following logs from the headnode on the cluster and share with Ansys technical support: \/tmp\/rsmlauncher201-<timestamp>.log \/tmp\/rsm_username_<timestamp>_pid.log<\/p>\n","protected":false},"template":"","class_list":["post-161915","topic","type-topic","status-publish","hentry","topic-tag-2020-r1","topic-tag-installation-licensing-systems","topic-tag-remote-solve","topic-tag-rsm","topic-tag-workbench-platform-sys"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"If a user submits a job to RSM from Workbench and credentials have not yet been cached for the RSM queue in RSM or the cached password does not validate because user&#039;s OS password has changed or expired, the user will be prompted to specify credentials for that queue. In this case, user credentials are\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/new-user-facing-error-when-trying-to-connect-to-a-working-hpc-configuration-via-rsm-system-security-securityexception-failed-to-spawn-commandexpectprocess\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Ansys Knowledge | Ansys Innovation Space\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"New user facing error when trying to connect to a working HPC configuration via RSM. System.Security.SecurityException: Failed to spawn CommandExpectProcess | Ansys Knowledge\" \/>\n\t\t<meta property=\"og:description\" content=\"If a user submits a job to RSM from Workbench and credentials have not yet been cached for the RSM queue in RSM or the cached password does not validate because user&#039;s OS password has changed or expired, the user will be prompted to specify credentials for that queue. In this case, user credentials are\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/new-user-facing-error-when-trying-to-connect-to-a-working-hpc-configuration-via-rsm-system-security-securityexception-failed-to-spawn-commandexpectprocess\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-01-25T07:28:04+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-07-31T12:36:44+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"New user facing error when trying to connect to a working HPC configuration via RSM. System.Security.SecurityException: Failed to spawn CommandExpectProcess | Ansys Knowledge\" \/>\n\t\t<meta name=\"twitter:description\" content=\"If a user submits a job to RSM from Workbench and credentials have not yet been cached for the RSM queue in RSM or the cached password does not validate because user&#039;s OS password has changed or expired, the user will be prompted to specify credentials for that queue. In this case, user credentials are\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/new-user-facing-error-when-trying-to-connect-to-a-working-hpc-configuration-via-rsm-system-security-securityexception-failed-to-spawn-commandexpectprocess\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/topics\\\/#listItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/topics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic-tag\\\/rsm\\\/#listItem\",\"name\":\"rsm\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic-tag\\\/rsm\\\/#listItem\",\"position\":3,\"name\":\"rsm\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic-tag\\\/rsm\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/new-user-facing-error-when-trying-to-connect-to-a-working-hpc-configuration-via-rsm-system-security-securityexception-failed-to-spawn-commandexpectprocess\\\/#listItem\",\"name\":\"New user facing error when trying to connect to a working HPC configuration via RSM.  System.Security.SecurityException: Failed to spawn CommandExpectProcess\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/new-user-facing-error-when-trying-to-connect-to-a-working-hpc-configuration-via-rsm-system-security-securityexception-failed-to-spawn-commandexpectprocess\\\/#listItem\",\"position\":4,\"name\":\"New user facing error when trying to connect to a working HPC configuration via RSM.  System.Security.SecurityException: Failed to spawn CommandExpectProcess\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic-tag\\\/rsm\\\/#listItem\",\"name\":\"rsm\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/#organization\",\"name\":\"Ansys Knowledge\",\"description\":\"Ansys Innovation Space\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/new-user-facing-error-when-trying-to-connect-to-a-working-hpc-configuration-via-rsm-system-security-securityexception-failed-to-spawn-commandexpectprocess\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/new-user-facing-error-when-trying-to-connect-to-a-working-hpc-configuration-via-rsm-system-security-securityexception-failed-to-spawn-commandexpectprocess\\\/\",\"name\":\"New user facing error when trying to connect to a working HPC configuration via RSM. System.Security.SecurityException: Failed to spawn CommandExpectProcess | Ansys Knowledge\",\"description\":\"If a user submits a job to RSM from Workbench and credentials have not yet been cached for the RSM queue in RSM or the cached password does not validate because user's OS password has changed or expired, the user will be prompted to specify credentials for that queue. In this case, user credentials are\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/new-user-facing-error-when-trying-to-connect-to-a-working-hpc-configuration-via-rsm-system-security-securityexception-failed-to-spawn-commandexpectprocess\\\/#breadcrumblist\"},\"datePublished\":\"2023-01-25T07:28:04+00:00\",\"dateModified\":\"2023-07-31T12:36:44+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/#website\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/\",\"name\":\"Ansys Knowledge\",\"description\":\"Ansys Innovation Space\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"New user facing error when trying to connect to a working HPC configuration via RSM. System.Security.SecurityException: Failed to spawn CommandExpectProcess | Ansys Knowledge","description":"If a user submits a job to RSM from Workbench and credentials have not yet been cached for the RSM queue in RSM or the cached password does not validate because user's OS password has changed or expired, the user will be prompted to specify credentials for that queue. In this case, user credentials are","canonical_url":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/new-user-facing-error-when-trying-to-connect-to-a-working-hpc-configuration-via-rsm-system-security-securityexception-failed-to-spawn-commandexpectprocess\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/new-user-facing-error-when-trying-to-connect-to-a-working-hpc-configuration-via-rsm-system-security-securityexception-failed-to-spawn-commandexpectprocess\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge#listItem","position":1,"name":"Home","item":"https:\/\/innovationspace.ansys.com\/knowledge","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/#listItem","position":2,"name":"Topics","item":"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/rsm\/#listItem","name":"rsm"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/rsm\/#listItem","position":3,"name":"rsm","item":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/rsm\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/new-user-facing-error-when-trying-to-connect-to-a-working-hpc-configuration-via-rsm-system-security-securityexception-failed-to-spawn-commandexpectprocess\/#listItem","name":"New user facing error when trying to connect to a working HPC configuration via RSM.  System.Security.SecurityException: Failed to spawn CommandExpectProcess"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/new-user-facing-error-when-trying-to-connect-to-a-working-hpc-configuration-via-rsm-system-security-securityexception-failed-to-spawn-commandexpectprocess\/#listItem","position":4,"name":"New user facing error when trying to connect to a working HPC configuration via RSM.  System.Security.SecurityException: Failed to spawn CommandExpectProcess","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/rsm\/#listItem","name":"rsm"}}]},{"@type":"Organization","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/#organization","name":"Ansys Knowledge","description":"Ansys Innovation Space","url":"https:\/\/innovationspace.ansys.com\/knowledge\/"},{"@type":"WebPage","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/new-user-facing-error-when-trying-to-connect-to-a-working-hpc-configuration-via-rsm-system-security-securityexception-failed-to-spawn-commandexpectprocess\/#webpage","url":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/new-user-facing-error-when-trying-to-connect-to-a-working-hpc-configuration-via-rsm-system-security-securityexception-failed-to-spawn-commandexpectprocess\/","name":"New user facing error when trying to connect to a working HPC configuration via RSM. System.Security.SecurityException: Failed to spawn CommandExpectProcess | Ansys Knowledge","description":"If a user submits a job to RSM from Workbench and credentials have not yet been cached for the RSM queue in RSM or the cached password does not validate because user's OS password has changed or expired, the user will be prompted to specify credentials for that queue. In this case, user credentials are","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/knowledge\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/new-user-facing-error-when-trying-to-connect-to-a-working-hpc-configuration-via-rsm-system-security-securityexception-failed-to-spawn-commandexpectprocess\/#breadcrumblist"},"datePublished":"2023-01-25T07:28:04+00:00","dateModified":"2023-07-31T12:36:44+00:00"},{"@type":"WebSite","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/#website","url":"https:\/\/innovationspace.ansys.com\/knowledge\/","name":"Ansys Knowledge","description":"Ansys Innovation Space","inLanguage":"en-US","publisher":{"@id":"https:\/\/innovationspace.ansys.com\/knowledge\/#organization"}}]},"og:locale":"en_US","og:site_name":"Ansys Knowledge | Ansys Innovation Space","og:type":"article","og:title":"New user facing error when trying to connect to a working HPC configuration via RSM. System.Security.SecurityException: Failed to spawn CommandExpectProcess | Ansys Knowledge","og:description":"If a user submits a job to RSM from Workbench and credentials have not yet been cached for the RSM queue in RSM or the cached password does not validate because user's OS password has changed or expired, the user will be prompted to specify credentials for that queue. In this case, user credentials are","og:url":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/new-user-facing-error-when-trying-to-connect-to-a-working-hpc-configuration-via-rsm-system-security-securityexception-failed-to-spawn-commandexpectprocess\/","article:published_time":"2023-01-25T07:28:04+00:00","article:modified_time":"2023-07-31T12:36:44+00:00","twitter:card":"summary_large_image","twitter:title":"New user facing error when trying to connect to a working HPC configuration via RSM. System.Security.SecurityException: Failed to spawn CommandExpectProcess | Ansys Knowledge","twitter:description":"If a user submits a job to RSM from Workbench and credentials have not yet been cached for the RSM queue in RSM or the cached password does not validate because user's OS password has changed or expired, the user will be prompted to specify credentials for that queue. In this case, user credentials are"},"aioseo_meta_data":{"post_id":"161915","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2025-10-17 19:30:17","updated":"2026-07-29 06:31:00","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/knowledge\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/\" title=\"Topics\">Topics<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/rsm\/\" title=\"rsm\">rsm<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tNew user facing error when trying to connect to a working HPC configuration via RSM.  System.Security.SecurityException: Failed to spawn CommandExpectProcess\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/innovationspace.ansys.com\/knowledge"},{"label":"Topics","link":"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/"},{"label":"rsm","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/rsm\/"},{"label":"New user facing error when trying to connect to a working HPC configuration via RSM.  System.Security.SecurityException: Failed to spawn CommandExpectProcess","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/new-user-facing-error-when-trying-to-connect-to-a-working-hpc-configuration-via-rsm-system-security-securityexception-failed-to-spawn-commandexpectprocess\/"}],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_forum_id":["153867"],"_bbp_last_active_time":["1-24-2023  20:20:14"],"_bbp_author_ip":["23.56.168.180"],"_btv_view_count":["1407"],"siebel_km_number":["2063873"],"product_version":["2020 R1"],"km_published_date":["2020-12-28T13:44:24.000Z"],"family":["Installation\/Licensing\/Systems"],"application_name":["Workbench Platform - SYS"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/161915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/161915\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=161915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}