SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
GNUTAR program not available
Author Message
Post GNUTAR program not available 
Hello.

I've been running an Amanda Server (2.4.4p2) on Debian to backup 13 clients
(Debian machines as well).

I came to a challenge where I need to backup a Solaris 2.6 (sparc).

The amanda-client found on sunfreeware.com was installed properly:
amanda-2.4.1p1-sol26-sparc-local.gz

The problem here is that amcheck on the server returns this:

***
Amanda Backup Client Hosts Check
--------------------------------
ERROR: mat.mydomain.com: [GNUTAR program not available]
Client check: 14 hosts checked in 140.417 seconds, 1 problem found

(brought to you by Amanda 2.4.4p2)
***

I installed, then, this package, also found on sunfreeware.com:
tar-1.13.94-sol26-sparc-local

As amanda is running as bin/bin on the Solaris machine, I've switched to the
bin user and tested it (to see if it's gnutar at all) as follows:

***
mat:~# su - bin
$ tar --version
tar (GNU tar) 1.13.94
Copyright (C) 2003 Free Software Foundation, Inc.
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by John Gilmore and Jay Fenlason.
***

Taking a look at /tmp/amanda/amandad.debug, I've seen these paths (defaut?):

***
amandad: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
amandad: libexecdir="/usr/local/libexec" mandir="/usr/local/man"
amandad: CONFIG_DIR="/usr/local/etc/amanda" DEV_PREFIX="/dev/dsk/"
amandad: RDEV_PREFIX="/dev/rdsk/" DUMP="/usr/sbin/ufsdump"
amandad: RESTORE="/usr/sbin/ufsrestore"
amandad: COMPRESS_PATH="/usr/local/bin/gzip"
amandad: UNCOMPRESS_PATH="/usr/local/bin/gzip"
amandad: MAILER="/usr/ucb/Mail"
***

All tar files which formerly existed on these paths were turned into links
to the new gnutar, which binary was installed on /usr/local/bin/tar. This
way, whenever I run "tar --version", I get the same response as above.

Checking this list history, I noticed that everybody solved this by
recompiling the client using --with-gnutar=/correct/pathto/gnutar. This
leads to my questions:

1) Is that the only way out? Or can I override this even with the
amanda-client package from sunfreeware?

2) In the /tmp/amanda/amandad.debug above, I see info about dump and gzip
path, but not for tar. Does this package come ready for tar?

Sorry for taking too long and thanks in advance for your attention.

Regards,
Pipoli

Post GNUTAR program not available 
Rodrigo Pipoli wrote:

I installed, then, this package, also found on sunfreeware.com:
tar-1.13.94-sol26-sparc-local

That is still a little too experimental. In tar 1.13.92 there
were some incompatibilities that made it impossible to work together
with amanda. They could have been resolved in 1.13.94, I don't know.
The proven, stable version is still tar 1.13.25.

Taking a look at /tmp/amanda/amandad.debug, I've seen these paths (defaut?):

***
amandad: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
amandad: libexecdir="/usr/local/libexec" mandir="/usr/local/man"
amandad: CONFIG_DIR="/usr/local/etc/amanda" DEV_PREFIX="/dev/dsk/"
amandad: RDEV_PREFIX="/dev/rdsk/" DUMP="/usr/sbin/ufsdump"
amandad: RESTORE="/usr/sbin/ufsrestore"
amandad: COMPRESS_PATH="/usr/local/bin/gzip"
amandad: UNCOMPRESS_PATH="/usr/local/bin/gzip"
amandad: MAILER="/usr/ucb/Mail"
***

GNUTAR="/.../.../..." is missing here. That means that the
amanda was compiled without gnutar.

Currently a lot of configuration is compiled in. That's why most people
don't like binary distributions.
Download and compile your own if possible.


Checking this list history, I noticed that everybody solved this by
recompiling the client using --with-gnutar=/correct/pathto/gnutar. This
leads to my questions:

1) Is that the only way out? Or can I override this even with the
amanda-client package from sunfreeware?

Yes. No.


2) In the /tmp/amanda/amandad.debug above, I see info about dump and gzip
path, but not for tar. Does this package come ready for tar?

Not ready for tar.


--
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: Paul.Bijnens < at > xplanation.com
***********************************************************************
* 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, Very Happy:Very Happy, 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 *
***********************************************************************

Post GNUTAR program not available 
***
amandad: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
amandad: libexecdir="/usr/local/libexec" mandir="/usr/local/man"
amandad: CONFIG_DIR="/usr/local/etc/amanda"
DEV_PREFIX="/dev/dsk/"
amandad: RDEV_PREFIX="/dev/rdsk/" DUMP="/usr/sbin/ufsdump"
amandad: RESTORE="/usr/sbin/ufsrestore"
amandad: COMPRESS_PATH="/usr/local/bin/gzip"
amandad: UNCOMPRESS_PATH="/usr/local/bin/gzip"
amandad: MAILER="/usr/ucb/Mail"
***

GNUTAR="/.../.../..." is missing here. That means that the
amanda was compiled without gnutar.

Currently a lot of configuration is compiled in. That's why most people
don't like binary distributions.
Download and compile your own if possible.


Searching further in the amanda-users history (back in 2001), someone
suggested installing the amanda package *after* installing gnutar. I just
tried that and there still is no GNUTAR= entry in the path list. :/

Thank you once again.

Regards,
Pipoli

Post GNUTAR program not available 
Hello,

I ran ./configure using the --with-gnutar option and it's working fine now.

Thanks once again.

Regards,
Pipoli

***
amandad: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
amandad: libexecdir="/usr/local/libexec"
mandir="/usr/local/man"
amandad: CONFIG_DIR="/usr/local/etc/amanda"
DEV_PREFIX="/dev/dsk/"
amandad: RDEV_PREFIX="/dev/rdsk/" DUMP="/usr/sbin/ufsdump"
amandad: RESTORE="/usr/sbin/ufsrestore"
amandad: COMPRESS_PATH="/usr/local/bin/gzip"
amandad: UNCOMPRESS_PATH="/usr/local/bin/gzip"
amandad: MAILER="/usr/ucb/Mail"
***

GNUTAR="/.../.../..." is missing here. That means that the
amanda was compiled without gnutar.

Currently a lot of configuration is compiled in. That's why most people
don't like binary distributions.
Download and compile your own if possible.


Searching further in the amanda-users history (back in 2001), someone
suggested installing the amanda package *after* installing gnutar. I just
tried that and there still is no GNUTAR= entry in the path list. :/


Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB