I initially just straced the parent process (22802 amflush normal) which didn't output anything:
Here's the ps -ef again with the trace commands for each PID involved: ps -ef |grep amanda amanda 22803 22802 0 14:01 ? 00:00:00 driver normal nodump amanda 22804 22803 0 14:01 ? 00:00:00 taper normal amanda 22805 22804 0 14:01 ? 00:00:00 taper normal root 27581 27541 0 17:29 pts/0 00:00:00 su - amanda amanda 27582 27581 0 17:29 pts/0 00:00:00 -bash amanda 22802 1 98 14:01 ? 05:04:39 amflush normal amanda 27972 27582 0 19:10 pts/0 00:00:00 ps -ef amanda 27973 27582 0 19:10 pts/0 00:00:00 grep amanda -bash-2.05b$ strace -p 22803 read(0, strace -p 22804 read(0, -bash-2.05b$ strace -p 22805 read(3, -bash-2.05b$ strace -p 22802 No output for this... I'm not sure what to expect for my results to be honest. If this isn't normal then I guess I should kill it. Then I need to know what the Root Cause is so I can fix it. On another matter, could of I just deleted these directories if I didn't want to flush them or would that cause problems? Thanks, James Paul Bijnens <[EMAIL PROTECTED]> wrote: > James Marcinek wrote: > > > amflush itself, the others aren't reporting anything: > > > > ps -ef |grep amanda |grep -v grep > > amanda 22803 22802 0 14:01 ? 00:00:00 driver normal nodump > > amanda 22804 22803 0 14:01 ? 00:00:00 taper normal > > amanda 22805 22804 0 14:01 ? 00:00:00 taper normal > > root 27581 27541 0 17:29 pts/0 00:00:00 su - amanda > > amanda 27582 27581 0 17:29 pts/0 00:00:00 -bash > > amanda 22802 1 98 14:01 ? 04:26:21 amflush normal > > > That's not normal at all. > You may have to kill it, then run amcleanup, and try again. > > If possible, I'm still interested in the loop it seems to be in > by issuing strace or truss, before killing it. > > > > > > > > > >>>It's been runninng for several hours now and my logs haven't been populating > >>>since it started. Here's the last few entries: > >>> > >>>START amflush date 20041207 > >>>START driver date 20041207 > >>>START taper datestamp 20041207 label Normal18 tape 0 > >>> > >>>I'm a bit confused because I now see a folder 20041207 in my /var/holding. > > > > It's > > > >>>empty, which is good if it's working properly. > >> > >>For flush, that's normal. > >> > >> > >>>Why isn't anything being populated too(amflush and log file)? Is there any > > > > way > > > >>>to tell if it's running properly? > >> > >>On linux: strace -p The-PID > >>on Solaris: truss -p The-PID > >> > >>"lsof -o the-PID" tells you which files are opened, and sometimes can > >>give a hint what it is doing (e.g. which file it is reading/writing). > > > > > > I issued an ls0f -op then-PID and got the following: > > > > lsof -p 22802 > > COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME > > amflush 22802 amanda cwd DIR 8,18 1052672 5783888 /tmp/amanda > > amflush 22802 amanda rtd DIR 8,18 4096 2 / > > amflush 22802 amanda txt REG 8,18 14072 10174809 /usr/sbin/amflush > > amflush 22802 amanda mem REG 8,18 106400 3784801 /lib/ld-2.3.2.so > > amflush 22802 amanda mem REG 8,18 102888 14172763 > > /usr/lib/libamserver-2.4.3.so > > amflush 22802 amanda mem REG 8,18 36460 14172762 > > /usr/lib/libamtape-2.4.3.so > > amflush 22802 amanda mem REG 8,18 105992 14172761 > > /usr/lib/libamanda-2.4.3.so > > amflush 22802 amanda mem REG 8,18 212020 8110087 /lib/tls/libm-2.3.2.so > > amflush 22802 amanda mem REG 8,18 173000 14172290 > > /usr/lib/libreadline.so.4.3 > > amflush 22802 amanda mem REG 8,18 11784 3784789 > > /lib/libtermcap.so.2.0.8 > > amflush 22802 amanda mem REG 8,18 91624 3784813 /lib/libnsl-2.3.2.so > > amflush 22802 amanda mem REG 8,18 52492 3784816 > > /lib/libnss_files-2.3.2.so > > amflush 22802 amanda mem REG 8,18 1539996 8110085 /lib/tls/libc-2.3.2.so > > amflush 22802 amanda 0u CHR 1,3 163842 /dev/null > > amflush 22802 amanda 1w REG 8,18 1015 12828895 > > /var/lib/amanda/normal/amflush > > amflush 22802 amanda 2w REG 8,18 1015 12828895 > > /var/lib/amanda/normal/amflush > > amflush 22802 amanda 3r FIFO 0,5 6348400 pipe > > amflush 22802 amanda 4w FIFO 0,5 6348400 pipe > > amflush 22802 amanda 5r DIR 8,18 4096 5882220 /var/holding/20041122 > > That looks normal, I believe. > > > > -- > Paul Bijnens, Xplanation Tel +32 16 397.511 > Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512 > http://www.xplanation.com/ email: [EMAIL PROTECTED] > *********************************************************************** > * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, * > * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * > * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * > * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * > * kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... * > * ... "Are you sure?" ... YES ... Phew ... I'm out * > *********************************************************************** >