Permission issues with credentials
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-29-2024 05:27 AM
I'm working on a web hosted application which uses pattern based service mapping.
The application is hosted on a load balancer, the application has multiple app servers and db servers as other components.
I'm getting errors on the application cluster related to sudo commands not being found which is discovered just below the load balancer.
All my components have been discovered into cmdb.
I'm getting these authentication sudo commands permissions issues, into the app server which is preventing the db servers from not being able to successfully discover into CMDB. I logged onto the app servers and verified the commands being ran cannot be ran as the packages/services are not installed/running.
- Labels:
-
Discovery
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-29-2024 06:51 AM
HI @js222359 ,
The user which you are using dont have Sudo permission to run the particular commands as per shared screenshot by you., Please connect with concerned team to fix the sudo permission to get the DB discovered successfully.
Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.
Thanks
AJ
Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/
ServiceNow Community Rising Star 2024
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-29-2024 06:58 AM
Hi @AJ-TechTrek
So I ssh'd into the app server myself and tried to run the commands with sudo privileges and I got the same command not found. I checked and there are no /bin/activemq services installed/running on the server. Same for the sudo /consul version command. I see the permissions with credentials issues, but because the executable /bin/activemq does not exist, I wasn't sure if it was in fact an credentials issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-29-2024 07:02 AM
Hi Ajay,
I ssh'd into one of the app servers that is throwing these errors and ran the commands my self and got the same result. Determined the executable /bin/activemq does not exist, nor does the /consul package. Because they do not exist I wasn't sure if the credentials issue was in fact the real issue at hand. Is this expected behavior? For the commands not to be found but still get permissions error? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2024 05:32 AM
Hi @js222359 ,
Thats commands required the Sudo permission to run the device, please check the Sudo permission are there or not.
Also you add these commands in Sudoers file of device with using Cred, that should be works.
Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.
Thanks
AJ
Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/
ServiceNow Community Rising Star 2024