Re: wrong link to 3.1.1 on download page

2010-08-25 Thread Paddy Sreenivasan
Hi Tom,

Thanks for reporting it. It has been fixed.

Paddy

On Tue, Aug 24, 2010 at 3:23 PM, Tom Schutter t.schut...@comcast.net wrote:
 On http://amanda.org/download.php, what should be a link to 3.1.1 is
 actually a link to 3.1.2.  The tag and branch links are OK, it is just
 the Release link that is wrong.

 --
 Tom Schutter
 t.schut...@comcast.net




Problems After Upgrading to 3.1.2

2010-08-25 Thread Steven Backus
Two problems I noticed after upgrading to 3.2.1 from 2.6.1p2.  Even
though amcheck reports no problems:

[r...@tranquility gen]# amcheck -c gen

Amanda Backup Client Hosts Check

Client check: 12 hosts checked in 5.453 seconds.  0 problems found.

(brought to you by Amanda 3.1.2)
--

One of my hosts failed with this error:

whimsy.med.utah.edu sdb6 lev 1 FAILED [port open: Connection refused]

Also, I didn't get my reports.  I have:

  lbl-templ /local/etc/amanda/gen/3hole.ps

In my tapetype and it's always worked before.  Any ideas?

Thanks,
  Steve
-- 
Steven J. BackusComputer Specialist
University of Utah  E-Mail:  steven.bac...@utah.edu
Genetic EpidemiologyAlternate:  bac...@math.utah.edu
391 Chipeta Way -- Suite D  Office:  801.587.9308
Salt Lake City, UT 84108-1266   http://www.math.utah.edu/~backus


More on 3hole.ps Problem

2010-08-25 Thread Steven Backus
Dustin and Jean-Louis are both on vacation, Dustin asked me to look
into this further.  Here's the pertinent log:

