Error messages not stopping

Gordon gordonmc at cox.net
Tue Aug 7 07:37:23 PDT 2007


> Gordon wrote:
>
> >>> Help!
> >>>
> >>>
> >>> localhost - - [05/Aug/2007:14:02:55 -0700] "POST /printers/lj6p HTTP/1.1" 200 138 Get-Job-Attributes client-error-not-found
> >>
> >> That's a message from the access_log, not the page_log.
> >>
> >> As such, not an *error* message, but one that is to be expected. Com-
> >> pletely normal...
> >>
> >>
> >> --
> >> Kurt Pfeifle
> >> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS
> >> Infotec Deutschland GmbH  .....................  Hedelfinger Strasse 58
> >> A RICOH Company  ...........................  D-70327 Stuttgart/Germany
> >
> > I have over 24,000 of those messages since 9am. It stopped at 24,000
> > because I shut down cups. If I start it back up, the stream of logs just
> > grows again. That is not normal!
> >
> > I just want to figure out what the f**k is generating them.
>
> Prolly a misconfiguration of your Samba (assuming your 'print from Win-
> dows client' happens via Samba).
>
> > The print
> > queue is empty, no files in /var/spool/cups.
>
> If you print from Windows, and if your Samba setup is correct, the jobs
> would initially go to '/var/spool/samba' (or some other directory *dif-
> ferent* to CUPS' spooling area).
>
> Post the important parts of your Samba settings. For example, the output
> of
>
>    testparm -vs | grep -E "lp|cups|driver|print|spool"
>
> A first wild guess: your 'printcap cache time' may have a low value;
> set it to at least '600'.
>
>
> --
> Kurt Pfeifle
> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS
> Infotec Deutschland GmbH  .....................  Hedelfinger Strasse 58
> A RICOH Company  ...........................  D-70327 Stuttgart/Germany

Okay, I got the errors to stop by rebooting. Obviously something getting stuck in memory. If I try to send a print job, the errors start up again. Yes, windows will try to print and I don't get any error message on windows side.

Something is getting put in the samba spool directory and then  immediately deleted (the date on the directory changes when I send a print job), but nothing gets printed.

Here's the parts of the smb.conf:

Loaded services file OK.
Server role: ROLE_STANDALONE
        lpq cache time = 30
        load printers = Yes
        printcap cache time = 750
        printcap name =
        cups server =
        iprint server =
        disable spoolss = No
        addprinter command =
        deleteprinter command =
        show add printer wizard = Yes
        os2 driver map =
        printer admin =
        min print space = 0
        max reported print jobs = 0
        max print jobs = 1000
        printable = No
        printing = cups
        cups options = raw
        print command =
        lpq command = %p
        lprm command =
        lppause command =
        lpresume command =
        printer name =
        use client driver = No
        force printername = No
[printers]
        path = /var/spool/samba
        printable = Yes





More information about the cups mailing list