IBM Support

auth-idp pod shows CrashLoopBackOff status - NPM issue foundational services 3.17 and prior

Troubleshooting


Problem

The auth-idp pod crashes due to an npm EACCES error.

Symptom

You see the following message in the auth-idp pod logs:
2023-12-01 07:19:38,756 INFO reaped unknown pid 10933 (exit status 0)
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /.npm
npm ERR! errno -13
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR! sudo chown -R 1000710000:0 "/.npm"
npm ERR! A complete log of this run can be found in:
[2023-12-01T07:19:39.558Z] INFO: platform-auth-service/11013 on auth-idp-7f75dc5755-7kfzk: auth boot
2023-12-01 07:19:39,561 INFO exited: 02-directory-service (exit status 243; not expected)
2023-12-01 07:19:39,563 INFO spawned: '02-directory-service' with pid 11031
2023-12-01 07:19:40,564 INFO success: 02-directory-service entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-12-01 07:19:40,565 INFO reaped unknown pid 10885 (exit status 0)  

 

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSHKN6","label":"IBM Cloud Platform Common Services"},"ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS8QTD","label":"IBM Cloud Pak for Integration"},"ARM Category":[{"code":"a8m0z0000001hogAAA","label":"Common Services"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSBYVB","label":"IBM Cloud Pak for Business Automation"},"ARM Category":[{"code":"a8m3p0000006xWwAAI","label":"Other-\u003ECloudPak4Automation Platform-\u003EFoundation Services-\u003EIdentity and Access Management"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSFC4F","label":"IBM Cloud Pak for Multicloud Management"},"ARM Category":[{"code":"a8m0z0000001j0dAAA","label":"CloudPak4MCM-\u003ESecurity"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
14 December 2023

UID

ibm17096695