tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* runacct problem(urgent)
@ 1998-05-12 11:29 ing.Bubulac Angela Tatiana
  0 siblings, 0 replies; 2+ messages in thread
From: ing.Bubulac Angela Tatiana @ 1998-05-12 11:29 UTC (permalink / raw)
  To: tru64-unix-managers

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   (   )
                             (   )    ) /
                              \ (    (_/
                               \_)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* runacct problem(urgent)
@ 1998-05-12 11:34 ing.Bubulac Angela Tatiana
  0 siblings, 0 replies; 2+ messages in thread
From: ing.Bubulac Angela Tatiana @ 1998-05-12 11:34 UTC (permalink / raw)
  To: tru64-unix-managers


 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
                                \\\___///
                               \\  - -  //
                                (  @ @  )
 -----------------------------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   (   )
                              (   )    ) /
                               \ (    (_/
                                \_)
  

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-05-12 11:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-12 11:34 runacct problem(urgent) ing.Bubulac Angela Tatiana
  -- strict thread matches above, loose matches on Subject: below --
1998-05-12 11:29 ing.Bubulac Angela Tatiana

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox