>I recently built and installed amanda 2.4.3b3 on FreeBSD-4.5 CURRENT. 

You do understand that the 'b' in that name means this is beta test
software, right?  I.e. you should be prepared to help with the debugging.

>AMANDA 2.4.2p3 had previously been running for a day or so with no
>problems.

Huh?  There's no such thing as 2.4.2p3.  2.4.2p2 is the most recent
stable release.

>The current problem is with sendsize/selfcheck.  If the machine tries to
>contact itself for amcheck, I get errors in syslog about selfcheck
>dumping core.  ...

That should be pretty easy to track down (solid, reproducible errors are
my favorites :-).

Look in /tmp/amanda and there should be some core files.  Run a debugger
on them and the program (e.g. selfcheck) and get a stack traceback.
Then either post it or start digging into the code.  You may also want
to rebuild and make sure the compiler gets the "-g" flag.

If that doesn't work, put this data (from the amandad*debug log file of
the packet) in a file:

  OPTIONS ;
  GNUTAR /var/db/mysql 0 OPTIONS 
|;bsd-auth;compress-fast;no-record;index;exclude-list=/usr/local/lib/amanda/excl
  GNUTAR /etc 0 OPTIONS 
|;bsd-auth;compress-fast;no-record;index;exclude-list=/usr/local/lib/amanda/excl
  GNUTAR /usr/local 0 OPTIONS 
|;bsd-auth;compress-fast;no-record;index;exclude-list=/usr/local/lib/amanda/excl

Then run selfcheck by hand, as the Amanda user, with this file as stdin
and see what happens.  If it fails, do the same thing under a debugger.

>2. sendsize/selfcheck/runtar/etc are setuid root.

Huh?  Sendsize and selfcheck are most definitly **not** supposed to be
setuid root.  Here's the list of what's "special":

-rwsr-x---   1 root     backup    245760 Jun 28  2001 libexec/calcsize
-rwsr-x---   1 root     backup    643072 Jun 28  2001 libexec/dumper
-rwsr-x---   1 root     backup    221184 Jun 28  2001 libexec/killpgrp
-rwsr-x---   1 root     backup    770048 Jun 28  2001 libexec/planner
-rwsr-x---   1 root     backup    217088 Jun 28  2001 libexec/rundump
-rwsr-x---   1 root     backup    217088 Jun 28  2001 libexec/runtar
-rwsr-x---   1 root     backup    782336 Jun 28  2001 sbin/amcheck

Everything else should just be owned by the Amanda user/group and normal
modes.

>Greg Mohney

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

Reply via email to