- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- hostname error
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
тАО09-02-2001 08:05 PM
тАО09-02-2001 08:05 PM
hostname error
The hostname I configured in /etc/hosts and /etc/rc.config.d/netconf is hpd380, but when (in command line) I run the command 'hostname' the retured value is d380 and I can not login to CDE, any ideas about this problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2001 08:32 PM
тАО09-02-2001 08:32 PM
Re: hostname error
#hostname hpd380
This should fix your CDE problem.
Now to check if your netconf is working properly or not, try
#/sbin/init.d/hostname start
#hostname
if this returns again d380, then you need to re-verify your entry in /etc/rc.config.d/netconf.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2001 09:04 PM
тАО09-02-2001 09:04 PM
Re: hostname error
1) you can edit the /etc/rc.config/netconf file and change the hostname value and the stop inetd services by /sbin/init.d/inetd stop and start from the shell command
2) else you can execute /sbin/set_parms hostname command which will allow you to modify the system name.
Hope that helps..
Regards,
Dayanand Naik.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2001 09:07 PM
тАО09-02-2001 09:07 PM
Re: hostname error
I have verified that the entry in the /etc/rc.config.d/netconf is hpd380 and when I tried
#hostname hpd380
#/sbin/init.d/hostname start
#hostname
it retured d380 again, any further advise?
thank you for your reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2001 09:29 PM
тАО09-02-2001 09:29 PM
Re: hostname error
1)I tried
#/sbin/init.d/inetd stop
#/sbin/init.d/inetd start
#hostname
the retured value is d380
2)When I tried set_parms hostname, the hostname indicated that the hostname has already been set to hpd380
what should I do next?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2001 09:36 PM
тАО09-02-2001 09:36 PM
Re: hostname error
What is the output of uname -a ?
try uname -S hpd380
best of luck
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2001 09:39 PM
тАО09-02-2001 09:39 PM
Re: hostname error
Please do the following and see what you get
#hostname hpd380
#hostname
You should get hpd380 here.
Make sure that the entry in /etc/rc.config.d/netconf is correct and there are no duplicate entrees for HOSTNAME in that file.
HOSTNAME="hpd380"
/sbin/init.d basically does the same thing that we do at the command prompt. I can't think of any reason why it wouldn't set to hpd380 if it is properly specified in your netconf file.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2001 09:51 PM
тАО09-02-2001 09:51 PM
Re: hostname error
The output of "uname -a" is as follows:
HP-UX hpd380 B.11.00 A 9000/810 2001361887 two-user license
When I tried
#hostname
it retured d380 again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2001 10:05 PM
тАО09-02-2001 10:05 PM
Re: hostname error
It's very interesting. Let's double check if the hostname command works properly.
#hostname hpd380
#hostname
what's the output you are getting?.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2001 10:16 PM
тАО09-02-2001 10:16 PM
Re: hostname error
can you ping hpd380 from other server
using hpd380 hostname ?
ping hpd380.
try rebooting the server once.
"man hostname" may help you
best of luck
animesh