Operating System - HP-UX
1753781 Members
7392 Online
108799 Solutions
New Discussion

inq command not working on some HP-UX servers

 
jody_mckinzie
Occasional Advisor

inq command not working on some HP-UX servers

I have several servers running 11.31.

 

Some of my servers allow me to run /usr/sbin/inq which is a standalone binary.  (trust me, its there)

 

I have some servers it runs fine on and others, it won't run....  It just sites there.

 

Any ideas?

 

[/usr/sbin] root@hostname #inq

 

 

on other servers it works fine.

[/root] root@hostname2 #inq
Inquiry utility, Version V7.3-1159 (Rev 1.0)      (SIL Version V7.2.1.0 (Edit Level 1159)
Copyright (C) by EMC Corporation, all rights reserved.
For help type inq -h.

...............................................................................
...............................................................................

 

 

3 REPLIES 3
jody_mckinzie
Occasional Advisor

Re: inq command not working on some HP-UX servers

 

Server it doesn't work on: 

 

ldd inq.HPUXIA64

inq.HPUXIA64:
        libpthread.so.1 =>      /usr/lib/hpux64/libpthread.so.1
        libdl.so.1 =>   /usr/lib/hpux64/libdl.so.1
        libm.so.1 =>    /usr/lib/hpux64/libm.so.1
        librpcsvc.so.1 =>       /usr/lib/hpux64/librpcsvc.so.1
        libc.so.1 =>    /usr/lib/hpux64/libc.so.1
        libnsl.so.1 =>  /usr/lib/hpux64/libnsl.so.1
        libxti.so.1 =>  /usr/lib/hpux64/libxti.so.1

 

 

Server it does work on:

 

ldd inq.HPUXIA64

inq.HPUXIA64:
        libdl.so.1 =>   /usr/lib/hpux64/libdl.so.1
        libpthread.so.1 =>      /usr/lib/hpux64/libpthread.so.1
        libc.so.1 =>    /usr/lib/hpux64/libc.so.1

Dennis Handly
Acclaimed Contributor

Re: inq command not working on some HP-UX servers

>I have some servers it runs fine on and others, it won't run.

 

Looks like you have different versions of this EMC tool.

What does "what /usr/sbin/inq" show for both?

Can you find it with the following?

swlist -l file | grep sbin/inq

Kennedy G. Doss
Regular Advisor

Re: inq command not working on some HP-UX servers

If you have access to powerlink.emc.com (EMC's repository) you can go download the latest and greatest version of INQ yourself. If you dont have access, you can ask one of your Storage Admins to download it for you. I had similar issue and got it resolved. There are a lot of different versions of INQ for each flavor of UNIX out there - not to forget the 32bit and 64 bit versions.