Hi List
Thanks for your help and direction.
As a previous post from Paul stated my /etc/fstab entries for the
mounted /tmp shouldn't prevent amanda from writing the debug logs So I
am going go back to basics and trouble shoot why "amcheck' report
`selfcheck request timed out" for my web server.
Cheers
On Tue, 2006-09-05 at 10:50 -0400, Gene Heskett wrote:
> On Tuesday 05 September 2006 10:18, Chuck Amadi Systems Administrator
> wrote:
> >Hi List
> >
> >Is it possible to set the AMANDA_DBGDIR directory (usually /tmp/amanda)
> >to some thing else example /usr/tmp/amanda .
>
> Yes you can Chuck, but its in the configuration as you prepare to build
> amanda, not in the amanda.conf. So to move it, you'll need to build the
> tarball. 2.4.2 is now very long in the tooth anyway.
>
> Here is an example of my ./configure drivers script:
> --------
> #!/bin/sh
> # since I'm always forgetting to su amanda...
> if [ `whoami` != 'amanda' ]; then
> echo
> echo "!!!!!!!!!!!! Warning !!!!!!!!!!!!"
> echo "Amanda needs to be configured and built by the user amanda,"
> echo "but must be installed by user root."
> echo
> exit 1
> fi
> make clean
> rm -f config.status config.cache
> ./configure --with-user=amanda \
> --with-group=disk \
> --with-owner=amanda \
> --with-gnu-ld \
> --prefix=/usr/local \
> --with-tapedev="FILE:/amandatapes" \
> --with-debugging=/tmp/amanda-dbg/ \
> --with-tape-server=coyote \
> --with-bsdtcp-security --with-amandahosts \
> --with-configdir=/usr/local/etc/amanda \
> --with-config=Daily \
> --with-gnutar=/usr/local/bin/tar
>
> make
> --------------
>
> Its possible that the SuSe src rpm could be rebuilt after the appropriate
> edits and effect the change that way, but I've never tried that, mainly
> because most of the rpms are also configured to accept localhost, a huge
> security hole but its the only way to make an rpm that will run anyplace.
>
> I can build and install a new tarball snapshot and amcheck it, on two
> machines in less than 20 minutes. The above script is of course for the
> server, the clients script is slightly simpler.
>
> >I am using Amanda 2.4.2 that came with SuSE Linux ES 9 server.
> >Which was installed using Yast.
> >
> >Cheers
> >
> >Chuck
> >
> > Tue, 2006-09-05 at 13:49 +0100, Chuck Amadi Systems Administrator
>
> >wrote:
> >> Hi List
> >>
> >> Got a good one here!
> >>
> >> Mi boss decode to tighten up are new web server which is due to be
> >> commissioned soon thus when I re partitioned the hard disk I created
> >> new disks and thus create a /tmp dir mounted on /dev/hda9
> >>
> >> Thus here is my /etc/ftsab thus I stopped the possibilities of runing
> >> any executables from the /tmp directory but thus amanda cant create
> >> selfchecks in /tmp/amanda
> >>
> >> /dev/hda9/tmp reiserfs noexec,auto,nouser,rw,async,nosuid 1 2
> >>
> >> Thus I am using amanda default program using Yast2 So is there a
> >> parameter I can change on the client to use and create another
> >> directory for example /usr/tmp/amanda which /usr directory has fstab
> >> entry as below
> >>
> >> /dev/hda8 /usr reiserfs acl,user_xattr 1 2
> >>
> >> Cheers
>
--
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
|