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

hostname

Status
Not open for further replies.

nguyenb9

Technical User
Apr 1, 2003
55
US
I have a problem.

when I type "hostname" command and its suppose to display the named of the hosts but it doesn't.

Does anyone out-there know how to resolve this problem.

thanks,
 
Hi:

This tends to be rather site specific, but here are 3 things I'd check under Solaris 7:

1) /etc/nodename should have the name of the server.

2) check the transport loop back files if they exist:

/etc/net/ticlts/hosts
/etc/net/ticots/hosts
/etc/net/ticotsord/hosts

each should have the server name in it.

3) You need a crash dump directory for the server if it doesn't always exist:

mkdir -p /var/crash/<servername
dumpadm -s /var/crash/<servername> > /dev/null

check the MAN page on dumpadm

Regards,

Ed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top