HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- ping localhost fails
Operating System - Linux
1829656
Members
9006
Online
109992
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
06-07-2003 01:33 AM
06-07-2003 01:33 AM
ping localhost fails
In my RHL 8.0, I can "ping 127.0.0.1" but not "ping localhost". Replies with an "unknown host" error.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2003 03:23 AM
06-07-2003 03:23 AM
Re: ping localhost fails
In a shell enter neat, or redhat-config-network, or hit hat menur / system tools /control of network peripherical (could be slightly different name, I'm translating from my box on french menus), select your NIC, configure, and on the host section, check that you should have a line with '127.0.0.7 localhost.localdomain localhost' (being IP name Alias sections).
This effect is due to the fact that your IP is not linked to you machine short name.
Re-start network.
hth
J
This effect is due to the fact that your IP is not linked to you machine short name.
Re-start network.
hth
J
You can lean only on what resists you...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2003 03:55 AM
06-07-2003 03:55 AM
Re: ping localhost fails
Hi,
Edit /etc/hosts
127.0.0.1 localhost localhost.localdomain
Save the file.
#ping localhost
that's it.
regards,
U.SivaKumar
Edit /etc/hosts
127.0.0.1 localhost localhost.localdomain
Save the file.
#ping localhost
that's it.
regards,
U.SivaKumar
Innovations are made when conventions are broken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2003 06:10 AM
06-07-2003 06:10 AM
Re: ping localhost fails
Hello!
Check the permisions of your /etc/hosts file
and see that you have read permisions on it.
If it's OK check that you have a line in the file /etc/hosts : 127.0.0.1 localhost
if not add it, then it should work.
Caesar
Check the permisions of your /etc/hosts file
and see that you have read permisions on it.
If it's OK check that you have a line in the file /etc/hosts : 127.0.0.1 localhost
if not add it, then it should work.
Caesar
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP