Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2014 08:50:57 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        Jim Pazarena <fquest@paz.bz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: AMD 10.0 - cron & atrun
Message-ID:  <alpine.BSF.2.11.1407030832180.11883@mail.fig.ol.no>
In-Reply-To: <8fe368eeb368bf87fd50a3060719f4e1@paz.bz>
References:  <8fe368eeb368bf87fd50a3060719f4e1@paz.bz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2 Jul 2014 23:25-0700, Jim Pazarena wrote:

> I've recently installed FBSD 10.0 AMD on an HP rack server.
> A "ps" shows 574 cron instances running, and 573 atrun instances running.
> But no actual jobs other than 5 or 6 running.
> I 'think' the cron is open because it has triggered atrun.
> But I cannot for the life of me figure out why atrun isn't terminating.
> I tried an "atrun" at the command line, and it sits there, as "if" it
> was running something.
> 
> Advice much appreciated.

Have you added anything particular to /etc/crontab?
How about any crontab(1) files stored in /var/cron/tabs?
Any files in /var/at/jobs or /var/at/spool?

atrun(8) should only be invoked by cron(8).
at(1) is the user interface to the atrun service.

Unless you or your users need the atrun service, you could simply add 
the # character at the beginning of the atrun line in /etc/crontab. 

There's no need to restart cron(8) after editing /etc/crontab, on the 
next minute cron(8) will notice the change in timestamps and re-read 
/etc/crontab.

Now, in your case I would first try and understand why you have so 
many cron processes running,

ps -adux

would be helpful, and next kill them all using

killall -TERM cron

, and if failing that, kill them using

killall -KILL cron

Delete any files in /var/at/jobs and in /var/at/spool.

Finally, if you're convinced your /etc/crontab and any files in 
/var/cron/tabs are sound, then start cron again using

/etc/rc.d/cron start

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+
From owner-freebsd-questions@FreeBSD.ORG  Thu Jul  3 09:58:08 2014
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id C3FD534A
 for <freebsd-questions@freebsd.org>; Thu,  3 Jul 2014 09:58:08 +0000 (UTC)
Received: from mail-qa0-x233.google.com (mail-qa0-x233.google.com
 [IPv6:2607:f8b0:400d:c00::233])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 7449722AC
 for <freebsd-questions@freebsd.org>; Thu,  3 Jul 2014 09:58:08 +0000 (UTC)
Received: by mail-qa0-f51.google.com with SMTP id j7so10015812qaq.38
 for <freebsd-questions@freebsd.org>; Thu, 03 Jul 2014 02:58:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=seibercom.net; s=google;
 h=date:from:to:subject:message-id:reply-to:organization:mime-version
 :content-type; bh=/dA+K8AfDAvEthqoMWsEgknk+2OXPl+4c5qxvg8+x9M=;
 b=MleHzi/w7A16XrH54mTLXNNx2GWn7MlPqKaJR8nm6WcG5xvqZVtNyAAwK0W3WfroVc
 H/5Hr6g9fVT6i8nmQhTOc5jVPFpd0I6dcn4kq5K7h4261G+ppsD2Vb03aUMo7WLo8tUB
 fvyHuilgEpZuA/bgUSEDVoWAOCDRr8CAnd2IQ=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:date:from:to:subject:message-id:reply-to
 :organization:mime-version:content-type;
 bh=/dA+K8AfDAvEthqoMWsEgknk+2OXPl+4c5qxvg8+x9M=;
 b=nG89flm+DELFxA8exvHRUQk5wglQYzbXNcTkefTZu2ZDCR6VRy5HIeCVJwt4gAVPn/
 69CNgFIXRE6CEbG+DZVCHUBUBt8fLvj4QkAbJhUZW+I/mJOjUbr5qF390cOLM27VBn8/
 wA6Mk6N7c4rnaVDjoGr55Qp2uaMDvsWo7DvTw6X1RE4amilNC+pfx/Uh2Efy+3tYPNI1
 l2Y8LlNpurHkfs6mmUHHl/d7lgGqMMCj70eKImS4YaFpUGL5Y+4tuJ82OEBquEY+8yTg
 QDf3O4qVXUzuDlDRLE92j+UKY6t37LVI+DxNBPRRYg5j7Use3zc6FTWwtfTstTBe3AKC
 HUqg==
