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
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 .
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 2ING 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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.