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!

ip address not recognised.

Status
Not open for further replies.

mak1983

Programmer
Jun 19, 2007
2
US
When i tried to login into a sun solaris machine, it could not recognise the hostname of the machine.

the prompt is like admin@unknown>:/

But, the etc/hosts has the correct entries.
Also, when i tried issuing any commands, the following message was issued at the console

admin is not allowed to run sudo on unknown. This incident will be reported.

Also, the traces has osme entried like
20070618:1723:19.CDT DSAddr::DSAddr: Unable to get internet address for 'unknown'

Any clues on how to resolve this?
 
My etc/nsswitch.conf has entried similar to the following:

passwd: files
group: files
hosts: files
ipnodes: files
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
 
You know, it doesn't seem to be reverse dns but the actual hostname.

what does "hostname" return? uname -a?

what is the contents of /etc/nodename?

egp
 
You have all kinds of problems. First thing I would do is to check the following files for hostname:
etc/hosts
/etc/nodename
/etc/hostname.*
/etc/net/ticlts/hosts
/etc/net/ticots/hosts
/etc/net/ticotsord/hosts
/etc/inet/ipnodes

Particularly the tic directories.

Your sudo file is not set up to all admin to sudo to root.
Actually, admin problably does not have to be root, but it depends on how your system is set up.

I don't know what you were doing when you got the last msg about ip address etc.
What do you get when you do ifconfig -a
Also, check /etc/netmasks .

Hope one of the above helps,

Gallows
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top