From: David Baron on
I get these periodically through the day:

Cron <root(a)dovidhalevi> /usr/sbin/ntpdate -s 216.200.93.8 (failed)
From: Cron Daemon <root(a)dovidhalevi.homelinux.net>
To: root(a)dovidhalevi.homelinux.net

command failed with exit status 1

I have no cron running ntpdate that I know of and there is no ntpdate entry in
anacrontab. I run it in an rc.local type script on bootup. Period. This run
works.

The only thing I can think of is an obsolete webmin entry but I have not run
webmin for ages. This simply made cron scripts for me as far as I know and I
have no ntpdate crons that I can find. Where else might I look?

(I would remove or simply substitute ntpdate-debian.)

There is no ntpd on my system.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/201006101938.01635.d_baron(a)012.net.il
From: Celejar on
On Thu, 10 Jun 2010 19:38:00 +0300
David Baron <d_baron(a)012.net.il> wrote:

> I get these periodically through the day:
>
> Cron <root(a)dovidhalevi> /usr/sbin/ntpdate -s 216.200.93.8 (failed)
> From: Cron Daemon <root(a)dovidhalevi.homelinux.net>
> To: root(a)dovidhalevi.homelinux.net
>
> command failed with exit status 1
>
> I have no cron running ntpdate that I know of and there is no ntpdate entry in
> anacrontab. I run it in an rc.local type script on bootup. Period. This run
> works.

When you say that you have "no cron running ntpdate", where have you
looked? Have you checked root's crontab, as well as those of other
users on the system?

Celejar
--
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/20100610132805.fc13c17f.celejar(a)gmail.com
From: Aaron Toponce on
On 06/10/2010 10:38 AM, David Baron wrote:
> I get these periodically through the day:
>
> Cron <root(a)dovidhalevi> /usr/sbin/ntpdate -s 216.200.93.8 (failed)
> From: Cron Daemon <root(a)dovidhalevi.homelinux.net>
> To: root(a)dovidhalevi.homelinux.net
>
> command failed with exit status 1

Woah! Cron should NOT be running NTP. That defeats the whole purpose of
NTP. NTP is designed to adjust your clock so it's more accurate. How can
it do this if you're relying on your clock to run NTP? :) NTP adjusts
your clock by querying other NTP servers of a higher stratum other than
itself.

So, the first thing I would do is rip that line out of cron, whether in
be in root's crontab, or elsewhere. If you find an NTP script in any of
the /etc/cron.* directories, I'd rip it out of there too.

> I have no cron running ntpdate that I know of and there is no ntpdate entry in
> anacrontab. I run it in an rc.local type script on bootup. Period. This run
> works.
>
> The only thing I can think of is an obsolete webmin entry but I have not run
> webmin for ages. This simply made cron scripts for me as far as I know and I
> have no ntpdate crons that I can find. Where else might I look?

/var/spool/cron/ is the first place I would look for cron enttries. They
should be plain text files, so they're easy to grep through. Then I'd
look for scripts in /etc/cron.*/ as already mentioned.

> (I would remove or simply substitute ntpdate-debian.)
>
> There is no ntpd on my system.

There are a few packages that Debian ships related to ntp. 'ntp',
'openntpd' and 'ntpdate'. Sounds like you have the latter installed. If
either the ntp or openntpd packages are installed, you will get the NTP
daemon installed, as well as all client utilities. FYI in that.

--
. O . O . O . . O O . . . O .
. . O . O O O . O . O O . . O
O O O . O . . O O O O . O O O

From: David Baron on
> > I have no cron running ntpdate that I know of and there is no ntpdate
> > entry in anacrontab. I run it in an rc.local type script on bootup.
> > Period. This run works.
> >
> > The only thing I can think of is an obsolete webmin entry but I have not
> > run webmin for ages. This simply made cron scripts for me as far as I
> > know and I have no ntpdate crons that I can find. Where else might I
> > look?
>
> /var/spool/cron/ is the first place I would look for cron enttries. They
> should be plain text files, so they're easy to grep through. Then I'd
> look for scripts in /etc/cron.*/ as already mentioned.

Yes, I have it in
/var/spool/cron/root/crontab

Where is the original?


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/201006122259.42427.d_baron(a)012.net.il
From: David Baron on
On Saturday 12 June 2010 23:02:11 David Baron wrote:
> > > I have no cron running ntpdate that I know of and there is no ntpdate
> > > entry in anacrontab. I run it in an rc.local type script on bootup.
> > > Period. This run works.
> > >
> > > The only thing I can think of is an obsolete webmin entry but I have
> > > not run webmin for ages. This simply made cron scripts for me as far
> > > as I know and I have no ntpdate crons that I can find. Where else
> > > might I look?
> >
> > /var/spool/cron/ is the first place I would look for cron enttries. They
> > should be plain text files, so they're easy to grep through. Then I'd
> > look for scripts in /etc/cron.*/ as already mentioned.
>
> Yes, I have it in (correction)
> /var/spool/cron/crontabs/root
>
> Where is the original?

I still have been unable to find it. Removing the file on /var would
accomplish nothing. Next bootup will have it back.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/201006151842.03982.d_baron(a)012.net.il
 |  Next  |  Last
Pages: 1 2
Prev: Dhclient Errors
Next: ls -alR with wd?