Amanda-Users

Re: Amanda - unable to create temporary directory

2005-02-24 12:12:39
Subject: Re: Amanda - unable to create temporary directory
From: Jon LaBadie <jon AT jgcomp DOT com>
To: Amanda-Users <amanda-users AT amanda DOT org>
Date: Thu, 24 Feb 2005 10:55:05 -0500
On Thu, Feb 24, 2005 at 09:04:49AM -0500, Gil Naveh wrote:
> 
> Hello,
> 
> Amanda is successfully running on our Solaris Servers. But on Amanda's
> report (the E-mail it sends after amdump) I get the following STRANGE
> message:
> 
> ? Unable to create temporary directory in any of the directories listed
> below:
> ?     /tmp/
> ?     /var/tmp/
> ?     /
> 
> But when I manually accessed the server as Amanda user - I had no problem
> creating a folder under /tmp as well as /var/tmp/ !
> 
> Any thoughts why am I getting this message?
> Additionally, can somebody tell me what files does Amada writes under /tmp
> folder?

I replied to your earlier post on this topic but I don't see my response
in my archive of the list.

That message is not coming from amanda directly, but coming from ufsdump.

Now the question is why ufsdump, running for amanda, can't deal with those
directories.  I only had one possibility and have little confidence in it.

On my system /usr/sbin/ufsdump is a symbolic link to /usr/lib/fs/ufs/ufsdump.
The latter program is root-owned, set-uid.  Perhaps yours has been altered.

  $ ls -l /usr/lib/fs/ufs/ufsdump
  -r-sr-xr-x  1 root  bin   83820 Apr 12  2004 /usr/lib/fs/ufs/ufsdump


-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)