- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Hostname trouble
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
05-18-2008 07:42 AM
05-18-2008 07:42 AM
Re: Hostname trouble
A bit out of the box, but perhaps a run at set_parms might clean things up.
Running the command without options will display options. I suggest
set_parms ip_address
set_parms hostname
set_parms addl_network # for the second card if active.
HP-UX does not much like two NIC cards on the same network.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2008 07:48 AM
05-18-2008 07:48 AM
Re: Hostname trouble
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2008 08:14 AM
05-18-2008 08:14 AM
Re: Hostname trouble
> Still comes up as 'unknown
Is this at the hostname prompt? Did the rc sequence start and completed?
Do some sanity checking. Check /etc/hosts and netconf again so that they are in agreement. Look in rc.log and syslog.
Verify there is no other host with the same IP as this one. (ping the IP from another host.
Check the name resolution for N4000 from within the N4000 and from another host.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2008 09:04 AM
05-18-2008 09:04 AM
Re: Hostname trouble
Verify again that your '/etc/rc.config.d' directory only contains appropriate files.
If you look at the script, '/etc/rc.config' you will see that it *is* ok to have backup file copies as long as their names contain [.,~#]. That is, 'netconf.old' is an acceptable backup but 'netconfold' is not.
Verify the contents of this directory by doing:
# for FILE in $(ls /etc/rc.config.d/*)
> do
> ls ${FILE}
> . ${FILE}
> done
This will source (read) every file as if the nomral startup sequence is running. The action will stop if there is any file with syntax errors and the 'ls' will identify the offender.
You can also see from a 'ls -ul' which files are not sourced, because they are regarded as backup copies and are skipped.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2008 02:33 PM
05-18-2008 02:33 PM
Re: Hostname trouble
I have to dream about this now...yikes!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2008 05:45 PM
05-18-2008 05:45 PM
Re: Hostname trouble
Why bother with such a complex naming scheme?
Simply create a sub or parallel directory named BACKUP and move the old file there, with their original names.
There is also such a thing as RCS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2008 01:37 AM
05-19-2008 01:37 AM
Re: Hostname trouble
grep HOSTNAME /etc/rc.config.d/*
this must only replay your netconf file.
All other this must be (re)moved ore reconfiggured.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2008 01:52 AM
05-19-2008 01:52 AM
Re: Hostname trouble
Thanks to Dennis for pointing out that feature.
I still prefer moving the backups out of /etc/rc.config.d
set_parms hanging is very problematic.
At this point, I'd move netconf out, take the system to run level 2 and run set_parms from the console.
I suspect now a hardware problem is interfering with normal systems operations.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2008 03:02 AM
05-19-2008 03:02 AM
Re: Hostname trouble
Well, the system is up now. The set_parms hung only when attempting it from an ssh console, (putty.) When I get another window, I will attempt your idea Stephen. That is removing netconf, and jumping down to run level 2, and running set_parms again. Right now, I have removed all instances of netconf, and left just the one there. Hopefully I'll get another window of opp soon. You are right...it's affecting the application now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2008 05:20 AM
05-19-2008 05:20 AM
Re: Hostname trouble
Thanks
first netconf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2008 05:21 AM
05-19-2008 05:21 AM
Re: Hostname trouble
thanks again!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2008 05:46 AM
05-19-2008 05:46 AM
Re: Hostname trouble
Your netconf and hosts file look fine.
---
I have removed all instances of netconf, and left just the one there
---
Remove (move) all backup files from your /etc/rc.config.d/ to a backup folder, not just the old netconf files.
Best regards,
Robert-Jan
- « Previous
-
- 1
- 2
- Next »