On Friday 16 November 2018 23:56:04 Nathan Stratton Treadway wrote:

> On Fri, Nov 16, 2018 at 19:31:15 -0500, Gene Heskett wrote:
> > /usr/local/libexec/amanda/planner Daily coyote PublicA*
>
> [...]
>
> > planner: could not open log file (null): Bad address
> >
> > So the above last line seems to be the showstopper
>
> This sort of error is what you get when you try start using yourself
> an "internal" utility -- there's a reason it's in the lib/amanda
> directory rather than the bin directory :)
>
> In Amanda 3.5's planner it seems a log file is required, but since the
> program is written under the asumption that it will always be called
> by the driver process, there is no error checking to make sure it's
> actually provided -- when it isn't, the program simply attempts to
> open a file using uninintialized variable for the filename....
>
> It seems the provided filename is used for writing to, so to avoid
> confusion I'm guessing the best idea is to just write to a temporary
> file unrelated to any log file that Amanda itself would create.
>
> So, for example, I got my Amanda 3.5.1 planner to run successfully
> using the command:
>
>   # su backup -c "/usr/lib/amanda/planner TestBackup --log-filename
> /tmp/testplanner.log"
>
> (where "backup" is the Amanda Unix user, and TestBackup is my Amanda
> config name)
>
And it works but because its doing real estimates, won't be done by the 
time the real run starts at 2:05. So I'll use a root htop and kill all 
amanda stuff by then. It did give me enough info before I killed it to 
show me I needed to adjust the includes to move some of the biggest to 
the smallest. Dunno if its enough till I look at the mail, after I've 
made a bit of sawdust.

Thanks Nathan, you've clarified that I can't query an individual dle 
except with a custom disklist. 
>
>                                               Nathan
>
>
> ----------------------------------------------------------------------
>------ Nathan Stratton Treadway  -  [email protected]  -  Mid-Atlantic
> region Ray Ontko & Co.  -  Software consulting services  -  
> http://www.ontko.com/ GPG Key:
> http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239 Key
> fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239



Copyright 2018 by Maurice E. Heskett
-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

Reply via email to