can't ping to my VMWare CentOs after seting host name

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat can't ping to my VMWare CentOs after seting host name
# 1  
Old 12-05-2010
can't ping to my VMWare CentOs after seting host name

Im using CentOs 5.5 , i tried to change the host name to be for example my_server_1 , according to the web i changed the /etc/sysconf/network to look like this :
PHP Code:
NETWORKING=yes
NETWORKING_IPV6
=no
#HOSTNAME=localhost.localdomain
HOSTNAME=my_server_1 
and changed the hosts file to look like this :.
PHP Code:
127.0.0.1               localhost.localdomain localhost
192.118.5.72            my_server_1
.com my_server_1
::1             localhost6.localdomain6 localhost6 
in the apache server i changed the key of ServerName to be :
PHP Code:
ServerName  www.my_server_1.com:8888 
the 8888 port is open and working great if i use only ::8888 , in the Apache and to pinging
i restart the OS , and i can't ping to my_server_1 what else i need to do ?
# 2  
Old 12-06-2010
hostnames cannot contain underscores.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Ping Response from the host name

Hi All, I have the requirement where am pinging the server and matching the IP address with the existing IP address. Below code is returning me the IP address and my requirement is i have to see that also whether it is pinging or not PING useipapd01 (172.22.32.87) 56(84) bytes of data. 64... (1 Reply)
Discussion started by: sharsour
1 Replies

2. Red Hat

How to Upgrade Centos 5.7 using Centos 5.8 ISO image on Vmware workstation

Dear Linux Experts, On my windows 7 desktop with the help of Vmware workstation (Version 7.1), created virtual machine and installed Centos 5.7 successfully using ISO image. Query : Is this possible to upgrade the Centos 5.7 using Centos 5.8 ISO image to Centos version 5.8?.. if yes kindly... (2 Replies)
Discussion started by: Ananthcn
2 Replies

3. IP Networking

ping can not recognize host but host command can

Hi, I have a weird problem. when ever I do ping command like for example ping unix.comI get the following message: # ping unix.com ping: unknown host unix.com but when I use host the computer is able to know the host. # host unix.com unix.com has address 81.17.242.186 unix.com mail is... (2 Replies)
Discussion started by: programAngel
2 Replies

4. Red Hat

ssh connection keep disconected , how to find way? in CentOs vmware

Hello i have CentOS installed on vmware , few days ago every thing was working fine. today every time im connect with putty to the CentOs server after few minutes it disconnect me , how can i find what is the reason ? (5 Replies)
Discussion started by: umen
5 Replies

5. Solaris

Connectivity between Solaris 10 in VMWare and windows Host

I have installed Open Solaris 10 on VMware which is hosted on Windows XP, my PC. I would like to have a connection between Solaris and Windows, so that i can SSH/Telnet from windows to Solaris. I don't have any Internet connection. Please help me with the network connection settings i have to... (3 Replies)
Discussion started by: mailsachin245
3 Replies

6. Solaris

Ping Sun Solaris 10 on VmWare

Hi, i installed Sun Solaris 10 on VmWare Workstation 6.5 on my Windwos Vista PC. I would to ping solaris virtual machin froma my pc, but i can't do that. Can help me?! I'm sorry for my bad English. akela87 (2 Replies)
Discussion started by: akela87
2 Replies

7. Solaris

Solaris on Vmware host of vista

Hi I am planning to install solaris as a virtual machine on vista as host os. My requirements are I want to access virtual machine from vista using putty. So how to assign static ip to virtual machine ? In future i might have to virtual machines so i want communication between them as... (3 Replies)
Discussion started by: ankurk
3 Replies

8. Solaris

Can not ping from Solaris VMWare to Windows

Dear All, I have installed Sun Solaris 10 on VMWare 6.5 completely and i have configured IP address already. Solaris's IP Address (on VMWare) is 192.168.10.241 and Windows xp that contain VMWare IP address is 192.168.10.125, but when i ping from solaris to my windows it didn't response at all.... (3 Replies)
Discussion started by: veasnabee
3 Replies

9. Solaris

PING - Unknown host 127.0.0.1, Unknown host localhost - Solaris 10

Hello, I have a problem - I created a chrooted jail for one user. When I'm logged in as root, everything work fine, but when I'm logged in as a chrooted user - I have many problems: 1. When I execute the command ping, I get weird results: bash-3.00$ usr/sbin/ping localhost ... (4 Replies)
Discussion started by: Przemek
4 Replies

10. IP Networking

QNX host cannot ping SCO host, vice versa

The problem I am facing now is that the QNX host could not ping the SCO host and vice versa. They are in the same domain, ie, 172.20.3.xx. As I am very new to Unix, I guess I must have missed out some important steps. Pls help... Thanx alot (2 Replies)
Discussion started by: gavon
2 Replies
Login or Register to Ask a Question