- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Hostname and other netconf parms corrupt
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
Discussions
Discussions
Forums
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
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
тАО01-30-2006 10:30 AM
тАО01-30-2006 10:30 AM
I am trying to get a 11.11 system onto a network and I am running into some strange behavior.
I have validated all the network setting are correct (ie. hostname, ip, gw, ..). I have tried using
sam, set_parms and even copying the netconf, hosts and resolv.conf files over from another machine.
The end result is I can't get CDE to load. Trying to see if hostname loaded from the netconf file
I tried the $hostname command and in comes back unknown. I then noticed that the OPERATING_SYSTEM parm
in the netconf file was set to -t. I am not sure how that got changes. So I changed it back to
HP-UX. I then reboot and it gets set back to -t again.
I am not sure what could be causing this but it is preventing me from getting the workstation onto the
network.
I have included the /etc/rc.log file as well.
One other thing I noticed when comparing the HOSTNAME accorss several of my 11.11 systems is some have the hostname parm
in "" and some don't. I am not sure if that makes any differnce.
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines between
# the next set of statements
HOSTNAME="mtvhp08"
OPERATING_SYSTEM=-t
LOOPBACK_ADDRESS=127.0.0.1
Any help you can provide I would appreiate.
-Scott
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2006 10:38 AM
тАО01-30-2006 10:38 AM
Re: Hostname and other netconf parms corrupt
1) Make sure the root fs is not near or at capacity. If this is teh case it can cause problems with the configuration files.
2) If the files are really corrupt, they probably should be restored from backup or set_parms scripts should be used to re-create them.
3) Note that hostnames can not exceed 8 characters unless you are running 11.23 with a special enhancement installed.
I don't think the quotes make any difference.
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
тАО01-30-2006 12:33 PM
тАО01-30-2006 12:33 PM
Re: Hostname and other netconf parms corrupt
I have restored them from both backup via set_parms. The problem is once I restore them and reboot something is is overwritting the netconf file. I am not sure if it is kept in memory and overwritten up reboot.
I have even gone in single user mode and replaced the netconf, resolv.conf and hosts files via and then rebooted and the OPERATING_SYSTEM parm still gets changed back to -t.
Has anyone ever seen this happen?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2006 01:44 PM
тАО01-30-2006 01:44 PM
Re: Hostname and other netconf parms corrupt
-Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2006 01:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2006 01:57 PM
тАО01-30-2006 01:57 PM
Re: Hostname and other netconf parms corrupt
Thanks, I will take a look, I know I have a home.netconf file in the /etc/rc.config.d/ path.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2006 03:10 AM
тАО01-31-2006 03:10 AM
Re: Hostname and other netconf parms corrupt
Made sure that the netconf file setting for OPERATING_SYSTEM=HP-UX and rebooted.
Came up in single user mode and checked it. Everything looked fine,
Init level 1 the OPERATING_SYSTEM parmeter was overwritten to -t in the netconf file.
Can anyone explain this or has anyone seen this? PLEASE?????
Where could it be getting this parm from?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2006 05:46 AM
тАО01-31-2006 05:46 AM
Re: Hostname and other netconf parms corrupt
Can you check if this command shows HP-UX ?
# uname -s
Also check # uname -a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2006 06:11 AM
тАО01-31-2006 06:11 AM
Re: Hostname and other netconf parms corrupt
When I do the uname -s gives me the -t. And the uname -a returns -t unknown then some lic info...
Atleast it is consistant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2006 06:50 AM
тАО01-31-2006 06:50 AM
Re: Hostname and other netconf parms corrupt
One thing to try is to 'vi' the '/etc/rc.config.d/netconf' file. Make sure that 'vi' doesn't "complain" about the file format in any way.
You can also start with a virgin copy of the file and manually configure your hostname and network:
# cp -p /usr/newconfig/etc/rc.config.d/netconf /etc/rc.config.d/netconf
Having done this copy, either manually edit the file or try running '/sbin/set_parms' again.
Regards!
...JRF...