Hide Forgot
The kernel-2.2 directory on updates.redhat.com does not include an updated psacct package, which breaks when RH 5.2 is upgraded to 2.2.x. A recompile, subsituting the acct.h that is included with the 2.2.x kernels, seems to work for me. Otherwise, the commands return garbage and often dump core.
*** Bug 1509 has been marked as a duplicate of this bug. *** psacct needs to be updated for 2.2 kernels. However, the caveat is that the autoconf script for it is broken. After doing a ./configure, the config.h looks like: /* Define if you have the <linux/acct.h> header file. */ /* #undef HAVE_LINUX_ACCT_H */ instead of the necessary /* Define if you have the <linux/acct.h> header file. */ #define HAVE_LINUX_ACCT_H so, in addition to recompiling against 2.2 headers, you'll also either need to patch the autoconf stuff or else add a kludge to sed the config.h after it's generated. Ask away if you have more questions. BTW, I'm assuming this is true for all architectures; I've only noticed it on i386, but because of why it broke, it should be true on everything. later, chris
fixed in psacct-6.3-7