Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NTP Issues [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
vaguy02
Guru
Guru


Joined: 25 Feb 2005
Posts: 424
Location: Hopefully in one place

PostPosted: Tue Jan 20, 2009 5:54 pm    Post subject: NTP Issues [Solved] Reply with quote

Trying to get an NTP server running on my network. I'm having an issue with it binding to the appropriate listening devices.

/etc/ntp.conf
Code:

restrict default ignore
restrict 192.168.0.0 mask 255.255.255.0 notrust nomodify notrap


/etc/conf.d/ntpd.conf
-No changes

Quote:

Ares ~ # ntpd -d
ntpd 4.2.4p5@1.1541-o Tue Jan 20 13:59:46 UTC 2009 (1)
addto_syslog: precision = 1.000 usec
addto_syslog: ntp_io: estimated max descriptors: 1024, initial socket boundary: 16
addto_syslog: unable to bind to wildcard socket address 0.0.0.0 - another process may be running - EXITING



Probably something rather simple....just escaping me at the moment.

Edit:

Fixed the previous issue. Starts correctly, binds correctly to the interfaces. But I still don't get a connection from clients.
Quote:

ntpd -d
ntpd 4.2.4p5@1.1541-o Tue Jan 20 13:59:46 UTC 2009 (1)
addto_syslog: precision = 1.000 usec
addto_syslog: ntp_io: estimated max descriptors: 1024, initial socket boundary: 16
addto_syslog: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled
addto_syslog: Listening on interface #1 wildcard, ::#123 Disabled
addto_syslog: Listening on interface #2 lo, ::1#123 Enabled
addto_syslog: Listening on interface #3 eth0, fe80::20c:29ff:fece:ea85#123 Enabled
addto_syslog: Listening on interface #4 lo, 127.0.0.1#123 Enabled
addto_syslog: Listening on interface #5 eth0, 192.168.0.4#123 Enabled
local_clock: time 0 offset 0.000000 freq 0.000 state 0
addto_syslog: kernel time sync status 0040
local_clock: time 0 offset 0.000000 freq 0.000 state 1
report_event: system event 'event_restart' (0x01) status 'sync_alarm, sync_unspec, 1 event, event_unspec' (0xc010)
auth_agekeys: at 1 keys 1 expired 0
timer: refresh ts 0
timer: interface update
auth_agekeys: at 60 keys 1 expired 0


netstat
Quote:

Ares ~ # netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:ssh *:* LISTEN
udp 0 0 192.168.0.4:ntp *:*
udp 0 0 localhost:ntp *:*
udp 0 0 *:ntp *:*
udp 0 0 fe80::20c:29ff:fece:ntp *:*
udp 0 0 localhost:ntp *:*
udp 0 0 *:ntp *:*
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 6859 /dev/log

_________________
Linux Registered User #458185

Intel Quad-Core w/ 4gigs Ram w/ 8800 GTX - Windows 7 RC
2x (Intel Dual-Core w/ 2gigs Ram - Gentoo)
Mac G5 Dual-Core w/ 2gigs Ram - OS 10.5
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum