[cups.general] CUPS not working, appears to be in tight loop in log file

Michael R Sweet msweet at apple.com
Wed Feb 4 08:45:00 PST 2009


Brent Lowe wrote:
> Version: 1.1.22
> O/S Version = Redhat EL ES release 4

OK, that version of CUPS is ancient and has lots of patches applied
to it by Red Hat; you are probably better off talking with Red Hat
on this issue, since I do not remember any specific issues like this
in 1.1.x (we have seen them in 1.3.x due to the new cupsdDoSelect
implementation...)

> CUPS was installed with the OS
> I am just trying to print like normal.  From the command line with lp to multiple printers over ipp.  Note everything was working up until yesterday.
> 
> If I do a strace lp command I get the following:
> 
> 
> ....
> send(3, "POST / HTTP/1.1\r\n", 17, 0)   = 17
> send(3, "Content-Length: 135\r\n", 21, 0) = 21
> send(3, "Content-Type: application/ipp\r\n", 31, 0) = 31
> send(3, "Host: localhost\r\n", 17, 0)   = 17
> send(3, "\r\n", 2, 0)                   = 2
> time(NULL)                              = 1233752519
> send(3, "\1\1@\2\0\0\0\1", 8, 0)        = 8
> time(NULL)                              = 1233752519
> send(3, "\1G\0\22attributes-charset\0\5utf-8", 29, 0) = 29
> time(NULL)                              = 1233752519
> send(3, "H\0\33attributes-natural-language\0\5"..., 37, 0) = 37
> time(NULL)                              = 1233752519
> send(3, "D\0\24requested-attributes\0\fprinter"..., 60, 0) = 60
> time(NULL)                              = 1233752519
> send(3, "\3", 1, 0)                     = 1
> recv(3,
> 
> 
> So lp is just hanging on the receive.  If I do a tail -f error.log during this time, the log is just looping with the original message I posted...
> 
> 
> 
> 
> 
>> Brent Lowe wrote:
>>> Don't believe my first post went through.  I  installed splix last night to
>>> print via a Dell Windows Shared Printer from Linux.  This worked great.
>>> Today I am unable to print anything.  What I'm seeing in the log is the
>>> following:
>>  > ...
>>> This loops for about 300 seconds and then appears to timeout.  At which point
>>> CUPS is stopped(aborted?).  This loop occurs anytime I try to do anything
>>> related to printing... i.e. lp, lpq, etc...
>>>
>>> Any help would be appreciated.  Please let me know if I can provide more
>>> details.
>> What version of CUPS are you using?
>>
>> What Linux distribution are you using?
>>
>> What protocol are you using from the Linux system (in the device URI
>> for the printer) - smb, lpd, ipp?
>>
>> Did you compile CUPS from source or install a binary package?
>>
>> --
>> ______________________________________________________________________
>> Michael R Sweet                        Senior Printing System Engineer
>>
> 
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups


-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups mailing list