walkerdba
asked on
why it is failed
[root@rc1 sbin]# ping rc1
PING rc1.localdomain (192.168.2.33) 56(84) bytes of data.
64 bytes from rc1.localdomain (192.168.2.33): icmp_seq=1 ttl=64 time=0.644 ms
64 bytes from rc1.localdomain (192.168.2.33): icmp_seq=2 ttl=64 time=0.084 ms
64 bytes from rc1.localdomain (192.168.2.33): icmp_seq=3 ttl=64 time=0.046 ms
64 bytes from rc1.localdomain (192.168.2.33): icmp_seq=4 ttl=64 time=0.050 ms
[1]+ Stopped ping rc1
[root@rc1 sbin]# ls -lr /etc/ntp.conf
-rw-r--r-- 1 root root 1833 Jun 4 2007 /etc/ntp.conf
[root@rc1 sbin]# service ntpd stop
Shutting down ntpd: [FAILED]
[root@rc1 sbin]#
PING rc1.localdomain (192.168.2.33) 56(84) bytes of data.
64 bytes from rc1.localdomain (192.168.2.33): icmp_seq=1 ttl=64 time=0.644 ms
64 bytes from rc1.localdomain (192.168.2.33): icmp_seq=2 ttl=64 time=0.084 ms
64 bytes from rc1.localdomain (192.168.2.33): icmp_seq=3 ttl=64 time=0.046 ms
64 bytes from rc1.localdomain (192.168.2.33): icmp_seq=4 ttl=64 time=0.050 ms
[1]+ Stopped ping rc1
[root@rc1 sbin]# ls -lr /etc/ntp.conf
-rw-r--r-- 1 root root 1833 Jun 4 2007 /etc/ntp.conf
[root@rc1 sbin]# service ntpd stop
Shutting down ntpd: [FAILED]
[root@rc1 sbin]#
Was it actually runnnig? Did you have any results from ps -ef |grep ntp?
Can you post your ntp.conf?
ASKER
[root@rc1 ~]# ps -ef |grep ntp
root 27793 27766 0 19:15 pts/0 00:00:00 grep ntp
[root@rc1 ~]# vi ntp.conf
root 27793 27766 0 19:15 pts/0 00:00:00 grep ntp
[root@rc1 ~]# vi ntp.conf
the ps output shows no ntpd process running which is why your command to stop failed
ASKER
if there is no ntpd process how we will bring that..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
yes