ntpdate fails except from the command line of cshell (Pyramid OSx)
A.V.Raman
A.Raman at massey.ac.nz
Thu Nov 15 07:32:18 AEST 1990
When I run ntpdate from the csh command line like so
csh>ntpdate ntphost
ntpdate: adjust timeserver 130.123.1.7 offset 0.0071640
it works fine. But that's all. None of the following works.
$ ntpdate ntphost
ntpdate: no server suitable for synchronization found
$ sh -c "ntpdate ntphost"
ntpdate: no server suitable for synchronization found
$ csh -c "ntpdate ntphost"
ntpdate: no server suitable for synchronization found
$ ^D
csh> csh -c "ntpdate ntphost"
ntpdate: no server suitable for synchronization found
csh> sh -c "ntpdate ntphost"
ntpdate: no server suitable for synchronization found
csh> csh <<end
ntpdate ntphost
end
ntpdate: no server suitable for synchronization found
csh> cat ntptest
ntpdate ntphost
csh> ntptest
ntpdate: no server suitable for synchronization found
csh> sh <ntptest
ntpdate: no server suitable for synchronization found
What is it with the -c command switch that disables ntpdate on the Pyramid
from receiving udp packets from ntphost?
The Pyramid runs OSx 5.0 and supports two universes - att and ucb.
sh -c ntpdate and csh -c ntpdate work fine on other machines (DEC stations
and Suns)
Any pointers?
Thanks very much.
-& (Anand)
More information about the Comp.unix.questions
mailing list