allow_unsupported_shells
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2020 08:06 AM
Getting allow_unsupported_shells error while running linux discovery ,
Is there is any way drill which shell it is not supporting ?
Also do we need to add property"allow_unsupported_shells" for each and every linux probe ?
thanks in advance
- Labels:
-
Discovery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2020 08:46 AM
This KB article might help. I that is parameter is probe specific. But check step one below too, depending on what you have looked at already.
(1) The first error is noticed when the shell_name reported in the error is not part of the supported shells reported in the same error message (given that this shell is a known one like csh or tcsh), then check the MID Server parameter "mid.ssh.shells_supported" (on the MID server that ran the discovery) where the supported shells are configured. This parameter defines the bourne-compatible shells supported by the MID Server and the default value is "ksh,bash,sh". You can then add your shell to the list.
Please check our documentation for more information on the parameter:
(2) This error means that over ssh, the device is not giving a specific shell to use. The action plan here would be to check the discovery user on the remote host and see what shell is specified in its configuration (/etc/passwd) and if there is no shell specified, add one of the supported shells in the file.
NOTE:
There is a probe parameter called "allow_unsupported_shells" which is set on the probe itself and it allows SSH access to commands when a shell is not present on the remote system. This is usually used when discovering a network device without a defined shell. For more information on how and when to use this parameter, kindly refer to our documentation below:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2020 09:14 AM
Thanks Jeff , after setting supported shell property to true I am getting below error .
Error; job finished with status ERROR: SSH channel 4 activity timeout in state EXECUTING. (timeout = 120000) com.snc.ssh.SSHTimer@6b434f while in state EXECUTING

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2020 12:33 PM
A couple options
You could modify the MID Server property controlling the SSH initial connection timeout:
- Add the mid.sa.ssh.timeout property for the MID Server used to discover the problematic configuration item. For operational instructions, see Create MID Server Properties.
- Set the value of the newly added property to be more than 60000 milliseconds (Default value). Looks like you are currently twice that.
Or you can look to see if any of these commands are causing an issue (either failure or long time).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-13-2023 10:43 AM
Hi there,
May I know if the issue is fixed , how did you resolve it please as I'm facing the similar issue.
Thank you