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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AIX hostname

Status
Not open for further replies.

progressdll

Programmer
Feb 28, 2002
41
BE
ENV: AIX 4.3 RS/6000
( also involved machine is a redhat 6.1 intel )

Debugging an AIX "rsh permission denied" issue, i was told
to login from the client to the server and run "last | head"
to check what hostname the client is seeing.

In our case client = AIX, server = linux

So logging in from AIX to LINUX and run last | head
will give me this first line

joeri pts/2 Tue May 7 10:51 still logged in ibm250.nollekens.be.220.4.125.in-addr.arpa

So the client is getting the hostname
"ibm250.nollekens.be.220.4.125.in-addr.arpa"

running hostname on the AIX i get
"ibm250"

There is no nameserver active on the AIX. It simply uses /etc/hosts for name resolution.

Where is this strange hostname that linux sees comming
from. I think that is causing my rsh to fail

Thanks for any feedback,
Joeri




 
Hello,
vi /etc/netsvc.conf
hosts=local,bind4

Then save and quit.

this file will be looked at first to do hostname to ip name resolution.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top