Highlighted
Absent Member.. Absent Member..
Absent Member..
327 views

Failed to detect OS Type- for AIX server

Jump to solution

Hi,

Working on UD10.10

 

AIX server discovery is showing below error

 

Failed Detecting OSTYpe :Inputstreampipe closed

 

 

One day before , 75 servers had been discovered successfully with same credential but for AIx it is showing error in check credential.

 

Error is Inputstreampipe closed, though I am able to login through PUTTY.

Out of 200 servers, 3 are successfully discovered but rest are showing mentioned errors.

 

Please help to resolve this issue asap.

 

 

with regards,

Nick

0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: Failed to detect OS Type- for AIX server

Jump to solution

Hi,

 

This issue is resolved.  The error was because of password expiry.

 

Sysadmin didnot set the password never expire option. So password was getting expired after certain time.

 

 

Thanks all for the reply.

 

 

with regards,

Nick

View solution in original post

0 Likes
10 Replies
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: Failed to detect OS Type- for AIX server

Jump to solution

Hi,

 

Please find few linnes from comunication logs as  as unable to upload log due to client side restrictions.

 

after credential check iwas trying toconnect to shell 

 

At cmd=ver , output was as below

 

 

Failed detecting OS type.
Exception received: java.io.IOException: InputStreamPipe closed
        Failed detecting OS type.
Exception received: java.io.IOException: InputStreamPipe closed
Traceback (most recent call last):
  File "HostConnectionByShell", line 156, in DiscoveryMain
  File "shellutils", line 444, in createShell
Exception: Failed detecting OS type. Exception received:
java.io.IOException: InputStreamPipe closed

        SSH: Failed detecting OS type
    

 

 

 

 

 

 

 

 
0 Likes
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: Failed to detect OS Type- for AIX server

Jump to solution

Hi Nick,

 

Perhaps there are network communication problems that cause this behaviour or unexpected reply from the SSH server.

 

You can try increasing the time out value for the SSH credential to see if it helps. If not, please open a support ticket and provide the complete communication log showing the problem.

 

Regards,

Irina

“HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”

Click the KUDOS star on the left to say 'Thanks'
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: Failed to detect OS Type- for AIX server

Jump to solution

Hi,

 

 already checked by increasing timeout value.

 

Strang thing is few servers are successful for credential check but got error for host connection.  Also two servers were in error earlier but successfully discovered after rediscovering the same.

 

 

Any ways i will open support case for the same.

 

 

with regards,

Nick

 

0 Likes
Highlighted
Acclaimed Contributor.. Acclaimed Contributor..
Acclaimed Contributor..

Re: Failed to detect OS Type- for AIX server

Jump to solution

Support case will be in place, since without seeing of full comm log with results on it's hard to say what we are failing on.

Please add version of AIX on destination and exact version of CP with Updates.

Regards
-Dmitry Gomel, PMP
Click the Like button at the bottom to say 'Thanks'.
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: Failed to detect OS Type- for AIX server

Jump to solution

Hi Dima,

 

Please find the log file attahced herewith.

 

One thing i want to mention here , only few AIX servers are not gettinng discovered but remaining AX servers have been  discovered successfully  with same credential.

 

it looks very strange as few servers are shwoing issues but failure servers  again discovered with root credential and some other credential ,found them successfully discovered. but not working with the credential which is already set on all  nonwindows servers.

Please suggest. 

 

 

 

with regards,

Nick

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: Failed to detect OS Type- for AIX server

Jump to solution

The cause of the issue is:
<ERROR class="java.io.IOException">
<message>[CDATA&colon; InputStreamPipe closed]</message>
<stacktrace>

 

So, we connected and the server closed the input stream.  I have seen this happen sometimes when a password was valid, but expired (so we get prompts we don't expect), or perhaps from some network communication issue.  Check logging in from the DDM probe with mindterm and see if you can connect with those credentials.

 

Remember that connecting with Putty is not the same as connecting with mindterm (which is what we actually use).  You may need to open a support case to put tracing on the SSH library the probe uses to get to the bottom of the problem.

 

Keith

Hope this helps,
Keith Paschal
UCMDB Worldwide Support Lead
Micro Focus Support
If you find this or any post resolves your issue, please be sure to mark it as an accepted solution."

Click the KUDOS star on the left to say 'Thanks'
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: Failed to detect OS Type- for AIX server

Jump to solution

Hi kaith,

 

Thanks for the reply.

 

but why it is happend with few servers  and with one credential only. Rest AIX servers are connecting properly.

 

 

with regards,

Nick

 

 

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: Failed to detect OS Type- for AIX server

Jump to solution

Nick;

 

Sorry... I cannot guess... but connect with mindterm.  If that works, then log a case to analyze the ssh libraries in debug.

 

Keith

Hope this helps,
Keith Paschal
UCMDB Worldwide Support Lead
Micro Focus Support
If you find this or any post resolves your issue, please be sure to mark it as an accepted solution."

Click the KUDOS star on the left to say 'Thanks'
0 Likes
Highlighted
Acclaimed Contributor.. Acclaimed Contributor..
Acclaimed Contributor..

Re: Failed to detect OS Type- for AIX server

Jump to solution

Is there any differences in OS version or patch level?

Could you please ask your IT team to check the connection on the server side.

In case the connection was closed by the server, it could be relatively easy tracked from the logs.

Regards
-Dmitry Gomel, PMP
Click the Like button at the bottom to say 'Thanks'.
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: Failed to detect OS Type- for AIX server

Jump to solution

Hi,

 

This issue is resolved.  The error was because of password expiry.

 

Sysadmin didnot set the password never expire option. So password was getting expired after certain time.

 

 

Thanks all for the reply.

 

 

with regards,

Nick

View solution in original post

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.