Amanda-Users

Re: Can I change the /tmp/amanda dir somewhere on the client host to another mount point as I have disabled executables in /tmp dir

2006-09-06 06:36:28
Subject: Re: Can I change the /tmp/amanda dir somewhere on the client host to another mount point as I have disabled executables in /tmp dir
From: Chuck Amadi Systems Administrator <chuck AT smtl.co DOT uk>
To: Amanda List <amanda-users AT amanda DOT org>
Date: Wed, 06 Sep 2006 11:26:55 +0100
Hi List

I have removed /tmp/amanda directory.

Thus cd /usr/lib/amanda/ and run ./amandad
This re created the amanda directory and the debug file:

server#/tmp/amanda # less amandad.20060906111651.debug 

amandad: debug 1 pid 498 ruid 37 euid 37: start at Wed Sep  6 11:16:51
2006
amandad: version 2.4.4p2
amandad: build: VERSION="Amanda-2.4.4p2"
amandad:        BUILT_DATE="Wed Jun 30 23:45:53 UTC 2004"
amandad:        BUILT_MACH="Linux eisenstein 2.6.5 #1 Thu Nov 14
12:14:04 UTC 2002 i686 i686 i386 GNU/Linux"
amandad:        CC="gcc"
amandad:        CONFIGURE_COMMAND="'./configure'
'--mandir=/usr/share/man' '--prefix=/usr' '--infodir=/usr/share/info'
'--sysconfdir=/etc' '--libdir=/usr/
lib' '--libexecdir=/usr/lib/amanda' '--localstatedir=/var/lib'
'--with-index-server=localhost'
'--with-gnutar-listdir=/var/lib/amanda/gnutar-lists' '--wit
h-smbclient=/usr/bin/smbclient' '--with-amandahosts'
'--with-user=amanda' '--with-group=disk' '--with-gnutar=/bin/tar'
'--disable-libtool' '--disable-shar
ed' '--disable-static'"
amandad: paths: bindir="/usr/bin" sbindir="/usr/sbin"
amandad:        libexecdir="/usr/lib/amanda" mandir="/usr/share/man"
amandad:        AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
amandad:        CONFIG_DIR="/etc/amanda" DEV_PREFIX="/dev/"
amandad:        RDEV_PREFIX="/dev/r" DUMP="/sbin/dump"
amandad:        RESTORE="/sbin/restore" VDUMP=UNDEF VRESTORE=UNDEF
amandad:        XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF
VXRESTORE=UNDEF
amandad:        SAMBA_CLIENT="/usr/bin/smbclient" GNUTAR="/bin/tar"
amandad:        COMPRESS_PATH="/usr/bin/gzip"
amandad:        UNCOMPRESS_PATH="/usr/bin/gzip" LPRCMD="/usr/bin/lpr"
amandad:        MAILER="/usr/bin/Mail"
amandad:        listed_incr_dir="/var/lib/amanda/gnutar-lists"
amandad: defs:  DEFAULT_SERVER="localhost" DEFAULT_CONFIG="DailySet1"
amandad:        DEFAULT_TAPE_SERVER="localhost"
amandad:        DEFAULT_TAPE_DEVICE="/dev/null" HAVE_MMAP HAVE_SYSVSHM
amandad:        LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
amandad:        AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS
amandad:        CLIENT_LOGIN="amanda" FORCE_USERID HAVE_GZIP
amandad:        COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
amandad: time 29.997: dgram_recv: timeout after 30 seconds
amandad: error receiving message: timeout
amandad: time 29.998: error receiving message: timeout
amandad: time 29.998: pid 498 finish time Wed Sep  6 11:17:21 2006

Thus is there any tell tale signs on why Amanda Client process amanadad
is not working properly and causing my tape server to "selfcheck request
timed out message"

Please note that I have added ports 10080 10082 and 10083 within SuSE
SLES 9 Default Firewall and I also disbaled it and it didn't make any
difference.
Plus it's on my side of the firewall.

Cheers List.


On Tue, 2006-09-05 at 12:19 -0400, Ian Turner wrote:
> On Tuesday 05 September 2006 10:18, Chuck Amadi Systems Administrator wrote:
> > Is it possible to set the AMANDA_DBGDIR directory (usually /tmp/amanda)
> > to some thing else example /usr/tmp/amanda .
> 
> Yes, but you have to compile from source. When you configure the compilation, 
> use --with-debugging=/path/to/amanda/debug/files.
> 
> Cheers,
> 
> --Ian
> 
-- 
Unix/ Linux Systems Administrator
Chuck Amadi
The Surgical Material Testing Laboratory (SMTL), 
Princess of Wales Hospital 
Coity Road 
Bridgend, 
United Kingdom, CF31 1RQ.
Email chuck.smtl.co.uk
Tel: +44 1656 752820 
Fax: +44 1656 752830



<Prev in Thread] Current Thread [Next in Thread>