- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Hostname disappeared...
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 06:41 AM
07-06-2005 06:41 AM
Hostname disappeared...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 06:44 AM
07-06-2005 06:44 AM
Re: Hostname disappeared...
/sbin/set_parms hostname <$HOSTNAME>
man set_parms
This will modify the /etc/hosts file. Have you looked in this file to see? Does it still exist?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 06:44 AM
07-06-2005 06:44 AM
Re: Hostname disappeared...
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 06:46 AM
07-06-2005 06:46 AM
Re: Hostname disappeared...
set_parms
it will ask you the information you need to enter interactively, like hostname, timezone, date/time, root password, ip_addresses.
Answer these and let the server reboot. If it recovers, fine. If it does not, let us know the error messages you are getting at the boot time for further help.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 07:18 AM
07-06-2005 07:18 AM
Re: Hostname disappeared...
Can you see wheather /etc/hosts has correct entries & your /etc/rc.config.d/netconf has hostname set properly. If both are correct you can check /etc/rc.log for errors which causing it to not getting set.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 07:34 AM
07-06-2005 07:34 AM
Re: Hostname disappeared...
I have run set_parms for hostname & ip address & after each configuration it never asked me to reboot. So I rebooted anyways, uname -a came back with the hostname but SAM still errors out with the same error 'system name invalid'. I was thinking maybe it had something to do with the NIC, lanscan comes back with the NIC up. I then rebooted AGAIN & it lost the hostname config once more. Any other ideas? There are no errors on boot up to give you, no errors are coming up in the syslog.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 08:27 AM
07-06-2005 08:27 AM
Re: Hostname disappeared...
It could be something that is stopping your names from getting resolved. How does names are resolved ? Check /etc/nsswitch.conf & resolv.conf files to find this out.
Try coping nsswitch.file in /etc to nsswitch.conf if network sources used for resolution are temporarily unavailable.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 09:29 AM
07-06-2005 09:29 AM
Re: Hostname disappeared...
rc.log only shows shutdown messages, it's not showing startup messages, so that's not helping me at all. I think tomorrow, I will switch out our NIC & see what happens. Please keep the ideas coming. THank you all for your time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 09:42 AM
07-06-2005 09:42 AM
Re: Hostname disappeared...
Post the contents of /etc/nsswitch.conf, /etc/resolv.conf, /etc/rc.config.d/netconf & /etc/hosts files.
Is your server accessible on network when hostname is not set ?
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 09:42 AM
07-06-2005 09:42 AM
Re: Hostname disappeared...
Look in the SAM log to see if any clues are present.
/var/sam/log/samlog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 09:45 AM
07-06-2005 09:45 AM
Re: Hostname disappeared...
ifconfig lanX
where X is changing according to your interface instances. Can you see your ip addresses ?
Actually can you post the output of the commands ?
Also could you please provide the contents of
/etc/rc.config.d/netconf
file ? Looks like you are having some sort of network trouble and you may have lost hardware of an interface.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 10:09 AM
07-06-2005 10:09 AM
Re: Hostname disappeared...
I did however take a look at the SAMlog & this error is constant on it since the problem started..
rpc_server_use_protseq[_ep] failed with message "Protocol sequence not supported (dce/rpc)" Protocol sequence was ncacn_ip_tcp. Max calls was 20. End point was 2012092968. ALocation:agent.c.222^AError Code: -2007.
I haven't search it yet on here to see if that would lead me anywhere. Mel, I haven't had a chance to run your suggestions, I will post back with that info.
Thanks again to you all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 10:13 AM
07-06-2005 10:13 AM
Re: Hostname disappeared...
when I try to run ifconfig lan0, ifconfig lan1, ifconfig lan2. Each time I get the following error..
ifconfig: socket: operation not supported
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 10:52 AM
07-06-2005 10:52 AM
Re: Hostname disappeared...
ioscan -funC lan
and netstat -in
and lanscan
please check the /etc/rc.config,d/netconf accordingly
thanks
DP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 09:15 PM
07-06-2005 09:15 PM
Re: Hostname disappeared...
I think the base problem is with the hostname itself. Could you please edit the /etc/rc.config.d/netconf and set the hostname.
Then you can use setuname -n "hostname"
Then the base problem wil be solved.
Hope this will help a bit..
Jino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 07:19 AM
07-11-2005 07:19 AM