Amanda-Users

Re: "Unable to create temporary directory" message

2004-02-11 18:40:57
Subject: Re: "Unable to create temporary directory" message
From: Eric Siegerman <erics AT telepres DOT com>
To: Amanda users <amanda-users AT amanda DOT org>
Date: Wed, 11 Feb 2004 18:39:11 -0500
On Wed, Feb 11, 2004 at 05:16:59PM -0600, Fran Fabrizio wrote:
> ? Unable to create temporary directory in any of the directories listed 
> below:
> [...]

It's ufsdump saying this.  The leading "?"'s are a clue -- Amanda
prepends them to messages from the dump program that it doesn't
recognize (they ultimately appear in the report message, labelled
as "strange").  I confirmed it by finding the message in the
output of "strings /usr/sbin/ufsdump".

I don't know why it's happening.  Does ufsdump run as the Amanda
user or as root?  (Check the first couple of lines on one of the
sendbackup.* debug files).  If the former, well, you've checked
that that should be ok.  If it's root -- about the only reasons I
can think of that root couldn't create a file is if the
filesystem's mounted readonly (totally bogus for /tmp of course!)
or NFS-mounted and the permissions don't allow *world* write
(again very weird for /tmp and probably broken, but just barely
conceivable).

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        erics AT telepres DOT com
|  |  /
It must be said that they would have sounded better if the singer
wouldn't throw his fellow band members to the ground and toss the
drum kit around during songs.
        - Patrick Lenneau