SV: upgrade to 3.1.1

2010-07-05 Thread Gunnarsson, Gunnar
The issue is resolved it needs to have write permission in the sysconfdir 
directory as well. I my case its /etc/opt/amanda which this differs from 
previous versions.

Thanks Gunnar Gunnarsson

-Ursprungligt meddelande-
Från: djmit...@gmail.com [mailto:djmit...@gmail.com] För Dustin J. Mitchell
Skickat: den 2 juli 2010 23:56
Till: Gunnarsson, Gunnar
Kopia: amanda-users@amanda.org
Ämne: Re: upgrade to 3.1.1

On Fri, Jul 2, 2010 at 4:34 PM, Gunnarsson, Gunnar gunnar.gunnars...@svk.se 
wrote:
 Perms are okay, it was working for versions 3.1.0.

 #  ls -l /etc/opt/amanda/orabck/tapelist
 -rw-r--r--   1 amanda   amanda       259 Jun 28 20:26 
 /etc/opt/amanda/orabck/tapelist

How about for the enclosing directory?  Amanda tries to write the tapelist 
safely by writing to a temporary file in the same directory and renaming.  Is 
the taper running as 'amanda' or 'amandabackup'?

Dustin

--
Open Source Storage Engineer
http://www.zmanda.com



Re: upgrade to 3.1.1

2010-07-05 Thread Dustin J. Mitchell
On Mon, Jul 5, 2010 at 6:06 AM, Gunnarsson, Gunnar
gunnar.gunnars...@svk.se wrote:
 The issue is resolved it needs to have write permission in the sysconfdir 
 directory as well. I my case its /etc/opt/amanda which this differs from
 previous versions.

I'll check this out - Amanda should at least check it in amcheck.

Thanks!

Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com


Re: upgrade to 3.1.1

2010-07-05 Thread Gene Heskett
On Monday 05 July 2010, Dustin J. Mitchell wrote:
On Mon, Jul 5, 2010 at 6:06 AM, Gunnarsson, Gunnar

gunnar.gunnars...@svk.se wrote:
 The issue is resolved it needs to have write permission in the
 sysconfdir directory as well. I my case its /etc/opt/amanda which this
 differs from previous versions.

I'll check this out - Amanda should at least check it in amcheck.

Thanks!

Dustin

I had a major hang again last night, accompanied by a kernel BUG, but 
haven't attempted to clean it up yet.  I'll post more when I have it.

-- 
Cheers, Gene
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
UNIX enhancements aren't.


upgrade to 3.1.1

2010-07-02 Thread Gunnarsson, Gunnar
Hi,

I got this error while I upgraded from 3.1.0beta2 to 3.1.1 ?
File is ownered by the backup user.

The next tape Amanda expects to use is: 1 new tape.
FAILURE DUMP SUMMARY:
  taper: FATAL Could not open '/etc/opt/amanda/orabck/tapelist'
for writing: Permission denied at /usr/perl5/site_perl/5.8.4/Amanda/Tapelist.pm 
line 280.


Thanks Gunnar Gunnarsson




Re: upgrade to 3.1.1

2010-07-02 Thread Dustin J. Mitchell
On Fri, Jul 2, 2010 at 2:44 PM, Gunnarsson, Gunnar
gunnar.gunnars...@svk.se wrote:
 The next tape Amanda expects to use is: 1 new tape.
 FAILURE DUMP SUMMARY:
   taper: FATAL Could not open '/etc/opt/amanda/orabck/tapelist'
 for writing: Permission denied at
 /usr/perl5/site_perl/5.8.4/Amanda/Tapelist.pm line 280.

Hmm - did you check the perms on that file?

Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com



SV: upgrade to 3.1.1

2010-07-02 Thread Gunnarsson, Gunnar
Perms are okay, it was working for versions 3.1.0.

#  ls -l /etc/opt/amanda/orabck/tapelist
-rw-r--r--   1 amanda   amanda   259 Jun 28 20:26 
/etc/opt/amanda/orabck/tapelist


-Ursprungligt meddelande-
Från: djmit...@gmail.com [mailto:djmit...@gmail.com] För Dustin J. Mitchell
Skickat: den 2 juli 2010 22:59
Till: Gunnarsson, Gunnar
Kopia: amanda-users@amanda.org
Ämne: Re: upgrade to 3.1.1

On Fri, Jul 2, 2010 at 2:44 PM, Gunnarsson, Gunnar gunnar.gunnars...@svk.se 
wrote:
 The next tape Amanda expects to use is: 1 new tape.
 FAILURE DUMP SUMMARY:
   taper: FATAL Could not open '/etc/opt/amanda/orabck/tapelist'
 for writing: Permission denied at
 /usr/perl5/site_perl/5.8.4/Amanda/Tapelist.pm line 280.

Hmm - did you check the perms on that file?

Dustin

--
Open Source Storage Engineer
http://www.zmanda.com



SV: upgrade to 3.1.1

2010-07-02 Thread Gunnarsson, Gunnar
It's own by the same user and taper is running as the user amanda.
Fri Jul  2 19:30:05 2010: taper: pid 29208 ruid 91 euid 91 version 3.1.1: start 
at Fri Jul  2 19:30:05 2010
Fri Jul  2 19:30:05 2010: taper: pid 29208 ruid 91 euid 91 version 3.1.1: 
rename at Fri Jul  2 19:30:05 2010
# ls -ld  /etc/opt/amanda/orabck
drwxr-xr-x   2 amanda   amanda 8 May 28 07:53 /etc/opt/amanda/orabck

# ls -ldn  /etc/opt/amanda/orabck
drwxr-xr-x   2 91   91 8 May 28 07:53 /etc/opt/amanda/orabck


-Ursprungligt meddelande-
Från: djmit...@gmail.com [mailto:djmit...@gmail.com] För Dustin J. Mitchell
Skickat: den 2 juli 2010 23:56
Till: Gunnarsson, Gunnar
Kopia: amanda-users@amanda.org
Ämne: Re: upgrade to 3.1.1

On Fri, Jul 2, 2010 at 4:34 PM, Gunnarsson, Gunnar gunnar.gunnars...@svk.se 
wrote:
 Perms are okay, it was working for versions 3.1.0.

 #  ls -l /etc/opt/amanda/orabck/tapelist
 -rw-r--r--   1 amanda   amanda       259 Jun 28 20:26 
 /etc/opt/amanda/orabck/tapelist

How about for the enclosing directory?  Amanda tries to write the tapelist 
safely by writing to a temporary file in the same directory and renaming.  Is 
the taper running as 'amanda' or 'amandabackup'?

Dustin

--
Open Source Storage Engineer
http://www.zmanda.com



Re: upgrade to 3.1.1

2010-07-02 Thread Dustin J. Mitchell
On Fri, Jul 2, 2010 at 4:34 PM, Gunnarsson, Gunnar
gunnar.gunnars...@svk.se wrote:
 Perms are okay, it was working for versions 3.1.0.

 #  ls -l /etc/opt/amanda/orabck/tapelist
 -rw-r--r--   1 amanda   amanda       259 Jun 28 20:26 
 /etc/opt/amanda/orabck/tapelist

How about for the enclosing directory?  Amanda tries to write the
tapelist safely by writing to a temporary file in the same directory
and renaming.  Is the taper running as 'amanda' or 'amandabackup'?

Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com