X-Gm-Message-State: ALoCoQkEChneFQyd0cMaBjsXGukUhQA6H/QdTB0JSk5/qFCLJOZlu6N0WXoJSw8T7L7jMOUmMol/
X-Received: by 10.224.7.202 with SMTP id e10mr5441277qae.15.1404381487448;
 Thu, 03 Jul 2014 02:58:07 -0700 (PDT)
Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com.
 [76.182.104.150])
 by mx.google.com with ESMTPSA id 41sm18039961qgv.42.2014.07.03.02.58.06
 for <freebsd-questions@freebsd.org>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 03 Jul 2014 02:58:06 -0700 (PDT)
Received: from scorpio (cpe-076-182-104-150.nc.res.rr.com [76.182.104.150])
 (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 (Authenticated sender: jerry@seibercom.net)
 by scorpio.seibercom.net (Postfix) with ESMTPSA id 3h3vrG08ZYz3FML0
 for <freebsd-questions@freebsd.org>; Thu,  3 Jul 2014 05:58:06 -0400 (EDT)
X-Virus-Status: Clean
X-Virus-Scanned: clamav-milter 0.98.4 at scorpio.seibercom.net
Date: Thu, 3 Jul 2014 05:57:40 -0400
From: Jerry <jerry@seibercom.net>
To: User questions <freebsd-questions@freebsd.org>
Subject: Security Warning
Message-ID: <20140703055740.0f94e5e1@scorpio>
Reply-To: User questions <freebsd-questions@freebsd.org>
Organization: seibercom NET
X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; amd64-portbld-freebsd10.0)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
 boundary="Sig_/QoMMA=teLE=RmSUpibcXfC."; protocol="application/pgp-signature"
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Jul 2014 09:58:08 -0000

--Sig_/QoMMA=teLE=RmSUpibcXfC.
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Thu, 3 Jul 2014 05:55:05 -0400

FreeBSD-10 / amd64

Every morning I receive a security email with the following notations:

Checking setuid files and devices:
find: /usr/share/groff_font/devX100/CI: Bad file descriptor
find: /usr/share/groff_font/devX100/S: Bad file descriptor

Checking negative group permissions:
find: /usr/share/groff_font/devX100/CI: Bad file descriptor
find: /usr/share/groff_font/devX100/S: Bad file descriptor

Is there something seriously wrong here, or can I safely ignore it?

--=20
Jerry

--Sig_/QoMMA=teLE=RmSUpibcXfC.
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJTtSkbAAoJEElTsHIJnX8eHf8H/jvvfjca+c6MY1Hycrmq45bj
39amDjnskSZU5YREdnU2IPRQdUCsJNRLjZY1/B5mglaqY/TzhSeMrXzK40E2hHKP
20jT23FD3PtVIDWnS5MJvYcZXFiZA8tlzrbt+DFz1m0yplNGl6Kqaj3HCg6UPKTv
WBTHYeqEJP75SUB0VDod6lgRGSFzLsYUxmv0bz6CJj53PfDInEHO5D08lnjgoghs
G1gUySipKZIPuyfdeSS8NF/WDqntgrfjNGOjsXou7XZDyDyFxQVcRud5u8SDfFwP
s7QN4h3A4ykOqQNveUMSG8W1LARsLfCsGLmMmEvFAS5HnlGo7eGTJ7yeE/wp6BI=
=Wb8j
-----END PGP SIGNATURE-----

--Sig_/QoMMA=teLE=RmSUpibcXfC.--



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