Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
bash-3.2# cat /etc/release
Oracle Solaris 10 8/11 s10x_u10wos_17b X86
Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
Assembled 23 August 2011
bash-3.2#
bash-3.2# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bnx0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 87.71.8.10 netmask fffffff0 broadcast 87.71.8.15
ether 44:1e:a1:48:1e:24
...
bash-3.2#
bash-3.2# ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
#17.17.78.172 .LOCL. 1 u 185 1024 377 13.50 -1.667 3.23
bash-3.2#
bash-3.2# cat /etc/inet/ntp.conf
server 17.17.78.172
multicastclient 224.0.1.1
driftfile /var/ntp/ntp.drift
bash-3.2#
[root@redhat ~]# ping -c 5 17.17.78.172
PING 17.17.78.172 (17.17.78.172) 56(84) bytes of data.
64 bytes from 17.17.78.172: icmp_seq=1 ttl=122 time=6.11 ms
64 bytes from 17.17.78.172: icmp_seq=2 ttl=122 time=6.03 ms
64 bytes from 17.17.78.172: icmp_seq=3 ttl=122 time=13.6 ms
64 bytes from 17.17.78.172: icmp_seq=4 ttl=122 time=6.03 ms
64 bytes from 17.17.78.172: icmp_seq=5 ttl=122 time=5.96 ms
What is strange, is that the manual synchro goes successfully, but not manually.
[root@redhat ~]# date
Mon May 4 14:29:38 WEST 2015
[root@redhat ~]# ntpdate 17.17.78.172
4 May 14:29:48 ntpdate[24246]: the NTP socket is in use, exiting
[root@redhat ~]# service ntpd stop
Shutting down ntpd: [ OK ]
[root@redhat ~]# ntpdate 17.17.78.172
4 May 14:35:04 ntpdate[24264]: step time server 17.17.78.172 offset 306.633503 sec
[root@redhat ~]# date
Mon May 4 14:35:06 WEST 2015
[root@redhat ~]# service ntpd start
Starting ntpd: [ OK ]
[root@redhat ~]#
Diagnostics:
[root@redhat ~]# ntpstat unsynchronised
time server re-starting polling server every 64 s
[root@redhat ~]#
[root@redhat ~]# ntpq
ntpq> peers
remote refid st t when poll reach delay offset jitter
==============================================================================
17.17.78.172 .LOCL. 1 u 35 64 1 5.982 -0.499 0.000
ntpq> ass
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.