06.10.2024, 23:13 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
clubex
Titel: CUPS & Authentication  BeitragVerfasst am: 07.06.2006, 13:58 Uhr



Anmeldung: 30. Nov 2005
Beiträge: 91

Any one else experiencing problems with CUPS?

Normally all users can have access to the printer if CUPS is configured
via KDE's kprint with "all users allowed". But since the last two CUPS
upgrades I find that users have have to be explicitly named in order to
gain the use of the printer. (CUPS error log showed authenication
errors.)

As some have noticed there have also been problems with kscreensaver
not working. While I'm no expert I'm beginning to suspect there is an
issue between parts of KDE and PAM authentication.

Anyone like to comment?

edit: I should have added that I suspect kcontrol as my main suspect.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
clubex
Titel: RE: CUPS & Authentication  BeitragVerfasst am: 07.06.2006, 23:24 Uhr



Anmeldung: 30. Nov 2005
Beiträge: 91

From the lack of replies I must conclude I'm the only one experiencing
this problem. Oh well I guess I'll have to up the learning curve and
debug it myself!
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
drb
Titel:   BeitragVerfasst am: 08.06.2006, 08:01 Uhr



Anmeldung: 03. Jul 2004
Beiträge: 525

"All users allowed" OK with my dist-upgraded 2005-04.

drb

_________________
Kernel 2.6.21-slh-up-7
_____________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Richard
Titel:   BeitragVerfasst am: 08.06.2006, 17:51 Uhr



Anmeldung: 07. Nov 2005
Beiträge: 112
Wohnort: Venezuela
with easter-2006rc4 since a dist-upgrade in the last few days,
I've noticed that I can no longer get printed output, unless
I reboot in that other OS. It is very embarassing and usually
happens when someone is waiting impatiently for something.

