Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jun 2003 15:24:13 +1000 (EST)
From:      Mark Hannon <markhannon@optusnet.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/53606: ntpdate seems to hang system
Message-ID:  <200306220524.h5M5ODnB002053@doorway.home.lan>
Resent-Message-ID: <200306220530.h5M5UB2m045547@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         53606
>Category:       bin
>Synopsis:       ntpdate seems to hang system
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 21 22:30:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mark Hannon
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD doorway.home.lan 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 19 22:54:02 EST 2003 root@doorway.home.lan:/usr/src/sys/i386/compile/DOORWAY i386


	
>Description:
	
I found my fileserver / router dead this morning.  Not reachable via 
network or serial console.  After reboot and examination of logs it 
seems that the box hung at 3am when running the daily cron jobs.

The security check finished OK (the results were mailed out) but there
seemed to be no further activity and the rest of the daily jobs did not
complete.

I run a couple of local periodic jobs as below:

#!/bin/sh
/usr/bin/killall ntpd
sleep 5
/usr/sbin/ntpdate ntp0.cs.mu.OZ.AU
sleep 5
/usr/sbin/ntpd -p /var/run/ntpd.pid

#!/bin/sh
#
# $Id: 920.dump,v 1.4 2003/06/19 13:45:33 mark Exp $
#

/bin/rm /backup/root9*
/sbin/dump -L -9 -u -h 0 -B 640000 \
  -f /backup/root9-part1 /
/bin/rm /backup/usr9*
/sbin/dump -L -9 -u -h 0 -B 640000 \
  -f /backup/usr9-part1,/backup/usr9-part2 /usr
/bin/rm /backup/var9*
/sbin/dump -L -9 -u -h 0 -B 640000 \
  -f /backup/var9-part1 /var
/bin/rm /backup/home9*
/sbin/dump -L -9 -u -h 0 -B 640000 \
  -f /backup/home9-part1,/backup/home9-part2 /home

The dumps were not started so it seems to be ntpdate related.

I should mention that this is the first time since I upgraded the box from
4.8-RELEASE a week ago that it has hung.

>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306220524.h5M5ODnB002053>