Bug#712719: cups: CUPS printing broken in Wheezy (Unable to get printer status)

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#712719: cups: CUPS printing broken in Wheezy (Unable to get printer status)

Tony Godshall
I am having the same problem as Oriol Mula-Valls,
tho in my case the host in question is a freshly installed
squeeze host and the remote machine is a CentOS box
that has been running for years.  The remote queue is raw.

I did this:

   1. Delete (or move) /var/log/cups/error_log.

   2. Enable debug logging with

           cupsctl --debug-logging

   3. Restart cups with

           service cups restart

   4. Print

The result is that the job hangs in the queue,
and visiting http://localhost:631/printers/PU-ipp
shows "Unable to get printer status."

I'm attaching the error_log.

This occurs when the /etc/cups/printers.conf is
configured for the remote printer to have a
DeviceURI in the form

  ipp://printserver-ip/printers/printername

and it goes away when it is

  socket://printer-ip-address:9100/

--
Best Regards.
This is unedited.

error_log.gz (45K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#712719: cups: CUPS printing broken in Wheezy (Unable to get printer status)

Brian Potkin-2
Hello Tony,

Thank you for the error_log; it is very useful.


On Fri 21 Feb 2014 at 15:04:04 -0800, Tony Godshall wrote:

> I am having the same problem as Oriol Mula-Valls,

I doubt it. :), Please see

   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736942 ,

where Oriol's issue was resolved.

> tho in my case the host in question is a freshly installed
> squeeze host and the remote machine is a CentOS box

Are you sure the host is running Squeeze? From the error_log

   D [21/Feb/2014:14:48:48 -0800] [CGI] envp[11] = "SOFTWARE=CUPS/1.5.3"

This indicates a Wheezy version of cups.

[Snip]

> The result is that the job hangs in the queue,
> and visiting http://localhost:631/printers/PU-ipp
> shows "Unable to get printer status."

A possible ipp backend problem.

> I'm attaching the error_log.
>
> This occurs when the /etc/cups/printers.conf is
> configured for the remote printer to have a
> DeviceURI in the form
>
>   ipp://printserver-ip/printers/printername

Please try

    ipp14://printserver-ip/printers/printername


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Bug#712719: cups: CUPS printing broken in Wheezy (Unable to get printer status)

Brian Potkin-2
On Sun 23 Feb 2014 at 13:16:37 +0000, Brian Potkin wrote:

> Please try
>
>     ipp14://printserver-ip/printers/printername

Hello again Tony.

Can we assume that the suggestion above solves your problem?

Regards,

Brian.


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Bug#712719: cups: CUPS printing broken in Wheezy (Unable to get printer status)

Tony Godshall
Hi Brian.

1. Yes, I miswrote.  Wheezy, not Squeeze.  (Fresh install, why would
it be Squeeze!?  Argh.)

2. I'll try it.  But no don't assume yet.  What I did do, and has been
a satisfactory workaround, was switch to lpd://printserver/queue .

3. Is the ipp14 documented in a manpage or guide someplace?

Thanks, BTW!

Tony


On Thu, Feb 27, 2014 at 8:21 AM, Brian Potkin <[hidden email]> wrote:

> On Sun 23 Feb 2014 at 13:16:37 +0000, Brian Potkin wrote:
>
>> Please try
>>
>>     ipp14://printserver-ip/printers/printername
>
> Hello again Tony.
>
> Can we assume that the suggestion above solves your problem?
>
> Regards,
>
> Brian.



--
--
Best Regards.
This is unedited.


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Bug#712719: cups: CUPS printing broken in Wheezy (Unable to get printer status)

Brian Potkin-2
On Thu 27 Feb 2014 at 09:11:44 -0800, Tony Godshall wrote:

> Hi Brian.

Hi Tony. Thanks for getting back to us so soon.

> 1. Yes, I miswrote.  Wheezy, not Squeeze.  (Fresh install, why would
> it be Squeeze!?  Argh.)

You wouldn't believe the number of 'Arghs' I have encountered in my
Adventures with Debian.

> 2. I'll try it.  But no don't assume yet.  What I did do, and has been
> a satisfactory workaround, was switch to lpd://printserver/queue .

I think using lpd might be seen as a workaround, whereas ipp14 is a
solution in the Debian context. My only reservation is that you are
connecting to a CentOS server and I for one do not fancy debugging that
interaction. If it comes to it you might have to submit a fresh bug
report.
 
> 3. Is the ipp14 documented in a manpage or guide someplace?

It is documented in the cups changelog.Debian.gz. Till Kamppeter also
gave a good explanation in Message #44 in this thread.

Cheers,

Brian.


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]