Problem
The /usr/lib/acct/ckpacct utility does a 'du -s' to get the size of /usr/adm/pacct. However, under SCO OpenServer Release 5.0.x, this file is a symbolic link to /var/opt/K/SCO/Unix/5.0.0Cl/usr/adm/pacct (or /var/opt/K/SCO/Unix/5.0.2Dp/usr/adm/pacct), and hence 'du -s' will always return '0' no matter what the real size of /usr/adm/pacct is.
Furthermore, the /usr/lib/acct/turnacct script, which is called 'ckpacct', may break the symbolic link when using 'mv' to move pacct around. The scripts should have been changed to use 'cp' and 'rm' instead.
Finally, /var/adm/pacct is also a symbolic link to /var/opt/K/SCO/Unix/5.0.0Cl/usr/adm/pacct (or /var/opt/K/SCO/Unix/5.0.2Dp/usr/adm/pacct) but the documentation does not make mention of /var/adm/pacct anywhere.
Solution
The problems with the /usr/lib/acct/pckacct and /usr/lib/acct/turnacct, as well as the lack of documentation on the presence of /var/adm/pacct, have been reported to SCO Engineering.
See also
acctsh(ADM)