Amanda-Users

amcheck gets permission denied error

2008-04-14 18:21:48
Subject: amcheck gets permission denied error
From: Chris Hoogendyk <hoogendyk AT bio.umass DOT edu>
To: AMANDA users <amanda-users AT amanda DOT org>
Date: Mon, 14 Apr 2008 18:14:58 -0400
Well, I have to confess I'm puzzled by this one.

I added a couple of partitions to the disklist on my backup server, expecting it to be a totally routine thing. However, I got "permission denied" from amcheck when it tried to access these partitions (on another server). I have scads of partitions on that server already getting backed up. What's more, amdump was perfectly successful in backing these up. But, amcheck keeps complaining. This has been going on for about 2 weeks.

I've checked permissions, and even umounted the partitions and checked the underlying permissions of the mount point. I can't see that there is anything unique about them compared to other partitions. I have permissions all over the map, with different faculty and labs having ownership and varying requirements for access and security. There are at least a couple of others where root is neither owner nor a member of the group owner and other permissions are 0. The underlying mount points are typically root:other with 755.

So, what, exactly is it that amcheck is doing that makes it different from amdump and might make it complain in some way?

I've put the contents of the email message from amcheck and the debug file from the client server at the end of this message.

The only "clue" I have is probably just a red herring. My boss had been browsing through, tightening up some security stuff and changed the root umask to 077 a few weeks back. That may have been before he added this drive. But, if that had changed anything, I should be able to see it in the permissions now. I don't. And, amdump doesn't seem to either.


---------------

Chris Hoogendyk

-
  O__  ---- Systems Administrator
 c/ /'_ --- Biology & Geology Departments
(*) \(*) -- 140 Morrill Science Center
~~~~~~~~~~ - University of Massachusetts, Amherst
<hoogendyk AT bio.umass DOT edu>

---------------
Erdös 4




---------------------------
|email message  from amcheck|
---------------------------
<with some headers removed>

Return-Path: <amanda AT mormyrid.bio.mor DOT nsm>
Received: from mormyrid.bio.mor.nsm (mormyrid.bio.mor.nsm [172.30.52.128])
        by marlin.bio.umass.edu (8.14.2/8.14.2) with ESMTP id m3EJ2nJO000578;
        Mon, 14 Apr 2008 15:02:49 -0400 (EDT)
Date: Mon, 14 Apr 2008 15:02:49 -0400 (EDT)
From: Amanda Backup User <amanda AT mormyrid.bio.mor DOT nsm>
Message-Id: <200804141902.m3EJ2nNg020387 AT mormyrid.bio.mor DOT nsm>
Subject: UMassBiology AMANDA PROBLEM: FIX BEFORE RUN, IF POSSIBLE
X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-4.0 
(marlin.bio.umass.edu [172.30.55.19]); Mon, 14 Apr 2008 15:02:49 -0400 (EDT)
X-Scanned-By: MIMEDefang 2.54 on 172.30.55.19


Amanda Tape Server Host Check
-----------------------------
Holding disk /var/spool/amanda/disk2: 122227093 KB disk space available, using 
111741333 KB
Holding disk /var/spool/amanda/disk1: 170167149 KB disk space available, using 
159681389 KB
slot 13: read label `bio-daily-009', date `20080228004501'
NOTE: skipping tape-writable test
Tape bio-daily-009 label ok
Server check took 168.519 seconds

Amanda Backup Client Hosts Check
--------------------------------
ERROR: marlin.bio.mor.nsm: [could not access /export/langford/other 
(/export/langford/other): Permission denied]
ERROR: marlin.bio.mor.nsm: [could not access /export/langford/lab 
(/export/langford/lab): Permission denied]
Client check: 4 hosts checked in 7.950 seconds, 2 problems found

(brought to you by Amanda 2.5.1p3)
<this is on Solaris 9 on an E250 - sun4u platform - both servers>



