[Vserver] How can i run ntp server inside VSERVER ? Do anyone have got experience with OPENNTPD

From: Sébastien CRAMATTE <contact_at_zeninteractif.com>
Date: Wed 19 Apr 2006 - 22:26:04 BST
Message-ID: <4446AAEC.9010003@zeninteractif.com>

Hello

I need to run ntp server inside VSERVER
I've installed openbsd and I put it to listen on VSERVER ip

Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name
tcp 0 0 192.168.1.9:ssh *:*
LISTEN 14098/sshd
udp 0 0 192.168.1.9:ntp
*:* 15374/ntpd

The service seems to be up in the VSERVER

Jun 19 21:05:22 dhcp1 ntpd[15374]: peer 80.33.117.152 now invalid
Jun 19 21:05:37 dhcp1 ntpd[15374]: peer 194.143.194.244 now valid
Jun 19 21:05:38 dhcp1 ntpd[15374]: peer 80.33.117.152 now valid
Jun 19 21:05:58 dhcp1 ntpd[15374]: peer 80.33.117.152 now invalid
Jun 19 21:06:15 dhcp1 ntpd[15374]: peer 80.33.117.152 now valid
Jun 19 21:06:45 dhcp1 ntpd[15374]: peer 80.33.117.152 now invalid
Jun 19 21:06:52 dhcp1 ntpd[15374]: peer 213.96.197.96 now invalid
Jun 19 21:07:22 dhcp1 ntpd[15374]: peer 213.96.197.96 now valid
Jun 19 21:07:42 dhcp1 ntpd[15374]: peer 213.96.197.96 now invalid

but when I try ntpdate 192.168.1.9 on the host machine server or on
any other server in the main context
i obtain this error

 ntpdate -q 192.168.1.9
server 192.168.1.9, stratum 3, offset 0.000041, delay 0.02580
19 Apr 23:09:54 ntpdate[15563]: no server suitable for synchronization found

if I try to update from other server, seems to work

ntpdate -q es.pool.ntp.org
server 80.32.39.246, stratum 2, offset 744.612565, delay 0.05733
19 Apr 23:09:45 ntpdate[15551]: step time server 80.32.39.246 offset
744.612565 sec

Thanks for your help

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Apr 19 22:26:29 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 19 Apr 2006 - 22:26:31 BST by hypermail 2.1.8