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
08-27-2002 09:41 AM
08-27-2002 09:41 AM
hostname
I have problem starting Apache StrongHold webserver and here is why:
[Tue Aug 27 08:28:57 2002] [alert] mod_unique_id: unable to gethostbyname("fcauth08")
[Tue Aug 27 10:57:49 2002] [alert] mod_unique_id: unable to gethostbyname("fcauth08")
[Tue Aug 27 11:18:52 2002] [alert] mod_unique_id: unable to gethostbyname("fcauth08")
When I type
#hostname
I get fcauth08 as a hostname.
When I do nslookup for fcauth08, DNS server cannot find corresponding IP, if I type fc-auth-08, nslookup works.
How can I change hostname to be fc-auth-08 instead fcauth08.
I added fc-auth-08 to /etc/hosts file
Thank you for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2002 09:42 AM
08-27-2002 09:42 AM
Re: hostname
hostname fc-auth-08
Kurt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2002 09:46 AM
08-27-2002 09:46 AM
Re: hostname
# set_parms
# sam
You can also change it with editing /etc/rc.config.d/netconf file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2002 09:46 AM
08-27-2002 09:46 AM
Re: hostname
If you want to change the hostname permanently you can run /etc/set_parms hostname and you should be prompted for the new hostname & probably a reboot.
Or, you could just add the fsauth08 alias to the fc-auth-08 hosts entry and make sure the /etc/nsswitch.conf has files first for the hosts entry.
keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2002 09:47 AM
08-27-2002 09:47 AM
Re: hostname
Use
set_parms hostname
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2002 09:49 AM
08-27-2002 09:49 AM
Re: hostname
Your /etc/resolv.conf should look something like this..
domain domain.com
nameserver xx.xx.xx.98
And your /etc/nsswitch.conf should look something like this..
hosts: files [NOTFOUND=continue TRYAGAIN=continue UNAVAILABLE=continue] dns
The /etc/hosts entry should be.
xx.xx.xx.xx fcauth08 fc-auth-08 (possibly also fc-auth-08.domain.com).
Rich