News

Donate

Amount


Sponsor

hetzner.de

Languages


Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
snvvOffline
Post subject: CUPS bugs  PostPosted: May 02, 2009 - 02:44 PM



Joined: May 28, 2007

Posts: 988

Status: Offline
When I try to print a test page from KDE Control Module

      Quote:
cupsdoprint -P 'E240_lexmark' -J 'KDE Print Test' -H '/var/run/cups/cups.sock:631' -U 'root' -o ' multiple-document-handling=separate-documents-uncollated-copies orientation-requested=3' '/usr/share/apps/kdeprint/testprint.ps' : execution failed with message:
client-error-not-authorized


and from the web interface I got
      Quote:
E [02/May/2009:16:29:22 +0300] cupsdAuthorize: pam_authenticate() returned 7 (Authentication failure)!
E [02/May/2009:16:29:51 +0300] cupsdAuthorize: pam_authenticate() returned 7 (Authentication failure)!
E [02/May/2009:16:30:09 +0300] Pause-Printer: Unauthorized
E [02/May/2009:16:30:18 +0300] Pause-Printer: Unauthorized
E [02/May/2009:16:30:27 +0300] Resume-Printer: Unauthorized
E [02/May/2009:16:30:33 +0300] Resume-Printer: Unauthorized


Then I did lppasswd -a username and I used the same password as the root but no solution.

Finally, I start reading about bugs:
cups fails to print on polled printers with client-error-not-authorized
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520396

cups dies upon printing *any* document
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524201

upgrade from lenny to squeeze - cups doesn't print because rastertogutenprint.5.2 is missing
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522428

I think those bugs should affect a lot of people.
Is it possible to print somehow?

Regards
snvv
 
 View user's profile Send private message  
Reply with quote Back to top
dsmithhfxOffline
Post subject:   PostPosted: May 02, 2009 - 04:32 PM



Joined: May 02, 2008

Posts: 324

Status: Offline
Printing works fine here. I just d-u'd yesterday (AFAIK it was working before that)...

edit: just remembered that I have had recurring password issues in the CUPS web interface itself, that usually disappear after a reboot. However this does not appear to affect normal printing from applications.
 
 View user's profile Send private message  
Reply with quote Back to top
HarzG
Post subject: Re: CUPS bugs  PostPosted: May 02, 2009 - 05:42 PM



Joined: Dec 04, 2006

Posts: 298

      snvv wrote:
and from the web interface I got
      Quote:
E [02/May/2009:16:29:22 +0300] cupsdAuthorize: pam_authenticate() returned 7 (Authentication failure)!
E [02/May/2009:16:29:51 +0300] cupsdAuthorize: pam_authenticate() returned 7 (Authentication failure)!
E [02/May/2009:16:30:09 +0300] Pause-Printer: Unauthorized
E [02/May/2009:16:30:18 +0300] Pause-Printer: Unauthorized
E [02/May/2009:16:30:27 +0300] Resume-Printer: Unauthorized
E [02/May/2009:16:30:33 +0300] Resume-Printer: Unauthorized


I use https://localhost:631/
What do you use?

_________________
Sorrie abaut mai inglisch. Maebi ju oll ken tietsch mie better.
 
 View user's profile Send private message  
Reply with quote Back to top
DeepDayzeOffline
Post subject: Re: CUPS bugs  PostPosted: May 02, 2009 - 07:14 PM



Joined: Dec 02, 2006

Posts: 2476

Status: Offline
      HarzG wrote:
      snvv wrote:
and from the web interface I got
      Quote:
E [02/May/2009:16:29:22 +0300] cupsdAuthorize: pam_authenticate() returned 7 (Authentication failure)!
E [02/May/2009:16:29:51 +0300] cupsdAuthorize: pam_authenticate() returned 7 (Authentication failure)!
E [02/May/2009:16:30:09 +0300] Pause-Printer: Unauthorized
E [02/May/2009:16:30:18 +0300] Pause-Printer: Unauthorized
E [02/May/2009:16:30:27 +0300] Resume-Printer: Unauthorized
E [02/May/2009:16:30:33 +0300] Resume-Printer: Unauthorized


I use https://localhost:631/
What do you use?


That works...if you add a security exception to it in iceweasel
 
 View user's profile Send private message  
Reply with quote Back to top
dsmithhfxOffline
Post subject:   PostPosted: May 02, 2009 - 10:05 PM



Joined: May 02, 2008

Posts: 324

Status: Offline
I use just plain http://localhost:631.
 
 View user's profile Send private message  
Reply with quote Back to top
snvvOffline
Post subject: Re: CUPS bugs  PostPosted: May 03, 2009 - 02:29 AM



Joined: May 28, 2007

