On Friday 16 November 2018 11:44:40 Chris Nighswonger wrote: > On Fri, Nov 16, 2018 at 11:36 AM Gene Heskett <[email protected]> wrote: > > On Friday 16 November 2018 08:43:05 Chris Nighswonger wrote: > > > Just to get this into the archives: > > > > > > Running '/usr/lib/amanda/planner backup_job' provides immediate > > > insight into how the planner is thinking at that point-in-time. > > > > For me, that ought to be /usr/local/lib/amanda/planner, but its not > > there? > > Maybe use some variation of > > find /usr -name 'planner' > > to dig it up? > from amanda as usr, find /usr/local -name 'planner' returns that its in /usr/local/libexec/amanda/planner Now I'll find out (maybe) what it thinks of my changes. Ignore that faint knocking sound. :) But I assumed you meant backup_job was your config dir, in my case /usr/local/etc/amanda/Daily so it failed. Trying full path to Daily. Or cd to it. Didn't work. This is error exit:
planner: CONFIGURE_ARGS=" '--with-user=amanda' '--with-group=disk' '--with-owner=amanda' '--with-gnu-ld' '--prefix=/usr/local/' '--with-debugging=/tmp/amanda-dbg/' '--with-tape-server=coyote' '--with-bsdtcp-security' '--with-amandahosts' '--with-configdir=/usr/local/etc/amanda' '--enable-manpage-build' '--with-readline' '--with-gnutar=/bin/tar' '--with-security-file=/etc/amanda-security.conf' '--with-amandates-file=/etc/amandates'" planner: could not open log file (null): Bad address That logdir is defined in my wrapper script by its reading of gene.conf in the wrappers directory, and is only used to hold a report email, mailed to me after the wrapper script has finished and contains only the report from backup.sh, nothing from amanda itself. The output of backup.sh is all the gets to that file AFAIK. Yet the script works, while the planner exits, complaining of a null log address. Do I need to define a logdir in my build config so its builtin? Frankly it sounds like something the radar would miss and I'd wind up with a 500GB logdir in 6 months. Greping thru the $config dir, it is defined in amanda.conf, and amanda maintains that, nukeing the old files handily. So once again I am confuzzled. Something isn't right, but no clue what it might be... defining logdir, then running it, changes nothing and $logdir after the failure is still: amanda@coyote:/usr/local/etc/amanda/Daily$ echo $logdir /usr/local/var/amanda I do believe I have a genuine puzzle here... > Not sure where else to tell you to look. > > Kind regards, > Chris 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>
