Amanda-Users

Re: failure & strange dump

2002-08-15 09:52:50
Subject: Re: failure & strange dump
From: janebackup <jane AT s2o.co DOT uk>
To: Gene Heskett <gene_heskett AT iolinc DOT net>
Date: Thu, 15 Aug 2002 14:40:33 +0100
Hi thanks for your email, I'm sorry to be a pain but could you tell me if I can 
just add 
the amanda user to my root group.  If not what permission does the new disk 
group need?

Thanks for all your help so far.

Jane.

> On Wednesday 14 August 2002 09:54, you wrote:
> >Thanks for your email, if I want to change my amanda to run as a
> > different user does this mean I have to re-install it?
> >
> >Jane.
> >
> Uhh, what source did you use to first do it?
> 
> The reason I ask is that there are rpms floating about, usually of a 
> somewhat aged nature.
> 
> amanda is a work in progress although nothing has been done that 
> makes for version incompatibilities since 2.4.1 was released 2 or 
> so years ago.
> 
> I am personally running the latest snapshot of version 2.4.3b3 which 
> is available as tarballs from the web site of a Mr. Martineau
> at <http://www.iro.umontreal.ca/~martinea/amanda>
> 
> This is unpacked as user root in the /home/amanda directory, and a
> "chown -R amanda:disk amanda-2.4.3b3-20020805" is then done.
> Then I grab my configure script from the previous build and copy it 
> into this newly unpacked directory.  This script looks like this:
> ---------------------
> #!/bin/sh
> make clean
> rm -f config.status config.cache
> ./configure --with-user=amanda \
>       --with-group=disk \
>       --with-owner=amanda \
>       --with-tape-device=/dev/nst0 \
>       --with-changer-device=/dev/sg1 \
>       --with-gnu-ld \
>       --prefix=/usr/local \
>       --with-debugging=/tmp/amanda-dbg/ \
>       --with-tape-server=192.168.1.3 \
>       --with-amandahosts \
>       --with-configdir=/usr/local/etc/amanda
> -----------------------------------------------
> You'll need to modify the obvious stuff above of course, but once 
> this script has been used, it should be used for all subsequent 
> rebuilds. Do a "chmod +x" on whatever you name this and it will run 
> directly, or you can do a "sh ./scriptname" also.
> 
> But first su yourself to be user amanda before running it.
> When thats done, "make" it.
> When thats done, exit back to root, and "make install"
> 
> This will automaticly take care of all the various permissions bits 
> for you, and amanda will then be run from the user amanda's crontab 
> or by the user amanda if by hand.
> 
> You will of course need to generate the user "amanda" and make 
> amanda a member of the group "disk".  Such utilities as linuxconf 
> make that an easy job.
> 
> Last, your email agent is, in the spam filer 'Declude's eyes, (my 
> ISP uses that utility for spam and viri killing) a broken one which 
> caused my ISP to add a marker header, which in turn caused your 
> message to be marked as read and moved to the local Junquemail 
> folder for later forwarding to uce AT ftc DOT gov.  I normally give it a 
> quick scan before doing so and caught this one before I killed it.
> 
> So you might want to see if its miss-configured or whatever.
> 
> >> On Wednesday 14 August 2002 04:14, janebackup wrote:
> >> >Hi Chris,
> >> >
> >> >Thanks for your reply, I don't use the email facility but I run
> >> > a amreport and I get the following:
> >> >
> >> >FAILURE & STRANGE DUMP
> >> >
> >> >dataserv / Results missing
> >> >
> >> >Amanda is running as root so I don't think its permissions.
> >>
> >> amanda doesn't like running as root, usually totally refusing
> >> to, but will get root perms when she needs to.  amanda should be
> >> run as an unpriviledged user who is a member of group disk or
> >> maybe backup, and will do an suid when required.
> >>
> >> >I'm compiling from source.
> >> >
> >> >I would be grateful if somebody could help me!
> >>
> >> The contents of this list usually get a recipe for building
> >> amanda from me about weekly, so you might want to look at the
> >> last couple of weeks worth to see one way of doing it that works
> >> here.
> >>
> >> >Thanks in advance and for your help so far.
> >> >
> >> >Jane.
> >> >
> >> >> jane,
> >> >>     the disklist file looks fine. are you getting an email
> >> >> with errors? if so please send that and I can maybe help. If
> >> >> your getting "disk offline" errors it may be a permission
> >> >> issue. what user is amanda running as? are the filesystems
> >> >> (/dev/[sh]da[0-9]) owned by the group that amanda is running
> >> >> as? These are the first two things I would check. btw: I've
> >> >> had problems editing the group file by hand and adding amanda
> >> >> user to a group. It seems that the default group must be
> >> >> correct and amanda must be compiled with the correct options.
> >> >> Are you compiling from source or using an rpm?
> >> >> chrisj
> >> >>
> >> >> janebackup wrote:
> >> >> >Chris,
> >> >> >
> >> >> >Thanks for your reply, yes I was trying to backup a single
> >> >> > directory (thought I'd do
> >> >
> >> >this
> >> >
> >> >> >first just to test).  If I have to backup the filesystem
> >> >> > does this mean if I put the following entry in my disklist
> >> >> > file?:
> >> >> >
> >> >> >dataserv        /      always-full
> >> >> >
> >> >> >Cus I've already tried this and I still get the same errors.
> >> >> > Is my disklist file
> >> >
> >> >wrong?
> >> >
> >> >> >Thanks for your help.
> >> >> >
> >> >> >Jane.
> >> >> >
> >> >> >>jane
> >> >> >>    Are you trying to backup a filesystem or a directory.
> >> >> >> Amanda is made to dump filesystems at the disk level and
> >> >> >> won't do a single directory. Are you getting an email of
> >> >> >> the errors or looking at the logs? chris
> >> >> >>
> >> >> >>janebackup wrote:
> >> >> >>>Hi,
> >> >> >>>
> >> >> >>>I'm still trying to get my amanda backup working, I have
> >> >> >>> amanda 2.4.3b3 on a linux machine and I am just trying to
> >> >> >>> backup that one directory on that one machine with
> >> >
> >> >no
> >> >
> >> >> >>>tar/compression just to test for the minute.  But even
> >> >> >>> that doesn't work the only
> >> >> >
> >> >> >error
> >> >> >
> >> >> >>>messages I get in amcheck are:
> >> >> >>>
> >> >> >>>WARNING: info file
> >> >> >>> /usr/adm/amanda/DailySet1/curinfo/dataserv/_tmp/info does
> >> >> >>> not
> >> >
> >> >exist
> >> >
> >> >> >>>and in my report after I have ran amdump is:
> >> >> >>>
> >> >> >>>FAILURE & STRANGE dump summary
> >> >> >>>dataserv   /tmp RESULTS MISSING
> >> >> >>>
> >> >> >>>and also:
> >> >> >>>
> >> >> >>>driver: WARNING: got empty schedule from planner
> >> >> >>>
> >> >> >>>I would be grateful any help!
> >> >> >>>
> >> >> >>>Jane.
> >> >
> >> >Jane Mattley
> >> >
> >> >Support Team
> >> >
> >> >Studio 2 Online Ltd
> >> >
> >> >Now Supplying Computer Hardware & Software, Call for a Quote
> >> >
> >> >"We guarantee to beat any Like for Like E-Commerce Quote"
> >> >
> >> >"Update your website for FREE with CMS"
> >> >
> >> >Sales : 0116 2425811        Support : 0906 756 0364
> >> >
> >> >Email : mailto:jane AT s2o.co DOT uk Web: http://www.s2o.co.uk/
> >> >
> >> >Legal Disclaimer:-
> >> >
> >> >Internet communications are not secure and therefore Studio 2
> >> > Online does not accept legal responsibility for the contents
> >> > of this message.  The information in this email is
> >> > confidential and may be legally privileged.  It is intended
> >> > solely for the addressee and therefore access to this email by
> >> > anyone else is unauthorised.  If you are not the intended
> >> > recipient, any disclosure, copying, distribution or any action
> >> > taken or omitted to be taken in reliance on it, is prohibited
> >> > and may be unlawful, furthermore please contact the sender
> >> > immediately by replying or by calling 0870 7417226 and delete
> >> > this message and any attachment permanently from your system. 
> >> > Any views or opinions presented are solely those of the author
> >> > and do not necessarily represent those of Studio 2 Online. 
> >> > Although Studio 2 Online operates anti-virus programmes, it
> >> > does not accept responsibility for any damage whatsoever that
> >> > is caused by viruses being passed.
> >> >
> >> >Thank you for your co-operation
> >>
> >> --
> >> Cheers, Gene
> >> AMD K6-III@500mhz 320M
> >> Athlon1600XP@1400mhz  512M
> >> 99.11% setiathome rank, not too shabby for a WV hillbilly
> >
> >Jane Mattley
> >
> >Support Team
> >
> >Studio 2 Online Ltd
> >
> >Now Supplying Computer Hardware & Software, Call for a Quote
> >
> >"We guarantee to beat any Like for Like E-Commerce Quote"
> >
> >"Update your website for FREE with CMS"
> >
> >Sales : 0116 2425811        Support : 0906 756 0364
> >
> >Email : mailto:jane AT s2o.co DOT uk Web: http://www.s2o.co.uk/
> >
> >Legal Disclaimer:-
> >
> >Internet communications are not secure and therefore Studio 2
> > Online does not accept legal responsibility for the contents of
> > this message.  The information in this email is confidential and
> > may be legally privileged.  It is intended solely for the
> > addressee and therefore access to this email by anyone else is
> > unauthorised.  If you are not the intended recipient, any
> > disclosure, copying, distribution or any action taken or omitted
> > to be taken in reliance on it, is prohibited and may be unlawful,
> > furthermore please contact the sender immediately by replying or
> > by calling 0870 7417226 and delete this message and any
> > attachment permanently from your system.  Any views or opinions
> > presented are solely those of the author and do not necessarily
> > represent those of Studio 2 Online.  Although Studio 2 Online
> > operates anti-virus programmes, it does not accept responsibility
> > for any damage whatsoever that is caused by viruses being passed.
> >
> >Thank you for your co-operation
> 
> -- 
> Cheers, Gene
> AMD K6-III@500mhz 320M
> Athlon1600XP@1400mhz  512M
> 99.11% setiathome rank, not too shabby for a WV hillbilly

Jane Mattley

Support Team

Studio 2 Online Ltd 

Now Supplying Computer Hardware & Software, Call for a Quote

"We guarantee to beat any Like for Like E-Commerce Quote"

"Update your website for FREE with CMS"

Sales : 0116 2425811        Support : 0906 756 0364 

Email : mailto:jane AT s2o.co DOT uk Web: http://www.s2o.co.uk/

Legal Disclaimer:- 

Internet communications are not secure and therefore Studio 2 Online does not 
accept 
legal responsibility for the contents of this message.  The information in this 
email is 
confidential and may be legally privileged.  It is intended solely for the 
addressee and 
therefore access to this email by anyone else is unauthorised.  If you are not 
the 
intended recipient, any disclosure, copying, distribution or any action taken 
or omitted 
to be taken in reliance on it, is prohibited and may be unlawful, furthermore 
please 
contact the sender immediately by replying or by calling 0870 7417226 and 
delete this 
message and any attachment permanently from your system.  Any views or opinions 
presented 
are solely those of the author and do not necessarily represent those of Studio 
2 
Online.  Although Studio 2 Online operates anti-virus programmes, it does not 
accept 
responsibility for any damage whatsoever that is caused by viruses being passed.

Thank you for your co-operation
 


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