Tue Aug 24 23:59:10 2010: amreport: pid 31955 ruid 0 euid 0 version 3.1.2: 
start at Tue Aug 24 23:59:10 2010
Tue Aug 24 23:59:10 2010: amreport: pid 31955 ruid 0 euid 0 version 3.1.2: 
rename at Tue Aug 24 23:59:10 2010
Tue Aug 24 23:59:10 2010: amreport: using logfile: /usr/adm/amanda/gen/log
Tue Aug 24 23:59:10 2010: amreport: operating in script mode
Tue Aug 24 23:59:10 2010: amreport: warning: Use of uninitialized value in 
substitution (s///) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report.pm line 856.

Tue Aug 24 23:59:10 2010: amreport: planned output: human mail root
Tue Aug 24 23:59:10 2010: amreport: planned output: postscript 
/local/etc/amanda/gen/3hole.ps printer SteveLaser
Tue Aug 24 23:59:10 2010: amreport: invoking mail app: /usr/bin/Mail -s gen 
FAIL: AMANDA MAIL REPORT FOR August 23, 2010 root
Tue Aug 24 23:59:10 2010: amreport: warning: Use of uninitialized value in 
numeric gt () at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
608.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
1312.

Tue Aug 24 

amanda+krb5: Wrong permissions on ccache file.

2010-08-25 Thread Tim Nowaczyk
Greetings all,

I sent the following message to amanda-users before my subscription was 
accepted.  I don't see it in the archives so I'm resending although I have some 
updates at the end.

Original message--

After a long day of troubleshooting the amcheck message WARNING: hostname: 
selfcheck request failed: hostname: could not get TGT: error initializing 
ccache: Internal credentials cache error, I discovered (by straceing 
amcheck) that the kerberos credential cache was being written to /tmp/krb5cc_0, 
but this file already existed and was readable and writeable only by root:root. 
 I deleted root's kerberos ccache and reran amcheck and the program still 
wanted to use tmp/krb5cc_0, but it set the file's ownership to backup:backup.  
amcheck then gave me a different error message: WARNING: hostname: selfcheck 
request failed: EOF in gss loop.

Is this a problem with my kerberos config, amanda, or with the MIT kerberos 
libraries?  Could the setuid nature of amcheck be confusing the krb5_cc_* code 
in libkrb5?

Details:
Ubuntu 8.10
Amanda 3.1.0
libkrb53 1.6.dfsg.3~beta1-2ubuntu1.5

running kinit -kt /etc/amanda/krb5.keytab amanda/backupser...@realm as the 
backup user works.   Running kvno amanda/backupser...@realm on the client 
works, so it seems that my kerberos setup is all good.  I realize I could 
figure out if this is a problem with libkrb5 and not amanda specificly by 
learning my way around the krb5 library and writing a simple setuid kerberos 
program, but I thought someone on amanda-users might have seen this before and 
could lend some pointers.

Updates--

After another day of troubleshooting I think I found the problem.  Running 
'strings /usr/lib/amanda/libamanda-3.1.0.so | grep amanda_ccache' shows 
'KRB5_ENV_CCNAME=FILE:/tmp/amanda_ccache.%ld.%ld'.  This should be 
'KRB5CCNAME=FILE:/tmp/amanda_ccache.%ld.%ld'.  I see '#define KRB5_ENV_CCNAME 
KRB5CCNAME' in 'krb5-security.c', however.  Does the preprocessor still 
ignore substituting inside string literals?  That would explain why the 
substitution isn't happening in krb5_init().

I am still having the 'EOF in gss loop' error however.

Many thanks,
Tim Nowaczyk

--
Timothy Nowaczyk
Network Systems Engineer
University of Virginia - ITC
ta...@virginia.edu






Re: wrong link to 3.1.1 on download page

2010-08-25 Thread Tom Schutter
It is still broken.

On Tue 2010-08-24 17:03, Paddy Sreenivasan wrote:
 Hi Tom,
 
 Thanks for reporting it. It has been fixed.
 
 Paddy
 
 On Tue, Aug 24, 2010 at 3:23 PM, Tom Schutter t.schut...@comcast.net wrote:
  On http://amanda.org/download.php, what should be a link to 3.1.1 is
  actually a link to 3.1.2.  The tag and branch links are OK, it is just
  the Release link that is wrong.
 
  --
  Tom Schutter
  t.schut...@comcast.net
 

-- 
Tom Schutter
t.schut...@comcast.net


Re: More on 3hole.ps Problem

2010-08-25 Thread Chris Nighswonger
Hi Steven,

On Wed, Aug 25, 2010 at 3:42 PM, Steven Backus
bac...@whimsy.med.utah.edu wrote:
 Dustin and Jean-Louis are both on vacation, Dustin asked me to look
 into this further.  Here's the pertinent log:

 Tue Aug 24 23:59:10 2010: amreport: pid 31955 ruid 0 euid 0 version 3.1.2: 
 start at Tue Aug 24 23:59:10 2010
 Tue Aug 24 23:59:10 2010: amreport: pid 31955 ruid 0 euid 0 version 3.1.2: 
 rename at Tue Aug 24 23:59:10 2010
 Tue Aug 24 23:59:10 2010: amreport: using logfile: /usr/adm/amanda/gen/log
 Tue Aug 24 23:59:10 2010: amreport: operating in script mode
 Tue Aug 24 23:59:10 2010: amreport: warning: Use of uninitialized value in 
 substitution (s///) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report.pm line 
 856.

 Tue Aug 24 23:59:10 2010: amreport: planned output: human mail root
 Tue Aug 24 23:59:10 2010: amreport: planned output: postscript 
 /local/etc/amanda/gen/3hole.ps printer SteveLaser
 Tue Aug 24 23:59:10 2010: amreport: invoking mail app: /usr/bin/Mail -s gen 
 FAIL: AMANDA MAIL REPORT FOR August 23, 2010 root
 Tue Aug 24 23:59:10 2010: amreport: warning: Use of uninitialized value in 
 numeric gt () at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
 608.

 Tue Aug 24 23:59:10 2010: amreport: warning: Argument --  isn't numeric in 
 numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 
 1312.

Well, for some reason, $orig_size ends up set to zero which causes
Amanda::Report::Human::divzero_col to return a string (-- )rather than
a numeric.

Never having read this code before and so shooting from the hip, I'd
say the code does not handle the case where orig_kb == 0. Since
divzero_col could return a non-numeric value, at the very least, the
conditionals at lines 1289 and 1312 in Human.pm should be modified to
take in to count the possibility of a non-numeric value in their test.

However, there looks to have been substantial changes to other parts
of the code, so the true problem may lie farther back up the food
chain.

Kind Regards,
Chris