On Tuesday 25 June 2013 11:02:02 Jean-Louis Martineau did opine:
On 06/21/2013 01:01 PM, Gene Heskett wrote:
Greetings;
A fresh startup for amanda, after nearly a years hiatus, but when I
ran a test backup a few hours ago, and the final report came out on a
MFP that I keep around for its scanner, but has had dried up and
plugged up nozzles in the printhead for near a year. So obviously I
got a blank sheet of paper.
Where does amanda keep its printer selection where there are 2 or more
available so I can fix this by sending it to a BW laser, the systems
default printer?
Thanks.
Cheers, Gene
$ man amanda.conf
printer string
Printer to use when doing tape labels. See the lbl-templ
tapetype
option.
Jean-Louis
I am not interested in tape labels Jean-Louis, but in the destination
printer that amreport uses to print that magic software report on.
I have the printer specified this way, as the next line under dumpuser in
my amanda.conf:
mailto g...@coyote.coyote.den
dumpuser amanda # the user to run dumps under
printer HL3170CDW
I am not getting the emails.
No place that I can find specifies the Epson printer, whose nozzles are
totally plugged, and which has now been turned off for 3 days, but amanda
is persistent in sending these reports to that printer, an Epson NX515.
From the cups screen at localhost:631:
▼ ID ▼ NameUserSizePages State Control
Epson_Stylus_NX515-358 (stdin) amanda 24k
Unknown pending since
Sun 23 Jun 2013 02:14:02 AM EDT
Epson_Stylus_NX515-361 (stdin) amanda 24k
Unknown pending since
Mon 24 Jun 2013 02:04:27 AM EDT
Epson_Stylus_NX515-362 (stdin) amanda 24k
Unknown pending since
Tue 25 Jun 2013 02:08:14 AM EDT
The proper printer even is returned by:
root@coyote:/home/amanda # amgetconf Daily printer
HL3170CDW
But nothing I have done, including rebooting and reverifying that the
default is still the HL2140, a BW laser, is still set as default.
I set the HL3170CDW in amanda.conf just so I wouldn't have to run to the
basement and clear out the table I have been assembling rockhoppers 6 page
poster diagrams of the logic flows configured in the Hardware Abstraction
Layer of LinuxCNC, describing my CNC'd lathes configuration.
The question is, how do I configure amanda to use the proper printer for
its amreport output? Every method so far has been an abject, dismal
failure.
FWIW, I tried to build the latest svn pull from the community downloads web
site, (which seems to have been abandoned as the last tar ball has a March
2013 creation date, and it will not build on a ubuntu 10.04.4 LTS (Lucid)
system due to some python lib dependency that is not available to me via
the normal repositories for Lucid LTS. My .newmanda script is running now
to recover the error. I note also that one of the patches I have been
using also fails, so I'll report that here also.
The patch failure is to planner.c that you sent me at least a year ago:
now su - amanda to unpack a fresh amanda-4.0.0alpha.svn.5199 tree from
amanda-4.0.0alpha.svn.5199.tar.gz srcs
copying the gh.gf master config file to amanda-4.0.0alpha.svn.5199
master config copied to amanda-4.0.0alpha.svn.5199/
patching file server-src/planner.c
Hunk #1 FAILED at 107.
Hunk #2 succeeded at 169 (offset 8 lines).
Hunk #3 succeeded at 733 (offset 77 lines).
Hunk #4 succeeded at 2622 (offset 94 lines).
Hunk #5 succeeded at 3021 with fuzz 1 (offset 121 lines).
Hunk #6 succeeded at 3108 (offset 122 lines).
Hunk #7 succeeded at 3133 (offset 125 lines).
Hunk #8 FAILED at 3018.
Hunk #9 succeeded at 3161 (offset 126 lines).
2 out of 9 hunks FAILED -- saving rejects to file server-src/planner.c.rej
So I would assume I can drop that patch.
The real error is:
libtool: link: gcc -Wall -Wextra -Wparentheses -Wdeclaration-after-
statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -
Wformat -Wformat-security -Wsign-compare -Wfloat-equal -Wold-style-
definition -Wno-strict-aliasing -Wno-unknown-pragmas -g -O2 -fno-strict-
aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o .libs/amindexd
amindexd.o disk_history.o list_dir.o -Wl,--export-dynamic -pthread
./.libs/libamserver.so /home/amanda/amanda-4.0.0alpha.svn.5199/device-
src/.libs/libamdevice.so ../device-src/.libs/libamdevice.so
/home/amanda/amanda-4.0.0alpha.svn.5199/xfer-src/.libs/libamxfer.so
/home/amanda/amanda-4.0.0alpha.svn.5199/ndmp-src/.libs/libndmlib.so
../common-src/.libs/libamanda.so ../amandad-src/.libs/libamandad.so
/home/amanda/amanda-4.0.0alpha.svn.5199/common-src/.libs/libamanda.so -
lcrypto /usr/lib/libcurl.so -lm /usr/lib/libgmodule-2.0.so
/usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lrt
/usr/lib/libglib-2.0.so -lnsl -lresolv -pthread -Wl,-rpath -
Wl,/usr/local/lib/amanda