olderThan files

Hi,

I noticed that recently strange empty files are being created in the home directory of the root account on my solaris 10 servers that have Sun Update Manager installed. Here is a typical list:

t# ls -l

total 2

-rw-r--r--1 rootroot0 Sep 1 14:28 090010200

-rw-r--r--1 rootroot0 Sep 3 14:28 090030200

-rw-r--r--1 rootroot0 Sep 5 14:28 090050200

-rw-r--r--1 rootroot0 Sep 7 14:28 090070200

-rw-r--r--1 rootroot0 Sep 9 14:28 090090200

-rw-r--r--1 rootroot0 Sep 9 14:28 olderThan.11323

-rw-r--r--1 rootroot0 Aug 30 02:00 olderThan.14724

-rw-r--r--1 rootroot0 Aug 12 02:00 olderThan.1808

-rw-r--r--1 rootroot0 Sep 5 14:28 olderThan.18486

-rw-r--r--1 rootroot0 Sep 7 14:28 olderThan.198

-rw-r--r--1 rootroot0 Aug 31 02:00 olderThan.20560

-rw-r--r--1 rootroot0 Sep 11 02:00 olderThan.22207

-rw-r--r--1 rootroot0 Sep 1 14:28 olderThan.26166

-rw-r--r--1 rootroot0 Sep 12 02:00 olderThan.27695

-rw-r--r--1 rootroot0 Sep 13 02:00 olderThan.3217

-rw-r--r--1 rootroot0 Sep 3 14:28 olderThan.6877

-rw-r--r--1 rootroot0 Sep 14 02:00 olderThan.9413

#

Are these files some sort of leftover temp files created by Sun Update Manager? Should they continue exist? Is this a bug from Sun Update Manager?

Regards,

Should they continue exist?

[1371 byte] By [shen] at [2007-11-26 10:11:18]
# 1

They are temp files used by the inverntory agent which should run once a day from root's crontab. Providing the inventory agent is not currently running it is safe to remove them all though they should be removed by the inventory agent towards the end of it's daily run anyway.

The inventory agent entry in crontab should look similar to the following -

26 21 * * * /usr/lib/cc-cfw/platform/invagent/bin/cc-invagent

ForumModerator at 2007-7-7 1:57:39 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2

My crontab entry looks like:

53 11 * * * /usr/lib/cc-cfw/platform/invagent/bin/cc-invagent

and my inventory files are not removed....well, to be exact, SOME are not removed...for example, here's a snippet of ls -lt from my root dir:

-rw-r--r--1 rootroot0 Dec 20 23:00 olderThan.22085

drwxr-xr-x2 rootsys 1024 Dec 18 15:11 sbin

-rw-r--r--1 rootroot0 Dec 14 23:00 olderThan.24299

-rw-r--r--1 rootroot0 Dec 2 23:00 olderThan.3508

-rw-r--r--1 rootroot0 Nov 27 08:00 olderThan.26365

drwxr-xr-x 43 rootsys 1024 Nov 14 19:38 var

-rw-r--r--1 rootroot0 Nov 4 20:45 olderThan.632

-rw-r--r--1 rootroot0 Nov 4 20:45 110040800

drwxr-xr-x3 rootroot 512 Nov 1 17:54 jumpstart

-rw-r--r--1 rootroot0 Oct 26 08:00 olderThan.13048

-rw-r--r--1 rootroot0 Oct 15 08:00 olderThan.24447

-rw-r--r--1 rootroot0 Oct 9 20:45 olderThan.6174

-rw-r--r--1 rootroot0 Oct 9 20:45 100090800

-rw-r--r--1 rootroot0 Sep 8 2006 olderThan.14490

-rw-r--r--1 rootroot0 Aug 25 2006 olderThan.3835

-rw-r--r--1 rootroot0 Aug 20 2006 olderThan.21748

drwxr-xr-x2 rootroot 512 Aug 17 2006 apc

-rw-r--r--1 rootroot0 Aug 8 2006 olderThan.19990

-rw-r--r--1 rootroot0 Aug 8 2006 080080800

-rw-r--r--1 rootroot0 Aug 5 2006 olderThan.29402

-rw-r--r--1 rootroot0 Aug 5 2006 080050800

drwx5 rootsys12 Aug 2 2006 zones

...any ideas why these are not removed? Also, what is causing the numeric-only named files? i.e. '080080800' after 'olderThan.19990' ? I'm a Solaris 8 guy and this is baffling.

Thanks,

Phil

philforrest at 2007-7-7 1:57:39 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3
These lock files should actually be created in /usr/lib/cc-cfw/platform/invagent/lock/ does this directory exist on your host?
ForumModerator at 2007-7-7 1:57:39 > top of Java-index,Administration Tools,Sun Update Connection-System...