IBM HCM Discovery Warning

Alexander Versh
Tera Expert

Dear All,

 

When I run discovery of HMC Server. I receive the following two warning:

1. " /bin/bash: PATH: readonly variable"

2. "/bin/bash: PATH: readonly variable
environment: line 4: /bin/systemctl: restricted: cannot specify `/' in command names"

 

Earlier, I fixed the known issue with HMC discovery using this: Discover IBM HMC server return "Active, couldn't classify" - Support and Troubleshooting (servicenow...

 

Can anyone tell what needs to be done to fix this warning message?

1 ACCEPTED SOLUTION

DUGGI
Giga Guru

The warnings you're seeing during the discovery of HMC servers indicate that the discovery probe is encountering issues when running shell commands on the server.

The warnings are related to the PATH environment variable being set as a read-only variable and the use of the "/bin/systemctl" command, which may be restricted on some systems.

 

Here are a few suggestions for troubleshooting and fixing these warning messages:

 

  1. Check the user permissions: Make sure that the user account being used for the discovery probe has the necessary permissions to run shell commands and modify environment variables on the HMC server.

  2. Check the PATH environment variable: Check if the PATH environment variable is set as read-only on the HMC server. If it is, you may need to modify the system configuration to allow it to be modified by the discovery probe.

  3. Check the use of "/bin/systemctl" command: Check if the "/bin/systemctl" command is restricted on the HMC server. If it is, you may need to modify the system configuration to allow the discovery probe to use this command.

  4. Check the discovery probe: If none of the above suggestions work, you may need to review the discovery probe script and configuration to ensure that it is compatible with the HMC server's operating system and shell environment.

View solution in original post

1 REPLY 1

DUGGI
Giga Guru

The warnings you're seeing during the discovery of HMC servers indicate that the discovery probe is encountering issues when running shell commands on the server.

The warnings are related to the PATH environment variable being set as a read-only variable and the use of the "/bin/systemctl" command, which may be restricted on some systems.

 

Here are a few suggestions for troubleshooting and fixing these warning messages:

 

  1. Check the user permissions: Make sure that the user account being used for the discovery probe has the necessary permissions to run shell commands and modify environment variables on the HMC server.

  2. Check the PATH environment variable: Check if the PATH environment variable is set as read-only on the HMC server. If it is, you may need to modify the system configuration to allow it to be modified by the discovery probe.

  3. Check the use of "/bin/systemctl" command: Check if the "/bin/systemctl" command is restricted on the HMC server. If it is, you may need to modify the system configuration to allow the discovery probe to use this command.

  4. Check the discovery probe: If none of the above suggestions work, you may need to review the discovery probe script and configuration to ensure that it is compatible with the HMC server's operating system and shell environment.