Dmitry Likhachev wrote:

I try to use amanda 2.4.2p2 patched with tar-1.12.patch and regex-3.6alpha.patch
Amanda have been compiled with following options:
--without-server
--with-user=bin
--with-group=bin
--with-gnutar='path to gnu-tar'
...
sendbackup: could not unlock /etc/amandates: Bad file number

What is wrong with /etc/amandates? It should be owned by user bin, and writeable by that user. (I guess that's correct, otherwise, you would
have a different errormsg, I believe.) Is the content corrupt maybe?
Try to start with an empty file.


Or do you have trouble with the locking-semantics on AIX?  You did
run a "make distclean" before you did "./configure --without-..."
did you?

Tar 1.12 is old, so old, I don't remember if it can do
listed-incremental, which is actually better than using /etc/amandates.

The "current" and proved working version of tar is tar-1.13.25, and can
be downloaded from:

ftp://alpha.gnu.org/gnu/tar/tar-1.13.25.tar.gz

(There are known problems with 1.13.90-92, I don't know if they were solved in 1.13.94 which seems to be the latest alpha version. If you're
not in for experiments, stick to 1.13.25.)




P.S I was try to use amanda-2.4.2p2 without any patches and i again have this error.

patches??? The mentioned patch is for tar-1.12 and not for amanda. But better to use tar 1.13.25, and no patches at all; together with amanda 2.4.4p2 is fine, or one of the latest amanda snapshots which does contain some little minor patches:

http://www.iro.umontreal.ca/~martinea/amanda/amanda-2.4.4p2-20040429.tar.gz


-- Paul Bijnens, Xplanation Tel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *********************************************************************** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, * * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... * * ... "Are you sure?" ... YES ... Phew ... I'm out * ***********************************************************************



Reply via email to