Hello all,
once more again i have trouble with amanda.
When I dump PC clients (with smb) i always get a mail with the results.
That's OK but in the mail the PC dumps are described as a Strange_dump (
Failure and Strange Dump summary: peter //IDEFIX/nttest lev 0 Strange ).
I searched for patches and found that i should use the samba2-20000418.diff
patch. So I installed it, but as result i get an error during the make
prozedure. configure runs well, but when i call make i get the following
error message:
:
:
Making all in client-scr
make[1]: Entering directory '/inst/amanda-2.4.1p1/client-scr'
gcc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-scr
-D_FILE_OFFSET_BITS=64
-g -c sendbackup-gnutar.c
sendbackup-gnutar.c:114: parse error before '{'
sendbackup-gnutar.c:114: incompatible types in initialization
sendbackup-gnutar.c:114: initializer element for 're_table[35].typ' is not
constant
sendbackup-gnutar.c:115: parse error before '}'
make[1]: *** [sendbackup-gnutar.o] Error 1
make[1]: Leaving directory '/inst/amanda-2.4.1p1/client-scr'
make: *** [all-recursive] Error 1
I looked in sendbackup-gnutar.c
when i change following all is ok again:
@@ start at Row 109:
{ DMP_NORMAL, "^ERRDOS - ERRnoaccess listing", 1},
{ DMP_NORMAL, "^ERRDOS - [0-9][0-9]* opening remote file", 1},
#endif
/* catch-all: DMP-STRANGE is returned for all other lines */
- { DMP_STRANGE, NULL, 0} // I removed this line and make works fine
};
extern char *efile;
int cur_level;
char*cur_disk;
time_t cur_dumptime;
I don't think that this i the best sollution, because this line is given
when the other possibilities before are not working. (So that my
understanding, but I'm not sure if this is correct). What can i do ? Sould
i omit the patch (samba2-20000418.diff) and use amanda without the patch or
is there another possibility?
Thank a lot to all who help
With kind regard
Frank