[ntp:questions] How to Run NTPD
Aggie
c.kevin.lam at gmail.com
Thu Aug 30 15:47:23 UTC 2007
Dear all,
I know this may sound stupid =D, but I have been trying for awhile, so
here it goes.
How to run NTPD on VxWorks. VxWorks is a RTOS, and sp means spawn
process.
I typed:
-> sp(ntpd, "-c", "/romfs/ntp.conf") // at the command prompt,
but it gave me this:
=================================================
ntpd: Command line arguments not allowed
ntpd - NTP daemon program - Ver. 4.2.4p3
USAGE: ntpd [ -<flag> [<val>] | --<name>[{=| }<val>] ]...
Flg Arg Option-Name Description
-4 no ipv4 Force IPv4 DNS name resolution
-6 no ipv6 Force IPv6 DNS name resolution
-a no authreq Require crypto authentication
-A no authnoreq Do not require crypto authentication
-b no bcastsync Allow us to sync to broadcast servers
-c Str configfile configuration file name
-d no debug-level Increase output debug message level
-D Str set-debug-level Set the output debug message level
-f Str driftfile frequency drift file name
-g no panicgate Allow the first adjustment to be Big
-i Str jaildir Jail directory
-I Str interface Listen on interface
-k Str keyfile path to symmetric keys
-l Str logfile path to the log file
-L no novirtualips Do not listen to virtual IPs
-n no nofork Do not fork
-N no nice Run at high priority
-p Str pidfile path to the PID file
-P Num priority Process priority
-q no quit Set the time and quit
-r Str propagationdelay Broadcast/propagation delay
-U Num updateinterval interval in seconds between scans for new or
droppe
d interfaces
-s Str statsdir Statistics file location
-t Str trustedkey Trusted key number
-u Str user Run as userid (or userid:groupid)
-v Str var make ARG an ntp variable (RW)
-V Str dvar make ARG an ntp variable (RW|DEF)
-x no slew Slew up to 600 seconds
-v opt version Output version information and exit
-? no help Display usage information and exit
-! no more-help Extended usage information passed thru pager
Options are specified by doubled hyphens and their name
or by a single hyphen and the flag character.
please send bug reports to: http://bugs.ntp.isc.org, bugs at ntp.org
========================================================
I tried to do similar things on windows, it also gave me something
similar. Do anyone know what i did wrong?? Have you ever got this
error message?? How do you run ntpd on windows/unix machine?? Thanks.
Any advice help.
Kev.
More information about the questions
mailing list