---------------------------------------
|contents of debug file on client server|
---------------------------------------


marlin:/:root# more /tmp/amanda/client/daily/selfcheck.20080414150002.debug
selfcheck: debug 1 pid 197 ruid 555 euid 555: start at Mon Apr 14 15:00:02 2008
selfcheck: version 2.5.1p3
Reading conf file "/usr/local/etc/amanda/amanda-client.conf".
Could not open conf file "/usr/local/etc/amanda/daily/amanda-client.conf": No 
such file or directory
selfcheck: debug 1 pid 197 ruid 555 euid 555: rename at Mon Apr 14 15:00:02 2008
selfcheck: time 0.203: checking disk /export/pboff
selfcheck: time 0.284: device /dev/rdsk/c2t2d0s7
selfcheck: time 0.284: disk /export/pboff OK
selfcheck: time 0.284: amdevice /export/pboff OK
selfcheck: time 0.284: device /dev/rdsk/c2t2d0s7 OK
selfcheck: time 0.285: checking disk /export/oeboff
selfcheck: time 0.290: device /dev/rdsk/c4t0d0s1
selfcheck: time 0.290: disk /export/oeboff OK
selfcheck: time 0.290: amdevice /export/oeboff OK
selfcheck: time 0.290: device /dev/rdsk/c4t0d0s1 OK
selfcheck: time 0.290: checking disk /export/oeb
selfcheck: time 0.295: device /dev/rdsk/c4t0d0s0
selfcheck: time 0.295: disk /export/oeb OK
selfcheck: time 0.295: amdevice /export/oeb OK
selfcheck: time 0.295: device /dev/rdsk/c4t0d0s0 OK
selfcheck: time 0.295: checking disk /export/mcboff
selfcheck: time 0.393: device /dev/rdsk/c6t6d0s0
selfcheck: time 0.393: disk /export/mcboff OK
selfcheck: time 0.393: amdevice /export/mcboff OK
selfcheck: time 0.393: device /dev/rdsk/c6t6d0s0 OK
selfcheck: time 0.393: checking disk /export/langford/other
selfcheck: time 0.441: device /export/langford/other
selfcheck: time 0.441: could not access /export/langford/other 
(/export/langford/other): Permission de
nied
selfcheck: time 0.442: checking disk /export/langford/lab
selfcheck: time 0.487: device /export/langford/lab
selfcheck: time 0.487: could not access /export/langford/lab 
(/export/langford/lab): Permission denied
selfcheck: time 0.488: checking disk /export/herbarium
selfcheck: time 0.502: device /dev/rdsk/c4t6d0s6
selfcheck: time 0.502: disk /export/herbarium OK
selfcheck: time 0.502: amdevice /export/herbarium OK
selfcheck: time 0.502: device /dev/rdsk/c4t6d0s6 OK
selfcheck: time 0.502: checking disk /export/h3
selfcheck: time 0.508: device /dev/rdsk/c2t2d0s0
selfcheck: time 0.509: disk /export/h3 OK
selfcheck: time 0.509: amdevice /export/h3 OK
selfcheck: time 0.509: device /dev/rdsk/c2t2d0s0 OK
selfcheck: time 0.509: checking disk /export/bittman/images
selfcheck: time 0.535: device /dev/rdsk/c6t8d0s3
selfcheck: time 0.535: disk /export/bittman/images OK
selfcheck: time 0.535: amdevice /export/bittman/images OK
selfcheck: time 0.535: device /dev/rdsk/c6t8d0s3 OK
selfcheck: time 0.535: checking disk /export/bittman/circadian
selfcheck: time 0.558: device /dev/rdsk/c6t8d0s0
selfcheck: time 0.558: disk /export/bittman/circadian OK
selfcheck: time 0.558: amdevice /export/bittman/circadian OK
selfcheck: time 0.558: device /dev/rdsk/c6t8d0s0 OK
selfcheck: time 0.559: checking disk /export/biougrad
selfcheck: time 0.566: device /dev/rdsk/c2t2d0s5
selfcheck: time 0.566: disk /export/biougrad OK
selfcheck: time 0.566: amdevice /export/biougrad OK
selfcheck: time 0.566: device /dev/rdsk/c2t2d0s5 OK
selfcheck: time 0.566: checking disk /export/bioff
selfcheck: time 0.580: device /dev/rdsk/c4t6d0s2
selfcheck: time 0.580: disk /export/bioff OK
selfcheck: time 0.580: amdevice /export/bioff OK
selfcheck: time 0.580: device /dev/rdsk/c4t6d0s2 OK
selfcheck: time 0.581: checking disk /export/bermuda
selfcheck: time 0.597: device /dev/rdsk/c5t12d0s3
selfcheck: time 0.598: disk /export/bermuda OK
selfcheck: time 0.598: amdevice /export/bermuda OK
selfcheck: time 0.598: device /dev/rdsk/c5t12d0s3 OK
selfcheck: time 0.598: checking disk /export/barbados
selfcheck: time 0.615: device /dev/rdsk/c5t12d0s5
selfcheck: time 0.615: disk /export/barbados OK
selfcheck: time 0.615: amdevice /export/barbados OK
selfcheck: time 0.615: device /dev/rdsk/c5t12d0s5 OK
selfcheck: time 0.616: checking disk /export/baja
selfcheck: time 0.724: device /dev/rdsk/c5t12d0s4
selfcheck: time 0.724: disk /export/baja OK
selfcheck: time 0.724: amdevice /export/baja OK
selfcheck: time 0.724: device /dev/rdsk/c5t12d0s4 OK
selfcheck: time 0.724: checking disk /export/PC
selfcheck: time 0.739: device /dev/rdsk/c4t6d0s3
selfcheck: time 0.739: disk /export/PC OK
selfcheck: time 0.739: amdevice /export/PC OK
selfcheck: time 0.739: device /dev/rdsk/c4t6d0s3 OK
selfcheck: time 0.739: checking disk /u1/ftp/pub
selfcheck: time 0.746: device /dev/rdsk/c2t2d0s4
selfcheck: time 0.746: disk /u1/ftp/pub OK
selfcheck: time 0.746: amdevice /u1/ftp/pub OK
selfcheck: time 0.746: device /dev/rdsk/c2t2d0s4 OK
selfcheck: time 0.747: checking disk /u1/ftp/incoming
selfcheck: time 0.756: device /dev/rdsk/c4t2d0s3
selfcheck: time 0.756: disk /u1/ftp/incoming OK
selfcheck: time 0.756: amdevice /u1/ftp/incoming OK
selfcheck: time 0.756: device /dev/rdsk/c4t2d0s3 OK
selfcheck: time 0.756: checking disk /u1/home/micro
selfcheck: time 0.774: device /dev/rdsk/c5t13d0s0
selfcheck: time 0.774: disk /u1/home/micro OK
selfcheck: time 0.774: amdevice /u1/home/micro OK
selfcheck: time 0.774: device /dev/rdsk/c5t13d0s0 OK
selfcheck: time 0.775: checking disk /u1/home/mcb
selfcheck: time 0.796: device /dev/rdsk/c6t6d0s3
selfcheck: time 0.796: disk /u1/home/mcb OK
selfcheck: time 0.796: amdevice /u1/home/mcb OK
selfcheck: time 0.796: device /dev/rdsk/c6t6d0s3 OK
selfcheck: time 0.797: checking disk /u1/home/guest
selfcheck: time 0.809: device /dev/rdsk/c4t6d0s1
selfcheck: time 0.810: disk /u1/home/guest OK
selfcheck: time 0.810: amdevice /u1/home/guest OK
selfcheck: time 0.810: device /dev/rdsk/c4t6d0s1 OK
selfcheck: time 0.810: checking disk /u1/home/bio
selfcheck: time 0.820: device /dev/rdsk/c4t2d0s7
selfcheck: time 0.820: disk /u1/home/bio OK
selfcheck: time 0.820: amdevice /u1/home/bio OK
selfcheck: time 0.820: device /dev/rdsk/c4t2d0s7 OK
selfcheck: time 0.821: checking disk /u1/local/httpd/htdocs/micro/blanchard
selfcheck: time 0.838: device /dev/rdsk/c4t0d0s6
selfcheck: time 0.838: disk /u1/local/httpd/htdocs/micro/blanchard OK
selfcheck: time 0.838: amdevice /u1/local/httpd/htdocs/micro/blanchard OK
selfcheck: time 0.838: device /dev/rdsk/c4t0d0s6 OK
selfcheck: time 0.839: checking disk /u1/local/httpd/htdocs/micro
selfcheck: time 0.862: device /dev/rdsk/c6t6d0s4
selfcheck: time 0.862: disk /u1/local/httpd/htdocs/micro OK
selfcheck: time 0.862: amdevice /u1/local/httpd/htdocs/micro OK
selfcheck: time 0.862: device /dev/rdsk/c6t6d0s4 OK
selfcheck: time 0.863: checking disk /u1/local/httpd/htdocs/biology/wadsworth
selfcheck: time 0.880: device /dev/rdsk/c5t12d0s0
selfcheck: time 0.880: disk /u1/local/httpd/htdocs/biology/wadsworth OK
selfcheck: time 0.880: amdevice /u1/local/httpd/htdocs/biology/wadsworth OK
selfcheck: time 0.880: device /dev/rdsk/c5t12d0s0 OK
selfcheck: time 0.881: checking disk /u1/local/httpd/htdocs/biology/nambu
selfcheck: time 0.896: device /dev/rdsk/c5t11d0s3
selfcheck: time 0.896: disk /u1/local/httpd/htdocs/biology/nambu OK
selfcheck: time 0.896: amdevice /u1/local/httpd/htdocs/biology/nambu OK
selfcheck: time 0.897: device /dev/rdsk/c5t11d0s3 OK
selfcheck: time 0.897: checking disk /u1/local/httpd/htdocs/biology/langford
selfcheck: time 0.917: device /dev/rdsk/c6t2d0s3
selfcheck: time 0.917: disk /u1/local/httpd/htdocs/biology/langford OK
selfcheck: time 0.917: amdevice /u1/local/httpd/htdocs/biology/langford OK
selfcheck: time 0.917: device /dev/rdsk/c6t2d0s3 OK
selfcheck: time 0.918: checking disk /u1/local/httpd/htdocs/biology/kunkel
selfcheck: time 0.932: device /dev/rdsk/c4t8d0s0
selfcheck: time 0.932: disk /u1/local/httpd/htdocs/biology/kunkel OK
selfcheck: time 0.932: amdevice /u1/local/httpd/htdocs/biology/kunkel OK
selfcheck: time 0.932: device /dev/rdsk/c4t8d0s0 OK
selfcheck: time 0.933: checking disk /u1/local/httpd/htdocs/biology/karlstrom
selfcheck: time 0.940: device /dev/rdsk/c5t9d0s4
selfcheck: time 0.941: disk /u1/local/httpd/htdocs/biology/karlstrom OK
selfcheck: time 0.941: amdevice /u1/local/httpd/htdocs/biology/karlstrom OK
selfcheck: time 0.941: device /dev/rdsk/c5t9d0s4 OK
selfcheck: time 0.941: checking disk /u1/local/httpd/htdocs/biology/caicedo
selfcheck: time 0.961: device /dev/rdsk/c6t1d0s3
selfcheck: time 0.961: disk /u1/local/httpd/htdocs/biology/caicedo OK
selfcheck: time 0.961: amdevice /u1/local/httpd/htdocs/biology/caicedo OK
selfcheck: time 0.961: device /dev/rdsk/c6t1d0s3 OK
selfcheck: time 0.962: checking disk /u1/local/httpd/htdocs/biology/bemis
selfcheck: time 0.967: device /dev/rdsk/c4t0d0s3
selfcheck: time 0.967: disk /u1/local/httpd/htdocs/biology/bemis OK
selfcheck: time 0.967: amdevice /u1/local/httpd/htdocs/biology/bemis OK
selfcheck: time 0.967: device /dev/rdsk/c4t0d0s3 OK
selfcheck: time 0.968: checking disk /u1/local/httpd/htdocs/biology/baskin
selfcheck: time 0.992: device /dev/rdsk/c5t14d0s0
selfcheck: time 0.992: disk /u1/local/httpd/htdocs/biology/baskin OK
selfcheck: time 0.992: amdevice /u1/local/httpd/htdocs/biology/baskin OK
selfcheck: time 0.992: device /dev/rdsk/c5t14d0s0 OK
selfcheck: time 0.993: checking disk /u1/local/httpd/htdocs.ssl/pipeline
selfcheck: time 1.143: device /dev/rdsk/c6t1d0s0
selfcheck: time 1.144: disk /u1/local/httpd/htdocs.ssl/pipeline OK
selfcheck: time 1.144: amdevice /u1/local/httpd/htdocs.ssl/pipeline OK
selfcheck: time 1.144: device /dev/rdsk/c6t1d0s0 OK
selfcheck: time 1.144: checking disk /u1/local/httpd
selfcheck: time 1.147: device /dev/rdsk/c0t8d0s7
selfcheck: time 1.147: disk /u1/local/httpd OK
selfcheck: time 1.147: amdevice /u1/local/httpd OK
selfcheck: time 1.147: device /dev/rdsk/c0t8d0s7 OK
selfcheck: time 1.148: checking disk /u1
selfcheck: time 1.150: device /dev/rdsk/c0t8d0s4
selfcheck: time 1.150: disk /u1 OK
selfcheck: time 1.150: amdevice /u1 OK
selfcheck: time 1.150: device /dev/rdsk/c0t8d0s4 OK
selfcheck: time 1.151: checking disk /var/mail
selfcheck: time 1.154: device /dev/rdsk/c0t9d0s7
selfcheck: time 1.155: disk /var/mail OK
selfcheck: time 1.155: amdevice /var/mail OK
selfcheck: time 1.155: device /dev/rdsk/c0t9d0s7 OK
selfcheck: time 1.155: checking disk /var/adm/archive
selfcheck: time 1.159: device /dev/rdsk/c0t9d0s3
selfcheck: time 1.159: disk /var/adm/archive OK
selfcheck: time 1.159: amdevice /var/adm/archive OK
selfcheck: time 1.159: device /dev/rdsk/c0t9d0s3 OK
selfcheck: time 1.159: checking disk /var/adm
selfcheck: time 1.161: device /dev/rdsk/c0t0d0s5
selfcheck: time 1.161: disk /var/adm OK
selfcheck: time 1.161: amdevice /var/adm OK
selfcheck: time 1.161: device /dev/rdsk/c0t0d0s5 OK
selfcheck: time 1.161: checking disk /usr/local
selfcheck: time 1.163: device /dev/rdsk/c0t0d0s6
selfcheck: time 1.163: disk /usr/local OK
selfcheck: time 1.164: amdevice /usr/local OK
selfcheck: time 1.164: device /dev/rdsk/c0t0d0s6 OK
selfcheck: time 1.164: checking disk /
selfcheck: time 1.165: device /dev/rdsk/c0t0d0s3
selfcheck: time 1.165: disk / OK
selfcheck: time 1.165: amdevice / OK
selfcheck: time 1.166: device /dev/rdsk/c0t0d0s3 OK
selfcheck: time 1.209: pid 197 finish time Mon Apr 14 15:00:03 2008



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