Posts: 988

Status: Offline
      HarzG wrote:

I use https://localhost:631/
What do you use?


I used http. I tried https too with same results.

Eventually, I purged cups and re-installed it.
Now I can login in the cups interface using my user ID and password.

DeepDayze thanks for the https tip. Its not necessary but it safer.
 
 View user's profile Send private message  
Reply with quote Back to top
piperOffline
Post subject: RE: Re: CUPS bugs  PostPosted: May 03, 2009 - 02:28 PM
Team Member


Joined: Nov 27, 2006
Buffalo, NY
Posts: 2229

Status: Offline
      Quote:

Its not necessary but it safer


It has always been recommended to use http://localhost:631/ for setting up printers.
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
slamOffline
Post subject: Re: CUPS bugs  PostPosted: May 03, 2009 - 02:34 PM
Team Member


Joined: Nov 24, 2006
w3
Posts: 3779

Status: Offline
      snvv wrote:
Its not necessary but it safer.

Please explain why to access your own localhost via https is "safer" than via http. (??)
Greetings,
Chris

_________________
an operating system must operate - sidux.com
development is life - code.zikula.org
my sidux repo - w3you.com
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
CaesarTjalboOffline
Post subject: Re: CUPS bugs  PostPosted: May 03, 2009 - 11:01 PM



Joined: Dec 01, 2007

Posts: 415

Status: Offline
      slam wrote:
      snvv wrote:
Its not necessary but it safer.

Please explain why to access your own localhost via https is "safer" than via http. (??)
Greetings,
Chris
Because between chair and keyboard, the user is "the man in the middle". Can't trust them!

Wink
 
 View user's profile Send private message  
Reply with quote Back to top
slamOffline
Post subject: RE: Re: CUPS bugs  PostPosted: May 04, 2009 - 07:20 AM
Team Member


Joined: Nov 24, 2006
w3
Posts: 3779

Status: Offline
By the way, the Lexmark E240 does support PCL6 and therfore works directly out of the box with sidux, simply select the PCL6 driver at http://localhost:631
Do not install any "drivers" directly from Lexmark!
Greetings,
Chris

_________________
an operating system must operate - sidux.com
development is life - code.zikula.org
my sidux repo - w3you.com
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
snvvOffline
Post subject:   PostPosted: May 04, 2009 - 08:10 AM



Joined: May 28, 2007

Posts: 988

Status: Offline
I tried in the past the lexmark drivers and it was a total failure. Never again.

I use a driver from OpenPrinting database which essentially is the same with one you propose.

I had a look in manual. In http://manual.sidux.com/en/sys-admin-gen-en.htm#cups described exactly what I did to solve the problem. Therefor, as a general rule in case of any problem the first thing is to read the manual. It could save 3 or more hours of searching for a solution Smile
 
 View user's profile Send private message  
Reply with quote Back to top
UncleDeadleyOffline
Post subject:   PostPosted: May 18, 2009 - 04:00 AM



Joined: Dec 02, 2006

Posts: 327

Status: Offline
Set up: two uptodate sidux machines on the same LAN. one desktop (named senf) with usb printer, which is published and shared. desktop prints just fine to the printer. The laptop can see the shared printer when looking at localhost:631, but the laptop can no longer send jobs to the shared printer, as it did prior to dist-upgrade. Cups error_log on the desktop shows no errors. Cups error_log on the notebook says:
      Code:
E [17/May/2009:22:30:06 -0500] PID 4473 (/usr/lib/cups/backend/ipp) stopped with status 4!
E [17/May/2009:22:30:06 -0500] [Job 48] Unable to locate printer 'Senf.local'!
E [17/May/2009:22:30:06 -0500] PID 4474 (/usr/lib/cups/backend/ipp) stopped with status 4!
E [17/May/2009:22:30:06 -0500] [Job 48] Unable to locate printer 'Senf.local'!


Seems like a bit of a contradiction. Any ideas?

Edit:

Ok- so the share functionality quit working like it used to- i.e. click share tab on cups web interface and then be able to print to the printer. However when I check the box on the web interface to allow printing from internet and add the printer to the laptop as http://192.168.1.102:631/printers/Monochrome_Samsung it works.

_________________
Watch it!! I'm the beautiful assistant!
 
 View user's profile Send private message  
Reply with quote Back to top
hubiOffline
Post subject:   PostPosted: Aug 02, 2009 - 09:37 PM



Joined: Nov 30, 2006
Wien
Posts: 4391

Status: Offline
@UncleDeadley

You saved my life!

But why the heck does cups not understand ipp anymore!

hubi

_________________
Bonitas stultitiaque sodales sunt.
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2009 The Zafenio Group
Credits