Re: amresore problems, Doesn't know which "restore" to use.
2003-01-27 16:28:10
>So, when I look in the amrecover debug file on the client, I find it's
>trying to execute /sbin/restore. This is wrong, it should be trying to
>execute /usr/sbin/vxrestore.
Here is the relevant part of the code in recover-src/extract_list.c:
#if defined(VXDUMP)
if (strcmp(file.program, VXDUMP) == 0) {
cmd = stralloc(VXRESTORE);
}
#endif
In other words:
If Amanda was able to find VXDUMP when it was built, and ...
The dump program name in the header matches what VXDUMP is set to
**exactly**, then
Whatever the VXRESTORE symbol is set to will be used.
There are several things that could be wrong here.
* If you run "strings /path/to/amrecover | grep vxdump", what do you
get back? You could also look at /tmp/amanda/amandad*debug to see
all the configuration values, but there is no guarantee the amandad
binary matches the amrecover one.
* Make sure the VXDUMP value matches the path you see in amverify
**exactly**.
* If you run "strings /path/to/amrecover | grep vxrestore", what do
you get back?
John R. Jackson, Technical Software Specialist, jrj AT purdue DOT edu
|
|
|