It would appear that there I am not getting a `selfcheck*debug.' Here is what I have:
cd /tmp/amanda ls -ltr -rw------- 1 amanda disk 2081 Feb 1 16:47 amandad.20020201164738.debug -rw------- 1 amanda disk 1624 Feb 1 16:49 sendsize.20020201164910.debug -rw------- 1 amanda disk 2270 Feb 1 16:49 amandad.20020201164910.debug -rw------- 1 amanda disk 2081 Feb 1 16:51 amandad.20020201165136.debug -rw------- 1 amanda disk 2081 Feb 4 13:32 amandad.20020204133212.debug -rw------- 1 amanda disk 1624 Feb 4 13:33 sendsize.20020204133333.debug -rw------- 1 amanda disk 2270 Feb 4 13:33 amandad.20020204133333.debug In the sendsize*debug files, I see this: sendsize: debug 1 pid 25669 ruid 1471 euid 1471 start time Mon Feb 4 13:33:33 2002 /usr/local/libexec/sendsize: version 2.4.2p2 calculating for amname '/usr', dirname '/usr' calculating for amname '/export/home', dirname '/export/home' sendsize: getting size via gnutar for /export/home level 0 sendsize: getting size via gnutar for /usr level 0 sendsize: missing exclude list file "/usr/local/lib/amanda/exclude.gtar" discarded sendsize: spawning /usr/local/libexec/runtar in pipeline sendsize: argument list: /bin/gtar --create --file /dev/null --directory /export/home --one-file-system --listed-incremental /usr/local/var/amanda/gnutar-lists/HOST.locale.corp.com_export_home_0.new --sparse --ignore-failed-read --totals . sendsize: missing exclude list file "/usr/local/lib/amanda/exclude.gtar" discarded sendsize: spawning /usr/local/libexec/runtar in pipeline sendsize: argument list: /bin/gtar --create --file /dev/null --directory /usr --one-file-system --listed-incremental /usr/local/var/amanda/gnutar-lists/HOST.locale.corp.com_usr_0.new --sparse --ignore-failed-read --totals . error [exec /usr/local/libexec/runtar: Permission denied] sendsize: pid 25673 finish time Mon Feb 4 13:33:33 2002 sendsize: error [exec /usr/local/libexec/runtar: Permission denied] ..... (no size line match in above gnutar output) ..... error [exec /usr/local/libexec/runtar: Permission denied] sendsize: pid 25672 finish time Mon Feb 4 13:33:33 2002 sendsize: error [exec /usr/local/libexec/runtar: Permission denied] ..... (no size line match in above gnutar output) ..... sendsize: pid 25669 finish time Mon Feb 4 13:33:33 2002 As you can see, I seem to have a permissions problem on the /usr/local/libexec/runtar executable. cd /usr/local/libexec ls -ltr runtar -rwsr-x--- 1 root sys 99409 Feb 1 15:07 runtar The backup user ID is `amanda', and is a member of group `sys' as well as a member of group `disk'. I note also that the /tmp/amanda directory is created: ls -ltr /tmp drwx--S--- 2 amanda disk 4096 Feb 4 14:16 amanda and the contents thereof, as seen above, are all created with owner `amanda' and group `disk'. So, it looks to me like `amanda' should have the permissions needed to execute runtar. And upon trying it, I see that, as user `amanda', I can run: /usr/local/libexec/runtar --version tar (GNU tar) 1.13.19 Copyright 20001 Free Software Foundtion, INC... blah blah blah Looking at the amandad*debug files seems to confirm that the backup is indeed connecting to the client as user `amanda'. Am I overlooking something? Also, since I do not have a selfcheck*debug, does this mean that I did not install something? Here is my ./configure: ./configure --with-user=amanda --with-group=sys --without-server --with-gnutar-listdir=$PATH/var/amanda/gnutar-lists --with-config=daily --with-gnutar=/bin/gtar Thank you for the pointer to the *debug files, and if you've time, thanks for reading this long-winded SOS! Brandon Moro Systems Administration, Unify Corporation [EMAIL PROTECTED] -----Original Message----- From: Joshua Baker-LePain [mailto:[EMAIL PROTECTED]] Sent: Monday, February 04, 2002 10:15 AM To: Brandon Moro Cc: [EMAIL PROTECTED] Subject: Re: Obvious question On Mon, 4 Feb 2002 at 9:49am, Brandon Moro wrote > The answer to this is probably in front of my face. I am running > Amanda-2.4.2p2 on Solaris 8. I back up WinNT and Win2k clients at this > point, but would like to add in some RedHat clients. I set up the client on > a RedHat 7.2 box, but it failed on me. How can I find out why it failed? > Where do I find the debug or error log? Debug files are in /tmp/amanda on the client -- you want to look at selfcheck*debug. Also, there's Faq-O-Matic, available through the amanda home page. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
