LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SuSE 9.0 and xntp problems (https://www.linuxquestions.org/questions/linux-software-2/suse-9-0-and-xntp-problems-106956/)

mdcooper 10-21-2003 09:47 PM

SuSE 9.0 and xntp problems
 
Hello,

I am newbie running SuSE 9.0 and trying to get xntp to work for automatic updates of the system clock. I believe that I have the ntp.conf file configured correctly for my home LAN. My problem is... I can't seem to figure out how to start and stop xntpd via the shell.

I am logged in as root and try the following command with these results:

linux:~ # /usr/sbin/xntpd stop
usage: /usr/sbin/xntpd [ -abdgmnqx ] [ -c config_file ] [ -e e_delay ]
[ -f freq_file ] [ -k key_file ] [ -l log_file ]
[ -p pid_file ] [ -r broad_delay ] [ -s statdir ]
[ -t trust_key ] [ -v sys_var ] [ -V default_sysvar ]
[ -T chroot_dir ] [ -U server_user ]
[ -P fixed_process_priority ]

linux:~ # /usr/sbin/xntpd start
usage: /usr/sbin/xntpd [ -abdgmnqx ] [ -c config_file ] [ -e e_delay ]
[ -f freq_file ] [ -k key_file ] [ -l log_file ]
[ -p pid_file ] [ -r broad_delay ] [ -s statdir ]
[ -t trust_key ] [ -v sys_var ] [ -V default_sysvar ]
[ -T chroot_dir ] [ -U server_user ]
[ -P fixed_process_priority ]



Any ideas? Thanks a lot!

Mark

Caeda 10-21-2003 10:28 PM

Ah, are you sure its not already auto-updating?... my 8.2 is.

And, ah, you don't need to use scripts to start new sevices with suse.

Go into Yast2. Runlevel Editor, and turn on xntpd.

mdcooper 10-22-2003 12:02 AM

Thanks for the RunLevel editor tip. I didn’t know about that.

BTW – xntpd was disabled. Poking around in there led me to find that to start, stop and restart xntpd via the shell, I need to use the command:


>/etc/init.d/xntpd start

>/etc/init.d/xntpd stop

>/etc/init.d/xntpd restart


etc…

Thanks for the info.

Mark


All times are GMT -5. The time now is 10:00 PM.