From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078708811462.tru64-unix-managers.marc@archive.invalid> From: "ing.Bubulac Angela Tatiana" Date: Fri, 08 May 1998 07:50:43 +0000 To: tru64-unix-managers Subject: accounting problem X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078708811462 Hi, I followed the steps described in the System Accounting chapter regard the setup accounting (D.U.3.2C). I put the next lines in the /usr/spool/cron/crontabs/adm file: 45 13 * * 1-6 /usr/sbin/acct/runacct > /usr/adm/acct/nite/fd2log& 5 * * * * /usr/sbin/acct/ckpacct& 45 13 1 * * /usr/sbin/acct/monacct& 45 13 * * * /usr/sbin/ac -p /var/adm/acct/nite/timelog& 45 13 * * * /usr/bin/last >> /usr3/lastall I wrote the last line because the wtmp file is removed every day and I do not know where can I find the logins for the previous days in the from that last command displays them. In the cron.allow I have just root and adm groups. I looked in the /var/adm/acct/nite/statefile and it contains the COMMPLETE word. Also there is no lock file and the active file look like this: ri May 8 06:30:02 EET DST 1998 -rw-rw-r-- 1 adm adm 60996 May 7 22:23 /var/adm/wtmp -rw-rw-r-- 1 adm adm 0 May 7 06:31 fee -rw-rw-r-- 1 adm adm 415640 May 8 06:30 pacct -rw-rw-r-- 1 adm adm 281200 May 7 08:05 pacct1 .... files setups complete wtmp processing complete connect acctg complete process acctg complete for /var/adm/Spacct1.0508 process acctg complete for /var/adm/Spacct10.0508 ... all process acctg complete for 0508 tacct merge to create daytacct complete no fees no disk records no queueing system records updated sum/tacct command summaries complete system accounting completed at Fri (EOF): The lastdate file contain the date of the present day for example 0508. The big problem for me is that I think that none of the lines in the adm file described above are not executed because the fd2log, timelog and lastall files have 0 bytes. Another problems is when I change the time in the adm file form 6.30am to 13.45pm, the wtmp file is removed(runacct) at 6.30am. Why? Please tell me where I wrong or what I do not understand (I am new to system administration). Thank you. \\\___/// \\ - - // ( @ @ ) -----------------------------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 ( ) ( ) ) / \ ( (_/ \_)