Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I have put this entry into cron
1 * * * * /usr/sbin/sntp -r -P no se.pool.ntp.org
It is from wiki instruction. However sntp seems to hang once in a while, generating zombi processes. Maybe once per week or so.
Someone with the same problem?
Is it possible to put some angry watchdog sheparding it, killing it on timeout?
Offline
Have you looked at running ntp that comes with ffp? I had no issues with it. Just edit the config and use the script in ffp/start jsut like the rest of the packages.
Offline
thanx for input. but I have already tried that. It might differ between HW-model of 323. I am on B.
http://nas-tweaks.net/CH3SNAS:Tutorials/ntp
...
As you can see below, there are two choices for the synchronization. Regular synchronization via Cron should be chosen over using the NTP-Daemon as the latter seems to cause the following two lines in dmesg reappearing over and over again until the device gets restarted:
kernel: TWSI: mvTwsiStartBitSet ERROR - Start Clear bit TimeOut .
kernel: TWSI: mvTwsiStopBitSet ERROR - Stop bit TimeOut .
Offline
Ok ill try that. Didnt get to work first until i found the description below.
-----------------------
Hmm… Now what? So this is not caused by dns after all… what could this mean: “Servname not supported for ai_socktype“. After some other tries I have finaly seen the problem… NTP ports were not defined in /etc/services and this was the root of the error. The system didn’t know how to make ntp connections without that. So I’ve added the following lines to /etc/services
ntp 123/tcp
ntp 123/udp
Offline
How are you starting it? If you use the ffp/start/ntpd.sh startup script then it should modify /etc/services automatically.
#!/ffp/bin/sh # PROVIDE: ntpd # REQUIRE: SERVERS # BEFORE: LOGIN . /ffp/etc/ffp.subr name="ntpd" command="/ffp/bin/ntpd" ntpd_flags="-g -f /ffp/tmp/ntp.drift" required_files="/ffp/etc/ntp.conf" start_cmd="ntpd_start" ntpd_start() { # fix /etc/services if ! grep -w ntp /etc/services >/dev/null; then echo "ntp 123/udp" >>/etc/services fi # remove rtc and daylight cron jobs crontab -l | grep -vw '/usr/sbin/daylight' | grep -vw '/usr/sbin/rtc' | crontab - proc_start $command } run_rc_command "$1"
Last edited by FunFiler (2010-10-15 14:19:13)
Offline