Re: Multiple instances of amcheck.
chg-manual require user input. You can't run it from cron. Jean-Louis Hans Almqvist wrote: Hi all! I am a bit puzzled of the behavior of amcheck. System : OpenBSD 4.0. Amanda : amanda-2.5.1p2 crontab: #minute hourmdaymonth wdaycommand 5 2 * * 1,3,6 su amanda -c "/usr/local/sbin/amdump Daily" 0 16 * * * su amanda -c "/usr/local/sbin/amcheck Daily" I have had this running for a weeki or 2 now and I get all these instances of amcheck and chg-manual. Why don't these cron jobs terminate ? Note : amcheck no longer sends mail to me.
Re: Multiple instances of amcheck.
On Sat, Jan 13, 2007 at 02:04:17PM +0100, Hans Almqvist wrote: > I have had this running for a weeki or 2 now and I get all these > instances of amcheck and chg-manual. > Why don't these cron jobs terminate ? > Note : amcheck no longer sends mail to me. > > # ps ax > PID TT STAT TIME COMMAND > 12759 ?? I 0:00.03 /usr/local/sbin/amcheck Daily > 13593 ?? I 0:00.01 /usr/local/sbin/amcheck Daily > 18713 ?? I 0:00.08 /bin/sh /usr/local/libexec/chg-manual > /usr/local/libexec/chg-manual next ... chg-manual must be blocked on something. what is it? (I think "ps l" can tell you.) -- Aaron J. Grier | "Not your ordinary poofy goof." | [EMAIL PROTECTED] "silly brewer, saaz are for pils!" -- virt
Multiple instances of amcheck.
Hi all! I am a bit puzzled of the behavior of amcheck. System : OpenBSD 4.0. Amanda : amanda-2.5.1p2 crontab: #minute hourmdaymonth wdaycommand 5 2 * * 1,3,6 su amanda -c "/usr/local/sbin/amdump Daily" 0 16 * * * su amanda -c "/usr/local/sbin/amcheck Daily" I have had this running for a weeki or 2 now and I get all these instances of amcheck and chg-manual. Why don't these cron jobs terminate ? Note : amcheck no longer sends mail to me. # ps ax PID TT STAT TIME COMMAND 1 ?? Is 0:00.07 /sbin/init 23070 ?? Is 0:00.03 syslogd: [priv] (syslogd) 14661 ?? I 0:04.32 syslogd -a /var/empty/dev/log 17785 ?? Is 0:00.08 ntpd: [priv] (ntpd) 23002 ?? I 0:09.01 ntpd: ntp engine (ntpd) 15959 ?? Is 0:00.19 inetd 14517 ?? Is 0:06.50 /usr/sbin/sshd 11429 ?? Is 1:04.70 sendmail: accepting connections (sendmail) 25795 ?? Is 0:02.20 /usr/local/samba/sbin/smbd -D 3644 ?? Is 3:34.83 /usr/local/samba/sbin/nmbd -D 16070 ?? Is 0:04.81 cron 10658 ?? I 0:00.00 /usr/local/samba/sbin/smbd -D 32181 ?? Is 0:17.22 cupsd 17824 ?? I 0:00.00 cron: running job (cron) 3777 ?? Is 0:00.01 /bin/sh -c /bin/sh 16880 ?? I 0:00.01 ksh -c ksh 12759 ?? I 0:00.03 /usr/local/sbin/amcheck Daily 13593 ?? I 0:00.01 /usr/local/sbin/amcheck Daily 18713 ?? I 0:00.08 /bin/sh /usr/local/libexec/chg-manual /usr/local/libexec/chg-manual next 13888 ?? I 0:00.00 cron: running job (cron) 1181 ?? Is 0:00.01 /bin/sh -c /bin/sh 15718 ?? I 0:00.02 ksh -c ksh 9967 ?? I 0:00.03 /usr/local/sbin/amcheck Daily 6148 ?? I 0:00.01 /usr/local/sbin/amcheck Daily 15569 ?? I 0:00.08 /bin/sh /usr/local/libexec/chg-manual /usr/local/libexec/chg-manual next 17043 ?? Is 0:00.01 /bin/sh -c /bin/sh 15402 ?? I 0:00.00 cron: running job (cron) 30112 ?? I 0:00.01 ksh -c ksh 27021 ?? I 0:00.03 /usr/local/sbin/amcheck Daily 16037 ?? I 0:00.01 /usr/local/sbin/amcheck Daily 25463 ?? I 0:00.08 /bin/sh /usr/local/libexec/chg-manual /usr/local/libexec/chg-manual current 12785 ?? I 0:00.00 cron: running job (cron) 2403 ?? Is 0:00.01 /bin/sh -c /bin/sh 8998 ?? I 0:00.01 ksh -c ksh 22579 ?? I 0:00.03 /usr/local/sbin/amcheck Daily 12820 ?? I 0:00.01 /usr/local/sbin/amcheck Daily 28032 ?? I 0:00.08 /bin/sh /usr/local/libexec/chg-manual /usr/local/libexec/chg-manual next 7432 ?? I 0:00.00 cron: running job (cron) 23942 ?? Is 0:00.01 /bin/sh -c /bin/sh 31692 ?? I 0:00.01 ksh -c ksh 16587 ?? I 0:00.03 /usr/local/sbin/amcheck Daily 25059 ?? I 0:00.01 /usr/local/sbin/amcheck Daily 11075 ?? I 0:00.08 /bin/sh /usr/local/libexec/chg-manual /usr/local/libexec/chg-manual current 7768 ?? I 0:00.02 ksh -c ksh 14773 ?? I 0:00.00 cron: running job (cron) 30714 ?? Is 0:00.01 /bin/sh -c /bin/sh 16678 ?? I 0:00.02 /bin/sh /usr/local/sbin/amdump /usr/local/sbin/amdump 20219 ?? I 0:00.03 /usr/local/libexec/driver Daily 9329 ?? I 0:00.03 taper Daily 7358 ?? I 0:00.02 dumper0 Daily (dumper) 4413 ?? I 0:00.03 dumper1 Daily (dumper) 17752 ?? I 0:00.03 dumper3 Daily (dumper) 23308 ?? I 0:00.03 dumper2 Daily (dumper) 27099 ?? I 0:00.01 taper Daily 22067 ?? I 0:00.08 /bin/sh /usr/local/libexec/chg-manual /usr/local/libexec/chg-manual current 12765 ?? I 0:07.07 /usr/local/samba/sbin/smbd -D 22562 ?? I 0:04.35 /usr/local/samba/sbin/smbd -D 12984 ?? Is 0:00.19 sshd: hasse [priv] (sshd) 15246 ?? I 0:00.27 sshd: [EMAIL PROTECTED] (sshd) 26124 p0 Is 0:00.01 -ksh (ksh) 17977 p0 I 0:00.06 -ksh (ksh) 17658 p0 R+ 0:00.00 ps -ax 26114 C0 Is+ 0:00.01 /usr/libexec/getty Pc ttyC0 31107 C1 Is+ 0:00.01 /usr/libexec/getty Pc ttyC1 1709 C2 Is+ 0:00.01 /usr/libexec/getty Pc ttyC2 3373 C3 Is+ 0:00.01 /usr/libexec/getty Pc ttyC3 30729 C5 Is+ 0:00.01 /usr/libexec/getty Pc ttyC5