PDA

View Full Version : different parameters for sntp between sles12 sels11?



jet_wu
10-Feb-2015, 11:34
Hi There,

On SLES 12, I ran a '/usr/sbin/sntp -P no -r xx.xx.xx.xx' command to sync my system clock with the ntp server, it returned '/usr/sbin/sntp: illegal option -- P'.
The version of sntp - standard Simple Network Time Protocol program - Ver. 4.2.6p5

While the same command work well on SLES11. Could any having the knowledge help me out of the question please?

jmozdzen
11-Feb-2015, 16:52
Hi jet_wu,

> On SLES 12, I ran a '/usr/sbin/sntp -P no -r xx.xx.xx.xx' command to sync my system clock with the ntp server, it returned '/usr/sbin/sntp: illegal option -- P'.

"man sntp". There is no -P option no more, it was dropped by the NTP project. SLES12 has updated to a more recent version than used by SLES11, hence that change now is in effect.

Regards,
Jens