Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to install ping and ifconfig Directory under /usr/sbin

Status
Not open for further replies.

nnaga

Technical User
Jun 12, 2003
13
IN
Please Help me how to install ping and ifconfig directory under /usr/bin. where to get those directories.
 
Hi nnaga

ping and ifconfig are network utilities and only aix administrator can use.Since they are system admin commands

They are located in /usr/sbin directory and owned by root user and for system group

If u want to verify those commands...just issue
#ls -lrt /usr/sbin/ping
#ls -lrt /usr/sbin/ifconfig

If u are unable to use them....then check whether they are installed on your node.u can verify in the following manner:
#lslpp -l|grep "bos.net.tcp.client"
If u get positive output ..it indicates both ping and ifconfig are installed .
If it is not installed ...just install the "bos.net.tcp.client" fileset using installp command with options or use smitty installp.

bye

sushveer
IBM certified specialist-p-series AIX5L System Administration
AIX/SOLARIS/WEBSPHERE-MQ/TIVOLI Administrator
 
Dear Sushveer ,

As per your instructions first two commands i tried and went unsuccessful and We've tested this through smitty tool, used for AIX system admin. The issue here is, the Package is installed on the machine, but unlinked from these two utilities.

So Please tell me the way to link these two utilities to /usr/sbin .

Thanks,
NNaga.
 
Hi nnaga

STEP 1 :If u are sure about installation of pacakage by using
lslpp -l|grep "bos.net.tcp.client"
case 1: IFCONFIG PROBLEM
Then proceed to step 2:
#lslpp -f "bos.net.tcp.client"|grep ifconfig
you should see the following correct output
/usr/sbin/ifconfig
/etc/ifconfig-->/usr/sbin/ifconfig
you knoe that /etc/ifconfig is a softlink to /usr/sbin/ifconfig

You said you are not getting this output...so let me know
the output of the above command.

case 2:pING PROBLEM
If step 1 is okay ...then proceed to step 2

step 2:
#lslpp -f "bos.net.tcp.client"|grep ping
you should get the following correct output ...if not please reply me with your output

/usr/sbin/ping
/etc/ping-->/usr/sbin/ping

Here /etc/ping is a symbolic or soft link to /usr/sbin/ping.

In both cases issue is same and resolution must be the same.
please reply with your outputs so that I can understand and direct you...


sushveer
IBM certified specialist-p-series AIX5L System Administration
AIX/SOLARIS/WEBSPHERE-MQ/TIVOLI Administrator
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top