Results 1 to 5 of 5

Thread: No LPR command defined (3.4.1-1Debian81_amd64.deb)

  1. #1

    Default No LPR command defined (3.4.1-1Debian81_amd64.deb)

    Hi,
    when using lbl-templ in amanda.conf amcheck gives this error:

    Code:
    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!
    Ingo

  2. #2
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    1,016

    Default

    You can update the LPR and LPRFLAG setting in perl/Amanda/Constants.pm.
    I have:
    Code:
    $LPR = "/usr/bin/lpr";
    $LPRFLAG = "-P";

  3. #3

    Default

    Thanks a lot for the hint, but it does not make a difference with amcheck. Still the same error

  4. #4
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    1,016

    Default

    There is no way to fix amcheck without recompiling amanda.
    but amreport should be able to print the label

  5. #5

    Default

    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •