Re: failure strange dump

2002-08-15 Thread janebackup

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 [EMAIL PROTECTED]  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 

Re: failure strange dump

2002-08-15 Thread Jon LaBadie

On Thu, Aug 15, 2002 at 02:40:33PM +0100, janebackup wrote:
 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?
 

YMMV, this is my system.

$ ls -lL /dev/dsk
total 0
...
brw-r-   1 root sys   29,392 Jul 20  2001 c1t6d0s8
brw-r-   1 root sys   29,393 Jul 20  2001 c1t6d0s9
^   ^^^
group read  amanda must have this group permissions

Seldom (in my experience) is the disk group the root group.

Some systems allow only a single group membership at a time.
In that case amanda should login as part of the disk group (sys for me).

Other system allow multiple, simultaneous group membership.  On those,
amanda needs be listed as a member of the disk group (sys for me).


300 lines of email message for a 3 line question is overkill.


-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)



Re: failure strange dump

2002-08-15 Thread Gene Heskett

On Thursday 15 August 2002 09:40, janebackup wrote:
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.

I suppose so, here, 'disk' has amanda and root listed as alternate 
members by the linuxconf display.

And, using linuxconf to edit things, its easy enough to fix either 
way.

Your emailer is still miss-configured, so I had to rescue this from 
the Junquemail folder.  My ISP uses the Declude spam/viri filter, 
and it doesn't like mail coming from localhost.  I also note that a 
CC: was sent to the list, so I'll ignore any more of these in my 
personal inbox, and answer those on the list instead.

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.11% setiathome rank, not too shabby for a WV hillbilly



Re: failure strange dump

2002-08-15 Thread Gene Heskett

On Thursday 15 August 2002 10:47, Jon LaBadie wrote:
On Thu, Aug 15, 2002 at 02:40:33PM +0100, janebackup wrote:
 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?

YMMV, this is my system.

$ ls -lL /dev/dsk
total 0
...
brw-r-   1 root sys   29,392 Jul 20  2001 c1t6d0s8
brw-r-   1 root sys   29,393 Jul 20  2001 c1t6d0s9
^   ^^^
group read  amanda must have this group permissions

Seldom (in my experience) is the disk group the root group.

Some systems allow only a single group membership at a time.
In that case amanda should login as part of the disk group (sys
 for me).

Other system allow multiple, simultaneous group membership.  On
 those, amanda needs be listed as a member of the disk group (sys
 for me).


300 lines of email message for a 3 line question is overkill.

Agreed.  I aso got a private copy of this, and I took her question 
to be 'could I make amanda a member of group root'  which I said I 
suppose so since the group 'disk' has amanda and root as alternate 
members here on my machine according to linuxconf.

Is this not correct, Jon?

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.11% setiathome rank, not too shabby for a WV hillbilly



Re: failure strange dump

2002-08-14 Thread janebackup

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.

I'm compiling from source.

I would be grateful if somebody could help me!

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 2425811Support : 0906 756 0364 

Email : mailto:[EMAIL PROTECTED] 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
 




Re: failure strange dump

2002-08-14 Thread Gene Heskett

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 2425811Support : 0906 756 0364

Email : mailto:[EMAIL PROTECTED] 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



Re: failure strange dump

2002-08-14 Thread Joshua Baker-LePain

On Wed, 14 Aug 2002 at 2:54pm, janebackup 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?

Yes.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University




Re: failure strange dump

2002-08-09 Thread janebackup

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.
 
 
 





Re: failure strange dump

2002-08-09 Thread Jon LaBadie

On Fri, Aug 09, 2002 at 05:17:09PM +0100, 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.
  

If your always-full dumptype uses tar and not some dump program it is fine.

If always-full is using a dump program I believe that the disklist entry has to
be the root directory of a file system or the device name for the file system.

In the case that /tmp is a separate file system (my solaris system has this)
your disklist is fine for either program.
-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)



Re: failure strange dump

2002-08-09 Thread Chris Johnson

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.