View Full Version : No LPR command defined (3.4.1-1Debian81_amd64.deb)

January 5th, 2017, 11:15 PM
when using lbl-templ in amanda.conf amcheck gives this error:

ERROR: lbl-templ set but no LPR command defined. You should reconfigure amanda
and make sure it finds a lpr or lp command.

Would be nice to make this working again!

January 6th, 2017, 04:57 AM
You can update the LPR and LPRFLAG setting in perl/Amanda/Constants.pm.
I have:

$LPR = "/usr/bin/lpr";
$LPRFLAG = "-P";

January 6th, 2017, 09:57 AM
Thanks a lot for the hint, but it does not make a difference with amcheck. Still the same error :(

January 6th, 2017, 10:02 AM
There is no way to fix amcheck without recompiling amanda.
but amreport should be able to print the label

January 11th, 2017, 05:10 AM
Too bad. We use amcheck with the mail option. Without LPR we get an error and amcheck sends an appropriate mail.

Is there a script or readme anywhere how to reconfigure/recompile amanda?