From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EcIft-0004c3-MT for garchives@archives.gentoo.org; Wed, 16 Nov 2005 08:29:50 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAG8SAXX019752; Wed, 16 Nov 2005 08:28:10 GMT Received: from daevid.com (c-24-16-16-159.hsd1.wa.comcast.net [24.16.16.159]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAG8LQoe004906 for ; Wed, 16 Nov 2005 08:21:27 GMT Received: from locutus ([10.10.10.69]) by daevid.com with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.54) id 1EcIXZ-0003Vy-1H for gentoo-user@lists.gentoo.org; Wed, 16 Nov 2005 00:21:14 -0800 From: "Daevid Vincent" To: Subject: [gentoo-user] Vixiecron not working all the sudden Date: Wed, 16 Nov 2005 00:20:51 -0800 Message-ID: <005301c5ea86$ba5e32e0$450a0a0a@locutus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcXqhqfvRWbN4CKRQ2CZrr3h2KtC+A== X-Archives-Salt: d5477900-9c65-44ab-a2b6-6d3fefbdf3eb X-Archives-Hash: 4a526b4aa78f72708fbf7b9d952cd5c1 Recently, around October 23rd, I've noticed that my cron.daily stuff isn't running. I've tried to 'restart' vixiecron and it complains that it's already started (duh). So I'll killall cron, rm the pid, etc. and then start it again and it works for a while then dies again. I made a simple script that emails me and put it in cron.hourly... Sure enough after a while it just stops working. WTF. I haven't updated vixiecron in a very long time... # genlop -l | grep cron Fri Jul 23 04:23:37 2004 >>> sys-apps/cronbase-0.3 Sun Nov 7 10:54:47 2004 >>> sys-apps/vixie-cron-4.1-r2 Sun Nov 7 21:54:46 2004 >>> sys-apps/cronbase-0.3.1 Mon Nov 29 03:50:10 2004 >>> sys-apps/vixie-cron-4.1-r4 Mon Apr 25 04:21:06 2005 >>> sys-process/vixie-cron-4.1-r7 Sat May 7 20:28:31 2005 >>> sys-process/cronbase-0.3.2 Thu Aug 11 06:22:34 2005 >>> sys-process/vixie-cron-4.1-r8 # genlop -l --date 4 weeks ago * app-admin/gnome-system-tools [I removed some kde/gnome stuff, as that should have no effect] Wed Oct 19 12:51:38 2005 >>> [some stuff, but cron worked after this point] Mon Oct 31 17:33:17 2005 >>> app-shells/bash-3.0-r13 Mon Oct 31 20:48:56 2005 >>> dev-libs/openssl-0.9.7e-r2 Mon Oct 31 23:23:51 2005 >>> dev-lang/python-2.4.2 Mon Oct 31 23:36:04 2005 >>> sys-apps/sysvinit-2.86-r2 Tue Nov 1 00:29:48 2005 >>> net-misc/rsync-2.6.6-r1 Tue Nov 1 01:11:06 2005 >>> net-misc/wget-1.10.2 Tue Nov 1 01:45:29 2005 >>> sys-apps/man-pages-2.09 Tue Nov 1 03:00:18 2005 >>> sys-devel/libtool-1.5.20 Tue Nov 1 17:22:28 2005 >>> sys-fs/udev-070-r1 Tue Nov 1 19:48:17 2005 >>> sys-libs/pam-0.78-r3 Tue Nov 1 21:29:46 2005 >>> net-misc/openssh-4.2_p1 Wed Nov 2 01:18:33 2005 >>> dev-perl/DBD-mysql-2.9007 Wed Nov 2 01:22:39 2005 >>> media-sound/alsa-headers-1.0.10_rc2 Wed Nov 2 01:32:16 2005 >>> media-libs/alsa-lib-1.0.10_rc2 Wed Nov 2 01:32:51 2005 >>> app-admin/localepurge-0.2-r2 Wed Nov 2 01:37:12 2005 >>> mail-mta/exim-4.54 Wed Nov 2 01:42:49 2005 >>> dev-libs/glib-2.8.3 Wed Nov 2 11:25:22 2005 >>> app-crypt/gpgme-1.1.0 Thu Nov 3 01:24:42 2005 >>> media-libs/taglib-1.4 Thu Nov 3 08:53:06 2005 >>> net-misc/curl-7.15.0 Thu Nov 3 08:57:10 2005 >>> gnome-base/librsvg-2.12.7 Thu Nov 3 08:58:36 2005 >>> app-text/gnome-doc-utils-0.4.3 Thu Nov 3 09:01:17 2005 >>> media-sound/sound-juicer-2.12.2-r1 Thu Nov 3 09:31:07 2005 >>> dev-python/pygtk-2.8.2 Thu Nov 3 09:34:29 2005 >>> app-portage/gentoolkit-0.2.0-r2 Thu Nov 3 09:37:48 2005 >>> dev-db/phpmyadmin-2.6.4_p3 Thu Nov 3 09:38:29 2005 >>> net-www/mod_auth_mysql-3.0.0 Thu Nov 3 09:48:29 2005 >>> media-sound/beep-media-player-0.9.7-r8 Thu Nov 3 09:51:51 2005 >>> media-libs/imlib2-1.2.1.009 Thu Nov 3 09:52:48 2005 >>> net-ftp/vsftpd-2.0.3-r2 Thu Nov 3 10:26:21 2005 >>> media-gfx/imagemagick-6.2.4.2-r1 Thu Nov 3 23:31:26 2005 >>> sys-devel/gcc-config-1.3.12-r3 Thu Nov 3 23:42:31 2005 >>> sys-kernel/gentoo-sources-2.6.13-r5 Thu Nov 3 23:51:59 2005 >>> media-libs/netpbm-10.29 Thu Nov 3 23:52:43 2005 >>> app-admin/eselect-1.0_rc1 Thu Nov 3 23:53:21 2005 >>> app-admin/eselect-opengl-1.0.3 Fri Nov 4 00:05:30 2005 >>> media-gfx/xloadimage-4.1-r4 Fri Nov 4 00:10:50 2005 >>> dev-libs/liboil-0.3.3 Fri Nov 4 00:26:44 2005 >>> net-libs/libwww-5.4.0-r4 Fri Nov 4 00:32:55 2005 >>> x11-libs/fltk-1.1.6 Fri Nov 4 00:41:16 2005 >>> media-video/totem-1.2.0-r2 Sat Nov 5 20:04:15 2005 >>> sys-apps/man-pages-2.11 Sat Nov 5 23:21:51 2005 >>> media-libs/giflib-4.1.4 Thu Nov 10 22:13:58 2005 >>> sys-apps/attr-2.4.19-r1 Thu Nov 10 22:16:32 2005 >>> sys-apps/acl-2.2.27 Thu Nov 10 22:38:35 2005 >>> media-sound/alsa-headers-1.0.10_rc3 Thu Nov 10 22:46:57 2005 >>> media-libs/alsa-lib-1.0.10_rc3 Thu Nov 10 22:47:27 2005 >>> app-portage/mirrorselect-1.2 Thu Nov 10 23:27:17 2005 >>> dev-util/desktop-file-utils-0.10-r1 Thu Nov 10 23:34:36 2005 >>> x11-libs/vte-0.11.15-r1 Thu Nov 10 23:35:17 2005 >>> app-portage/gentoolkit-0.2.0-r3 Thu Nov 10 23:38:35 2005 >>> dev-db/phpmyadmin-2.7.0_beta1 The cron man page states: "In this version of cron, /etc/crontab must not be readable or writable by any user other than root. In other words, it should be mode 0600." # ll /etc/crontab -rw-r--r-- 1 root root 2477 Aug 11 06:22 /etc/crontab # chmod 600 /etc/crontab # ll /etc/crontab -rw------- 1 root root 2477 Aug 11 06:22 /etc/crontab # /etc/init.d/vixie-cron restart But I don't think that will slove it, as the date of the file his Aug 11th... So that means it was running fine for several months with the wrong perms... -- gentoo-user@gentoo.org mailing list