[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] ntp cron problem



Hi. 

I had the same problem with one of my RaQ3s. When 
I saw the error, I checked on another RaQ3 for 
differences in the /etc/cron.daily/ntpdate.auto 
files and noted an extra 

unlink()
#/sbin/clock -w -u >>/var/cobalt/sauce.log 2>&1

As you can see, I commented out the original 
script, replaced it with the one from the 
functioning RaQ3 and volia. I have no idea 
where the extra statement came from or why, 
but the problem has subsided. Does anyone know 
what unlink() is used for and how/why it appeared 
in my script on one of the RaQ3s?

Hope this helps.

# old
#sleep 46
#/usr/sbin/ntpdate 204.123.2.5 >>/var/cobalt/sauce.log 2>&1
#/sbin/clock -w -u >>/var/cobalt/sauce.log 2>&1
#unlink()
#/sbin/clock -w -u >>/var/cobalt/sauce.log 2>&1

new
sleep 177
/usr/sbin/ntpdate 204.123.2.5 >>/var/cobalt/sauce.log 2>&1
/sbin/clock -w -u >>/var/cobalt/sauce.log 2>&1

Brandon Wheaton
GVAS Operations Engineer 
ValiCert, Inc.
1215 Terra Bella Ave. 
Mountain View, CA 94043 
650.567.5430 
----
Computers are useless; they can only provide answers.
~Pablo Picasso

-----Original Message-----
From: Robert G. Fisher [mailto:rfisher@xxxxxxxxxxxxxxx]
Sent: Wednesday, March 29, 2000 10:17 AM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] ntp cron problem


On Wed, Mar 29, 2000 at 09:30:13AM -0800, Michael Aronoff wrote:
> /etc/cron.daily/ntpdate.auto: syntax error near unexpected token
> `/sbin/clock'
> /etc/cron.daily/ntpdate.auto: /etc/cron.daily/ntpdate.auto: line 12:
> `/sbin/clock -w -u >>/var/cobalt/sauce.log 2>&1'

What's in the file /etc/cron.daily/ntpdate.auto ?

-- 
Robert G. Fisher		     NEOCOM Microspecialists Inc. 
System Administrator/Programmer      (540) 666-9533 x 116

_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature