weird cron log

Rick Stevens rstevens at vitalstream.com
Tue Jun 27 19:19:06 UTC 2006


On Tue, 2006-06-27 at 14:29 -0400, kalin mintchev wrote:
> anybody?
> 
> >
> >  hi all...
> >
> > i was looking on google. found some unresolved threads...
> >
> > the machine is a fedora 3:
> > Linux cellphone 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686 athlon
> > i386 GNU/Linux
> >
> > looking at the messages log i saw 2 weird things there today:
> >
> > 1. there are entries from "Jun 26 17:xx:xx" before entries from "Jun 26
> > 16:xx:xx"?!? and entries from "Jun 26 09:36:51" that are in between "Jun
> > 26 16:xx:xx" stamped records?!! how is that possible?!?

The files are created sequentially on-the-fly.  If you changed time on
the machine, then the timestamps in the file can be switched.  Look at
the last line of the log entries you submitted...did your machine
suddenly switch to daylight savings time at that point?

> > and
> > 2. each hour after the first minute of it there is something like:
> > Jun 26 15:01:01 cellphone crond(pam_unix)[19571]: session opened for user
> > root by (uid=0)
> >
> > there are no cron.hourly files.. and nothing for crontab -l. so i'm not
> > sure what that entry means...
> > any ideas?

These are from the system crontab, /etc/crontab.  It has a job that
fires up every hour at 1 minute after the hour to run anything in
/etc/cron.hourly.  However, it starts the shell BEFORE it realizes
there's nothing in /etc/cron.hourly and that's what you're seeing--the
shell launch.  Note in your items below that the shell lasts for less
than a second.

If it's truly annoying, then edit /etc/crontab and comment out the

	01 * * * * root run-parts /etc/cron.hourly

line and it'll go away.

> >
> > any clarification would be appreciated...  thanks......
> >
> > here is a log piece:
> >
> > .........................................
> > Jun 26 13:01:01 cellphone crond(pam_unix)[18815]: session opened for user
> > root by (uid=0)
> > Jun 26 13:01:01 cellphone crond(pam_unix)[18815]: session closed for user
> > root
> > Jun 26 13:56:05 cellphone sshd(pam_unix)[6481]: session closed for user
> > steve
> > Jun 26 13:56:05 cellphone su(pam_unix)[6524]: session closed for user root
> > Jun 26 14:01:01 cellphone crond(pam_unix)[19123]: session opened for user
> > root by (uid=0)
> > Jun 26 14:01:01 cellphone crond(pam_unix)[19123]: session closed for user
> > root
> > Jun 26 15:01:01 cellphone crond(pam_unix)[19571]: session opened for user
> > root by (uid=0)
> > Jun 26 15:01:01 cellphone crond(pam_unix)[19571]: session closed for user
> > root
> > Jun 26 16:01:01 cellphone crond(pam_unix)[19981]: session opened for user
> > root by (uid=0)
> > Jun 26 16:01:01 cellphone crond(pam_unix)[19981]: session closed for user
> > root
> > Jun 26 17:01:01 cellphone crond(pam_unix)[20440]: session opened for user
> > root by (uid=0)
> > Jun 26 17:01:01 cellphone crond(pam_unix)[20440]: session closed for user
> > rootJun 26 17:29:44 cellphone kernel: input: AT Raw Set 2 keyboard on
> > isa0060/serio0
> > Jun 26 17:29:44 cellphone hal.hotplug[20659]: DEVPATH is not set
> > Jun 26 17:29:44 cellphone hal.hotplug[20653]: DEVPATH is not set
> > Jun 26 17:31:51 cellphone hal.hotplug[20723]: DEVPATH is not set
> > Jun 26 17:31:51 cellphone hal.hotplug[20742]: DEVPATH is not set
> > Jun 26 17:31:51 cellphone kernel: input: AT Raw Set 2 keyboard on
> > isa0060/serio0
> > Jun 26 16:37:22 cellphone syslogd 1.4.1: restart.
> > Jun 26 16:37:22 cellphone syslog: syslogd startup succeeded
> > Jun 26 16:37:22 cellphone kernel: klogd 1.4.1, log source = /proc/kmsg
> > started.
> > Jun 26 16:37:22 cellphone kernel: Linux version 2.6.9-1.667
> > (bhcompile at tweety.build.redhat.com) (gcc version 3.4.2 20041017 (Red Hat
> > 3.4.2-6.fc3)) #1 Tue Nov 2 14:41:25 EST 2004
> > Jun 26 16:37:22 cellphone kernel: BIOS-provided physical RAM map:
> >
> > ..................
> >
> > Jun 26 16:37:24 cellphone rc: Starting lm_sensors:  succeeded
> > Jun 26 16:37:24 cellphone autofs: automount startup succeeded
> > Jun 26 09:36:49 cellphone rc.sysinit: -e
> > Jun 26 09:36:49 cellphone udevsend[750]: starting udevd daemon
> > Jun 26 09:36:50 cellphone scsi.agent[762]: disk at
> > /devices/pci0000:00/0000:00:0f.0/host1/1:0:0:0
> > Jun 26 09:36:51 cellphone start_udev: Starting udev:  succeeded
> > Jun 26 09:36:51 cellphone udevsend[1098]: starting udevd daemon
> > Jun 26 09:36:57 cellphone rc.sysinit: -e
> > Jun 26 09:36:57 cellphone ieee1394.agent[1588]: ... no drivers for
> > IEEE1394 product 0x/0x/0x
> > Jun 26 09:36:58 cellphone ieee1394.agent[1630]: ... no drivers for
> > IEEE1394 product 0x/0x/0x
> > Jun 26 09:37:03 cellphone sysctl: net.ipv4.ip_forward = 0
> > Jun 26 09:37:03 cellphone sysctl: net.ipv4.conf.default.rp_filter = 1
> > Jun 26 09:37:03 cellphone sysctl:
> > net.ipv4.conf.default.accept_source_route = 0
> > Jun 26 09:37:03 cellphone sysctl: kernel.sysrq = 0
> > Jun 26 09:37:03 cellphone sysctl: kernel.core_uses_pid = 1
> > Jun 26 09:37:03 cellphone rc.sysinit: Configuring kernel parameters:
> > succeeded
> > Jun 26 16:37:03 cellphone date: Mon Jun 26 16:37:03 PDT 2006
> > Jun 26 16:37:03 cellphone rc.sysinit: Setting clock  (localtime): Mon Jun
> > 26 16:37:03 PDT 2006 succeeded

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-  The problem with being poor is that it takes up all of your time  -
----------------------------------------------------------------------




More information about the users mailing list