On Thu, 1 Sep 2005, Glen Gunselman wrote:
/var/adm/acct/nite/fd2log contains one line:
/usr/lib/acct/runacct: /var/adm/acct/nite/statefile: cannot create
I don't know when this line was written.
`ls -l /var/adm/acct/nite/fd2log` will tell you that. The cron entry
overwrites that file each time it is run, so most likely the date on it is
this morning, 2:30am.
I was playing around with
this yesterday and deleted this file. It that time there were many
messages about the "/etc/acct/holidays" needing updating. I have not
looked at the "holidays" file. At this point I mostly need to get
processing going so that /var does not fill up (currently it's showing
97%).
Is the "cannot create" error a permissions problem?
I'd say yes, but it doesn't make sense to me that
/var/adm/acct/nite/fd2log could get created but
/var/adm/acct/nite/statefile could not. Check the permissions on the
directory anyways ( ls -ld /var/adm/acct/nite/ ) to verify they look ok.
You might try running /usr/lib/acct/runacct by hand, as the adm user, to
see if anything else strange is going on. Perhaps it is a space issue,
that at the time there was not enough space to create the
/var/adm/acct/nite/statefile file?
-f
http://www.blackant.net/
Thanks for the ideas,
Glen Gunselman
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users