Hello,
Sorry I ask you again, but I cannot handle with this.
I put the lines in the root because from adm don't work properly!!??
Here is my /usr/spool/cron/crontabs/root file:
40 13 * * * find /var/adm/syslog.dated -type d -mtime +14 -exec rm -rf '{}' \;
40 13 * * * find /var/adm \( -name 'pacct*' \) -atime +7 -exec rm -rf {} \;
39 13 * * 1-6 /usr/bin/last >> /usr3/lastall
40 13 * * 1-6 /usr/sbin/acct/runacct > /usr/adm/acct/nite/fd2log&
5 * * * * /usr/sbin/acct/ckpacct&
40 13 1 * * /usr/sbin/acct/monacct&
40 13 * * * /usr/sbin/ac -p /var/adm/acct/nite/timelog&
#45 12 * * 4 /usr/sbin/acct/dodisk /dev/rz4g /dev/rz3a /dev/rz3b /dev/rz3g/dev/r$
Every day when the runacct starts it creates an lock and a lastdate files
with the current date and the statefile contain SETUP word. I try to
restart runacct with the command after I removed the lock and lastdate
files:
>runacct 0512 SETUP > /var/adm/acct/nite/fd2log&
but the fd2log is empty and I received the next message in the
active05012 file:
command summaries
complete
system accounting completed at Mon
restarting acctg for 0512 at SETUP
previous state was SETUP
Tue May 12 14:02:09 EET DST 1998
-rw-rw-r-- 1 adm adm 0 May 8 12:20
/var/adm/acct/nite/dacct
-rw-rw-r-- 1 adm adm 4524 May 12 14:00 /var/adm/wtmp
-rw-rw-r-- 1 adm adm 0 May 11 13:45 fee
-rw-rw-r-- 1 adm adm 18640 May 12 14:02 pacct
-rw-rw-r-- 1 adm adm 0 Apr 27 13:57 qacct
ERROR: Spacct1.0512 already exists
file setups probably already run
Will you be so kind and tell me what to do?
Thanks
\\\___///
\\ - - //
( _at_ _at_ )
-----------------------------oOOo-(_)-oOOo--------------------------------
*Bubulac Angela Tatiana - National Institute for R&D of Materials Physics*
* Bucuresti - Magurele P.O.B. MG-7 *
* Romania *
*e-mail: tatia_at_alpha1.infim.ro | phone :401-7805385 int.1380 *
* root_at_alpha1.infim.ro | 401-7806925 *
* | 401-7804573 *
--------------------------------------Oooo--------------------------------
oooO ( )
( ) ) /
\ ( (_/
\_)
Received on Tue May 12 1998 - 13:35:48 NZST