Sponsored Content
Full Discussion: NTP gets disabled
Operating Systems Solaris NTP gets disabled Post 302594034 by dyavuzy1 on Monday 30th of January 2012 09:14:26 AM
Old 01-30-2012
NTP gets disabled

Hi experts,

I am using solaris10 operating system on a N240 Sun server. I have a problem on NTP, that is, i am using an external ntp server and when i enable ntp instance via smf, it works for a while then it gets disabled.. Here these are the info:

1) I enable the ntp service:

Code:
# svcadm enable svc:/network/ntp:default
# svcs -xv svc:/network/ntp:default
svc:/network/ntp:default (Network Time Protocol (NTP))
 State: online since January 30, 2012 01:55:41 PM UTC
   See: man -M /usr/share/man -s 1M xntpd
   See: man -M /usr/share/man -s 1M ntpdate
   See: man -M /usr/share/man -s 1M ntpq
   See: /var/svc/log/network-ntp:default.log
Impact: None.

Code:
# ntpq -p
     remote           refid      st t when poll reach   delay   offset    disp
==============================================================================
 172.30.0.8      192.168.97.18    2 u   35   64    1     1.88   -3.260 15875.0
 172.30.0.1      192.168.97.18    2 u   34   64    1     1.77   -3.235 15875.0

2)Then I notice that it is disabled in a while:

# /var/opt/NTP> svcs -xv svc:/network/ntp:default
svc:/network/ntp:default (Network Time Protocol (NTP))
State: disabled since January 30, 2012 01:57:44 PM UTC
Reason: Disabled by an administrator.
See: http://sun.com/msg/SMF-8000-05
See: man -M /usr/share/man -s 1M xntpd
See: man -M /usr/share/man -s 1M ntpdate
See: man -M /usr/share/man -s 1M ntpq
See: /var/svc/log/network-ntp:default.log
Impact: This service is not running.

3) And when i check the statistics file:

Code:
# /var/opt/NTP> cat ntpstatspeerstatistics_log
55956 50142.618 172.30.0.8 9014 -0.003260 0.00188 15.87502
55956 50143.618 172.30.0.1 9014 -0.003235 0.00177 15.87502
55956 50206.618 172.30.0.8 9014 -0.002708 0.00180 7.87529
55956 50207.618 172.30.0.1 9014 -0.002652 0.00179 7.87531

- I wonder why it gets dsabled ? waiting for your inputs...
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Disabled printers

How does or what makes a printer go into a disabled state? (5 Replies)
Discussion started by: dsb0
5 Replies

2. Shell Programming and Scripting

queue is disabled

Does anyone know why I got this message when I tried to print my file on Unix? THANK YOU! (1 Reply)
Discussion started by: whatisthis
1 Replies

3. Solaris

ntp server and ntp client

All, How do you set a Solaris 9 server which received ntp updates from a ntp server to broadcast them on a local subnet. I have created a /etc/inet/ntp.conf file to receive the updates from a server on network and need to make this server become like a ntp relay from the main server. Any... (1 Reply)
Discussion started by: bubba112557
1 Replies

4. UNIX for Advanced & Expert Users

is SUID disabled for shell

Hi, I have two file in my directory. "catter" file contains "cat ./file". And "file" contails "Hi ashish". I have SUID bit set for catter file. But when a different user in my group runs file catter, shell displays "Permission denied" message. I just want to know can use of suid bit be... (3 Replies)
Discussion started by: shriashishpatil
3 Replies

5. Post Here to Contact Site Administrators and Moderators

Site features Disabled

I have a PC I often use to visit this site and for some reason the buttons (such as code tags) do not work for me using this machine.I am using IE and I have been through the preferences but can find no options that seem to be responsible for disabling these buttons.I have tried manually inpputing... (4 Replies)
Discussion started by: steadyonabix
4 Replies

6. Red Hat

selinux --disabled

Hi All, Will some one kindly explian below ? selinux What is the effect of installing a server using this kickstart option as follows: selinux --enforcing and selinux --disabled (1 Reply)
Discussion started by: sri243
1 Replies

7. Linux

How often does Linux NTP server update its time with the external NTP server?

All here, thank you for listening. Now I've set up a Linux NTP server by adding a external windows NTP server in /etc/ntp.conf. Then I start the ntpd daemon. But how often does the Linux NTP server update its time with the external NTP server? I've looked up everywhere but found no information... (1 Reply)
Discussion started by: MichaelLi
1 Replies

8. HP-UX

Setting up NTP HP-UX clients from solaris NTP server

Hi I wonder if its possible to setup NTP clients running HP-UX o.s. from a solaris 10 NTP server? FR (3 Replies)
Discussion started by: fretagi
3 Replies

9. Red Hat

Ntp client sync with local over ntp server

Hi, I have two ntp servers in my cluster and I want all the nodes in my cluster to sync with either of the ntp servers or just one. Unfortunately it keep rotating the sync, between my ntp server 1, ntp server 2 and local. Is there anyway I can change the sync to avoid local? # ntpq -p ... (3 Replies)
Discussion started by: pjeedu2247
3 Replies
ntp.keys(4)						     Kernel Interfaces Manual						       ntp.keys(4)

NAME
ntp.keys - Network Time Protocol (NTP) authentication key file DESCRIPTION
The NTP standard specifies an extension to allow verification of the authenticity of received NTP packets and to provide an indication of authenticity in outgoing packets. This is implemented in xntpd using the MD5 algorithm to compute the message-digest. The specification allows any one of possibly 4 billion keys, numbered with 32-bit key identifiers, to be used to authenticate an association. The servers involved in an association must agree on the key and key identifier used to authenticate their data, though they must each learn the key and key identifier independently. In MD5, the keys are 64 bits (8 bytes). The xntpd daemon reads its keys from a file specified using the -k command line option, or the keys statement in the configuration file. While key number 0 is fixed by the NTP standard (as 56 zero bits) and may not be changed, one or more of the keys numbered 1 through 15 may be arbitrarily set in the keys file. One of the keys may be chosen, by way of the configuration file requestkey statement, to authenticate run time configuration requests made using the xntpdc(8) program. The latter program obtains the key from the terminal as a password, so it is generally appropriate to specify the key chosen to be used for this purpose in ASCII format. The NTP key file uses the same comment conventions as the configuration file. Key entries use a fixed format of the form: keyno type key In this format: Is a positive integer. Is a single character that defines the format the key is given in. This is always M, representing Message Digest (MD5) on Tru64 UNIX systems. Is the key itself. The MD5 algorithm key is a 1-to-8 character ASCII string. Because of the simple tokenizing routine, you cannot use the following characters in an ASCII key: " " (space), "#" (number sign), "", "0, and " ". Note that both the keys and the authentication scheme (MD5) must be identical between a set of peers sharing the same key number. EXAMPLES
The following sample key file shows two defined NTP keys: 2 M RIrop8KPPvQvYotM # MD5 key as a random ASCII string 14 M sundial # MD5 key as an ASCII string FILES
Conventional name of the key file RELATED INFORMATION
Commands: ntpdate(8), ntpq(8), xntpd(8), xntpdc(8) Files: ntp.conf(4) Network Administration delim off ntp.keys(4)
All times are GMT -4. The time now is 08:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy