Package: ntp-server
Version: 4.2.0a+stable-2
Severity: important
server dies on startup, complains about missing ipv6 support
------ntp.log-----------------------------------------------
29 Jun 16:38:49 ntpd[17102]: frequency initialized 34.867 PPM
from /var/lib/ntp/ntp.drift
------ntp.log-----------------------------------------------
------syslog------------------------------------------------
Jun 29 16:59:24 amras kernel: request_module[net-pf-10]: fork failed,
errno 1
------syslog------------------------------------------------
apparently there is no ipv4-only option anymore with ntp-server...
last lines of strace output go:
----------->8-----------------------------------------------
amras:~ # strace ntpd -n 2>&1 | tail -20
gettimeofday({1120055988, 654173}, NULL) = 0
gettimeofday({1120055988, 654264}, NULL) = 0
gettimeofday({1120055988, 654355}, NULL) = 0
time(NULL) = 1120055988
time(NULL) = 1120055988
stat64("/var/log/ntpstats/peerstats", {st_mode=S_IFREG|0644,
st_size=860, ...}) = 0
unlink("/var/log/ntpstats/peerstats") = 0
open("/var/log/ntpstats/peerstats.20050629", O_WRONLY|O_APPEND|O_CREAT,
0666) = 7
fstat64(7, {st_mode=S_IFREG|0644, st_size=860, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40018000
fstat64(7, {st_mode=S_IFREG|0644, st_size=860, ...}) = 0
_llseek(7, 860, [860], SEEK_SET) = 0
link("/var/log/ntpstats/peerstats.20050629",
"/var/log/ntpstats/peerstats") = 0
write(7, "53550 52788.654 194.152.160.170 "..., 86) = 86
select(7, [4 5 6], NULL, NULL, NULL) = ? ERESTARTNOHAND (To be
restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [RTMIN])
gettimeofday({1120055989, 651634}, NULL) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
amras:~ #
amras:~ #
amras:~ # strace ntpd -n 2>&1 | wc
421 2725 27216
amras:~ #
----------->8-----------------------------------------------
the write to /var/log/ntpstats/peerstats.YYYYMMDD is successful, but
then the server is gone
this happens on a handful of machines with vanilla kernels 2.4.24 and
2.6.8.1, libc6 2.3.2.ds1-22, sarge fully upgraded from woody
----------->8-----------------------------------------------
amras:~ # grep -i ipv6 /boot/config-$(uname -r)
# CONFIG_IPV6 is not set
CONFIG_IPV6_SCTP__=y
amras:~ #
----------->8-----------------------------------------------
do you need full strace output or some other info?
cheers m
--
Outside of a dog, a book is a man's best friend.
Inside of a dog it's too dark to read. -- Groucho Marx
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]