> su amanda amlabel -f amanda.conf DailySet1-000
>getting the error message:
> amlabel: amlabel: cannot execute binary file
>
>I don't know what i did wrong...
>i had compiled all those nice stuff on my Solaris8i386 maschine.
I'm not sure if it was just a typo when you wrote your letter, but that
su command is not right. You forgot the -c flag. Also, Solaris (and
probably some other systems) want you to quote the command:
su amanda -c "amlabel -f amanda.conf DailySet1-000"
If that's not the problem, then as Karl said, the error probably means
"amlabel" is not a valid binary (program) file for this machine.
You say you compiled it on Solaris8i386. Is that also where you are
trying to execute it on? For instance, if you take a Solaris program
to a Linux machine, it isn't going to work.
What do you get if you run this:
su amanda -c "ksh -c 'whence amlabel'"
Did you get back the path to amlabel you expected? What happens if
you run "file" on that path? For instance:
# su amanda -c "ksh -c 'whence amlabel'"
/usr/local/amanda/sbin/amlabel
# file /usr/local/amanda/sbin/amlabel
/usr/local/amanda/sbin/amlabel: ELF 32-bit MSB executable SPARC Version 1,
dynamically linked, not stripped
>Bernd Zimmermann
John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]