- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: hostname change to -f after run script
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
тАО03-15-2011 04:56 AM
тАО03-15-2011 04:56 AM
My servers change their hostname to -f after I ran one script as attached. May I know why?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2011 05:11 AM
тАО03-15-2011 05:11 AM
SolutionSeveral places in this script, the command "hostname -f" is issued. The HP-UX hostname(1) command has no options, so (presuming you ran this script as root), you would have just set your hostname to "-f".
HP-Server-Literate since 1979
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2011 05:14 AM
тАО03-15-2011 05:14 AM
Re: hostname change to -f after run script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2011 05:27 AM
тАО03-15-2011 05:27 AM
Re: hostname change to -f after run script
Go find the CFG2HTML that was built for HP-UX. If you do that you should not have this problem. I've been running CFG2HTML on HP-UX for years and haven't yet had the problem you describe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2011 05:29 AM
тАО03-15-2011 05:29 AM
Re: hostname change to -f after run script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2011 06:42 AM
тАО03-15-2011 06:42 AM
Re: hostname change to -f after run script
http://www.cfg2html.com/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2011 06:09 PM
тАО03-15-2011 06:09 PM
Re: hostname change to -f after run script
cfg2html_hpux_3.76-20100805.depot
cfg2html_hpux_4.84-20100809-24814.depot
Version 3 is for 11.00 and earlier. Version 4 is for 11.11 and higher.
For AIX, Solaris, Linux, etc, be sure to read the comments at the cfg2html Yahoo site for details.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2011 06:50 PM
тАО03-15-2011 06:50 PM