From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078708811527.tru64-unix-managers.marc@archive.invalid> From: "ing.Bubulac Angela Tatiana" Date: Tue, 12 May 1998 11:29:21 +0000 To: tru64-unix-managers Subject: runacct problem(urgent) X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078708811527 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 I received the next message in the active05012 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 \\\___/// \\ - - // ( @ @ ) -----------------------------oOOo-(_)-oOOo-------------------------------- *Bubulac Angela Tatiana - National Institute for R&D of Materials Physics* * Bucuresti - Magurele P.O.B. MG-7 * * Romania * *e-mail: tatia@alpha1.infim.ro | phone :401-7805385 int.1380 * * root@alpha1.infim.ro | 401-7806925 * * | 401-7804573 * --------------------------------------Oooo-------------------------------- oooO ( ) ( ) ) / \ ( (_/ \_)