On Mon, Dec 30, 2002 at 09:19:02PM -0500, Gene Heskett wrote: > On Monday 30 December 2002 19:25, John Oliver wrote: > >[root@backup root]# su amanda -c "amstatus DailySet1" > >bash: /root/.bashrc: Permission denied > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > This is a bogus report and can be ignored. It seems to have no > effect on the outcome, and no one could tell me why I used to get > it, but don't anymore.
It's because since we're su'ing to amanda, but not using amanda's environment, it's trying to source root's .bashrc, but can't becasue /root is unreadable to non-root users... :-) > >/var/lib/amanda/DailySet1/amdump: No such file or directory at > >/usr/sbin/amstatus line 103. > > Also, here its apparent that amanda has finished and can no longer > be queried for its current sataus because its not running anymore. Ahhh... hence the -p option. I get it now... :-) Thanks... -- John Oliver, CCNA http://www.john-oliver.net/ Linux/UNIX/network consulting http://www.john-oliver.net/resume/ *** sendmail, Apache, ftp, DNS, spam filtering *** **** Colocation, T1s, web/email/ftp hosting ****