Askozia Forums
July 30, 2010, 12:34:34 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: r1178 ntpclient boot delay  (Read 320 times)
devon
Full Member
***

Karma: 4
Posts: 97


View Profile
« on: October 19, 2009, 03:18:52 am »

If a pbx running r1178 is behind a firewall that is configured to drop outbound ntp packets, ntpclient stalls the boot for 10 minutes. Below is the syslog. (Note the timestamps for ntpclient and the next entry.)

Code:
Oct 18 22:10:23 syslogd started: BusyBox v1.14.3
Oct 18 22:10:23 init: starting pid 1001, tty '': '/etc/rc.bootup'
Oct 18 22:10:23 udhcpc[1043]: udhcpc (v1.14.3) started
Oct 18 22:10:23 udhcpc[1043]: Sending discover...
Oct 18 22:10:23 udhcpc[1043]: Sending select for 172.16.1.112...
Oct 18 22:10:23 udhcpc[1043]: Lease of 172.16.1.112 obtained, lease time 604800
Oct 18 22:10:24 ntpclient[1051]: Using server: pool.ntp.org
Oct 18 22:20:24 syslog: Password for 'root' changed
Oct 18 22:20:24 dropbear[1067]: Running in background
Oct 18 22:20:24 asterisk[1088]: VERBOSE[1088]: Asterisk Dynamic Loader Starting:
Oct 18 22:20:24 asterisk[1088]: VERBOSE[1088]: == Parsing '/etc/asterisk/modules.conf':
Oct 18 22:20:24 asterisk[1088]: VERBOSE[1088]: Found

After changing the firewall's outbound ntp rule from 'block' to 'reject', the pbx booted without delay.
« Last Edit: October 19, 2009, 01:57:40 pm by devon » Logged
Michael Iedema
Administrator
Hero Member
*****

Karma: 37
Posts: 907



View Profile
« Reply #1 on: October 19, 2009, 09:28:02 am »

Thanks for the report. I'll get ntpclient to give-up much quicker!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.121 seconds with 16 queries.