>I removed everything from the /tmp/amanda dir and re-ran amcheck.
>Nothing, absolutely nothing shows up in the /tmp/amanda dir - it's mode 0775
>amanda:sys

I don't think it matters, but that's not how Amanda would create the
directory.  Try removing the directory itself and running amcheck again.
Did the directory get recreated?

>> Is /usr/local/libexec/amandad the exact same thing you have in inetd.conf?
>
>Here's the line for amandad in my /etc/inetd.conf
>amanda  dgram   udp     wait    amanda  /usr/local/libexec/amandad amandad

OK.  Just checking one more thing off the list.

Here's the next thing to try (if the above doesn't help).  Duplicate your
current inetd.conf line, comment out the original and change the duplicate
to something like this:

  amanda  dgram   udp     wait    amanda /tmp/run-amandad amandad

Then in /tmp/run-amandad put this (fix the path to "truss"):

  #!/bin/sh
  exec > /tmp/run-amandad.out 2>&1
  echo "Starting amandad: `date`"
  /path/to/truss -f -w 2 /usr/local/libexec/amandad
  status=$?
  echo "Ending amandad: status: $status: `date`"
  exit $status

Then chmod +x /tmp/run-amandad, send a HUP to inetd and try amcheck again.

The idea is to run amandad under truss to see all the system calls.
Hopefully one of them will show that the log files are going someplace
else, or that there is some other kind of error.

Obviously this is just for debugging and we'll put it back when the
problem is determined.

>-Ben

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

Reply via email to