Sometimes repairable in the Kde PrintManager even though
I was using IceWM. Also had to remove the tmp files from the
/var/spool/cups/ as root. Reboot and sometimes it would wake
up again. Usually when returning from Windows, after printing,
where it always worked. Traurig(

I'm sure I'm doing something incorrectly so I'll keep looking and
reading notes left by others who experience similar oddities.

_________________
kanotix-2006-01, 2.6.18.5-slh-up-1, IceWM, Krusader; P4, 2.8GHz, 512MB
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
hubi
Titel:   BeitragVerfasst am: 08.06.2006, 19:19 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
Following might help:

apt-get remove --purge cupsys
apt-get install cupsys cupsconfig-kanotix cupsys-driver-gutenprint hplip

Afterwards you might also change /etc/cups/cups.d/ports.conf this way:
Code:
Listen localhost:631
# Listen /var/run/cups/cups.sock


EDIT:
Next step is to restart cups:
# /etc/init.d/cupsys restart

I did it in init 3, went back to KDE with init 4 and reinstalled the printer (an HP Deskjet 5440 through USB).

EDIT2:
The newest cups does not have /etc/cups/cups.d/ports.conf anymore. The line which to comment is now in /etc/cups/cupsd.conf.

hubi

_________________


Zuletzt bearbeitet von hubi am 03.07.2006, 15:31 Uhr, insgesamt 2 Male bearbeitet
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
drb
Titel:   BeitragVerfasst am: 08.06.2006, 19:21 Uhr



Anmeldung: 03. Jul 2004
Beiträge: 525

I had to reinstall my printers after the recent cups upgrades a few days ago. Today's upgrade only allows me to add a printer that it finds connected. Printing works OK now.

drb

_________________
Kernel 2.6.21-slh-up-7
_____________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
gardyloo
Titel: HP Laser Jet  BeitragVerfasst am: 08.06.2006, 20:57 Uhr



Anmeldung: 14. Apr 2006
Beiträge: 60

Still problems here.

Haven't been able to print from Kanotix for the last several days (yes, yes, dist-upgrades almost every day).

Did the latest upgrade, no go. Followed hubi's instructions, with no improvements.
The documents seem to be sent to the printer correctly (green progress light blinks on the printer), but they never end up printing, and the printer's orange error light will blink, and other documents are blocked from being printed.

Any more suggestions? It's not a pressing issue (for me), as I can transfer things to a (gasp!) windows machine and print from there, but it'd be nice to get ironed out soonish.

Thanks!
C.O.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
drb
Titel:   BeitragVerfasst am: 08.06.2006, 21:14 Uhr



Anmeldung: 03. Jul 2004
Beiträge: 525

As I said above, I deleted my printers (this removes queued jobs as well) and reinstalled them and everything works fine. The way for printer identification appears to have changed.

drb

_________________
Kernel 2.6.21-slh-up-7
_____________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
hubi
Titel:   BeitragVerfasst am: 08.06.2006, 21:28 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
My printer was deleted after purging cupsys, so I also had to reinstall the printer. There was a new dialogue there about userrights, I just did not exclude anyone (just klicking through defaults).

It works with my desktop, it's a HP Deskjet 5440, connected through USB.

hubi

_________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
anticapitalista
Titel:   BeitragVerfasst am: 08.06.2006, 21:47 Uhr



Anmeldung: 23. Mai 2005
Beiträge: 174
Wohnort: Greece
I get the same problem as gardyloo, and that is after doing hubi and drb's suggestion.
My printer is an Epson Stylus C62

_________________
Philosophers have interpreted the world in many ways; the point is to change it.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
hubi
Titel:   BeitragVerfasst am: 08.06.2006, 21:57 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
anticapitalista,

I forgot to write that I had to restart cupsys:
# /etc/init.d/cupsys restart

Afterwards I installed the printer and the driver.

hubi

_________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
anticapitalista
Titel:   BeitragVerfasst am: 08.06.2006, 23:16 Uhr



Anmeldung: 23. Mai 2005
Beiträge: 174
Wohnort: Greece
I seem to have lost printers totally in kcontrol/peripherals even after # /etc/init.d/cupsys restart

_________________
Philosophers have interpreted the world in many ways; the point is to change it.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
gardyloo
Titel:   BeitragVerfasst am: 08.06.2006, 23:29 Uhr



Anmeldung: 14. Apr 2006
Beiträge: 60

Yeah, I also tried restarting cups, via the /etc/init.d/cupsys restart route, and there's a complaint of

Zitat:
cupsdcupsd: Child exited on signal 15!


Is CUPS itself pretty borked for a couple of days?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
markb
Titel:   BeitragVerfasst am: 08.06.2006, 23:40 Uhr



Anmeldung: 09. Aug 2004
Beiträge: 121
Wohnort: Brisbane Australia
Since an upgrade a few days ago my printer has stopped working exactly as gardyloo describes.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Richard
Titel:   BeitragVerfasst am: 08.06.2006, 23:43 Uhr



Anmeldung: 07. Nov 2005
Beiträge: 112
Wohnort: Venezuela
Yep. Removing the printer and reinstalling works.
Using Xfce and used
http://127.0.0.1:631/
in Firefox which is really nice. First time I actually used it.

Thanks for the tips.

_________________
kanotix-2006-01, 2.6.18.5-slh-up-1, IceWM, Krusader; P4, 2.8GHz, 512MB
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
hubi
Titel:   BeitragVerfasst am: 09.06.2006, 00:06 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
anticapitalista,

as Richard is pointing out as well, you have to reinstall the printers. cups seems to be under reconstruction, but I do not have detailed information about it.

There might be a working solution for the kde here:
http://www.cups.org/newsgroups.php?s864 ... l+v8644+T0

My entries are as stated, but I do not know if they were the same before my changes this morning.

hubi

_________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
michael7
Titel: Printing again!  BeitragVerfasst am: 09.06.2006, 00:38 Uhr



Anmeldung: 24. Mai 2005
Beiträge: 354
Wohnort: Nashville
I too lost the ability to print after a dist-upgrade some weeks ago. Today, I performed a d-u and can print again. Apparently the CUPS problem has been resolved.

michael

_________________
Debian Social Contract
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
clubex
Titel:   BeitragVerfasst am: 09.06.2006, 11:47 Uhr



Anmeldung: 30. Nov 2005
Beiträge: 91

I'm using the easter Preview Kanotix distro and dist-upgrade every day.

The CUPS upgrade of a few days ago required explicity naming users
able to access the printer. The printer drive also needed reinstalling.
Didn't restart CUPS although I think changing the driver via kcontrol->
kprint automatically restarts CUPS.

Yesterdays CUPS upgrade again required reinstalling the appropriate
printer driver via kcontrol->kprint.

In fact EVERY reboot requires reinstallation of the driver via kcontrol.

I suspect that most people print (as I do) via a KDE app and it's possible
that the CUPS problem is actually a KDE issue. eg CUPS config via KDE
is lost after a shutdown.

Since KDE went to 3.5.3 there have been some posts to the forum
concerning various config problems.
ie.
(a) kscreensaver confures and test OK but doesn't kick in whatever time
period is selected. (a problem which keeps cropping up after some KDE
upgrades.)
(b) Ksynaptics (don't use it myself so I can't comment)
(c) CUPS

I intend to have a look into this myself when time permits (annual holiday
looming) but in the meantime is anyone else experiencing difficulties when
configuring other peripherals via kcontrol?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
anticapitalista
Titel: RE: Printing again!  BeitragVerfasst am: 09.06.2006, 11:49 Uhr



Anmeldung: 23. Mai 2005
Beiträge: 174
Wohnort: Greece
Ok got it working. I had to uninstall cupsys and printers several times though before it would work.
Thanks Richard and hubi

_________________
Philosophers have interpreted the world in many ways; the point is to change it.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
jiro
Titel:   BeitragVerfasst am: 10.06.2006, 15:20 Uhr



Anmeldung: 27. Jun 2005
Beiträge: 258

gardyloo hat folgendes geschrieben::
Yeah, I also tried restarting cups, via the /etc/init.d/cupsys restart route, and there's a complaint of
Zitat:
cupsdcupsd: Child exited on signal 15!


Is CUPS itself pretty borked for a couple of days?


same problems over here (Epson CX3200). I think CUPS itself is messed up. This is what I get when trying to restart CUPS:

Code:

Unable to retrieve the printer list. Error message received from manager:
Connection to CUPS server failed. Check that the CUPS server is correctly installed and running. Error: the IPP request failed for an unknown reason.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
spacepenguin
Titel:   BeitragVerfasst am: 10.06.2006, 17:38 Uhr



Anmeldung: 10. Dez 2004
Beiträge: 597
Wohnort: Schleswig-Holstein
I too am not able to print anymore, I always have to mail my job applications to a friend to get them printed now... I am using the Easter RC 4 and a Canon IP 6000 D which only can print via turboprint (so I even cannot use the live cd to print). I tried reinstalling turboprint and the printer but I still am not able to print. Cups version is current. Any further suggestions?

_________________
Linux-Userin #213445
LastFM-Musikstatistik für Kanoten
Kanotix, siduction, Kubuntu, antiX
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
greybeard
Titel:   BeitragVerfasst am: 11.06.2006, 04:48 Uhr



Anmeldung: 03. Jan 2006
Beiträge: 10

Same problem here. The cups upgrade has broken printing on both of my printers (one parallel port and one USB). It seems to be some user, group, owner, or permission problem. But I have not been able to figure it out.

I've tried several combinations in the cupsd.conf file and would reinstall the printer in cups with each variation. I would sometimes get different error messages when trying to print a test page as root but they just end up in the printer queue.

Lucky for me, I imaged my drive. So I rolled it back to the stable point and can print once again.

I have read a couple of similar posts in the Redhat and Suse forums, so I don't think we are alone.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
gardyloo
Titel: Works now.. and I don't know why  BeitragVerfasst am: 11.06.2006, 20:07 Uhr



Anmeldung: 14. Apr 2006
Beiträge: 60

Yes, the Ubuntu/Mepis/whatever forums are full of similar complaints about CUPS.

Today I went in through the web interface (http://localhost:631/printers/), which has never worked for me before, and was able to add the printer successfully, and get it to print. Although I don't prefer the web interface, at least it's working. That makes me *suspect* that it's not CUPS itself, but KDEPrint. Is this totally wacky?


[edit]

OK, once that was set up (admittedly, it was set on LP/LPR print system via the web interface), I can now go in and change settings via KPrint. I can even change from LP/LPR to CUPS now. I don't get it, but I can live with it. Maybe this will help someone else. Hopefully, it'll get fixed soon Winken


Zuletzt bearbeitet von gardyloo am 11.06.2006, 23:20 Uhr, insgesamt ein Mal bearbeitet
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
piper
Titel:   BeitragVerfasst am: 11.06.2006, 22:31 Uhr
Team Member
Team Member


Anmeldung: 03. Mai 2005
Beiträge: 1544
Wohnort: out there somewhere
I guess i am in the same boat too, worked perfect before, now no luck, I will try the suggestions again (and again) just in case it is the jerk sitting in the chair.

_________________
h2's d-u script
h2's rdiff-backup script
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
anticapitalista
Titel: RE: Works now.. and I don  BeitragVerfasst am: 11.06.2006, 22:32 Uhr



Anmeldung: 23. Mai 2005
Beiträge: 174
Wohnort: Greece
I use Mepis and kanotix and can confirm that the fix posted above worked for me, and printing still works after reboot.

_________________
Philosophers have interpreted the world in many ways; the point is to change it.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.