Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 02-22-2005, 02:38 PM   #1
Senior Member
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Cups misbehaving

I have recently upgraded Cups (cupsys and cupsd, plus the foomatic* packages) and Firestarter to the current versions in Sarge; only to find that Cups is now behaving quite strangely.

A new printer can be installed, and a test page printed. However, from here on neither root nor any user can print to that printer (error: "client-error-not-possible"). Connections to the ip address of the printer are set to 'allow' in Firestarter, and no unexpected hits are seen in the logs.

One possible clue is that while the printers are all listed correctly by KDEPrint, on attempting to restart the Cups server the error "Error: Connection refused." Restarting Cups via /etc/init.d/cupsys restart works fine however.

Overal setup is: Sarge, 2.4.27-1-686 kernel, HP4200N printer (however same problem with other HP printers on the network).

Any thoughts ?


Old 02-22-2005, 03:37 PM   #2
Dead Parrot
Senior Member
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
I've been able to solve some minor CUPS problems on my local printer by changing the LogLevel to debug in /etc/cups/cupsd.conf and then checking /var/log/cups/error_log . CUPS is a complex system and I don't understand much about it but the error messages in the log file pointed out where the problem was and helped to figure out what I needed to fix to get my printer working.
Old 02-22-2005, 04:11 PM   #3
Senior Member
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Original Poster
Rep: Reputation: 45
Solved :)

Your suggestion of setting the debug level a bit higher worked - many thanks. KDEPrint was attempting to connect to Cups as user "", which unsurprisingly didn't get very far. Adding root to the users allowed to print seems to have solved it, though I've never come across this before. From the KDE Cups docs...
The server must initially be run as root, to support the default IPP of port 631. It changes users whenever an external program is run.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sed misbehaving? linmix Programming 9 12-04-2005 10:43 AM
A misbehaving ad - Firefox 1.0.7 Orkie LQ Suggestions & Feedback 3 10-27-2005 04:10 PM
ndiswrapper Broadcome wireless misbehaving... tahiche Linux - Wireless Networking 1 10-10-2005 09:46 AM
flashdrive misbehaving linmix Linux - Hardware 9 02-06-2005 04:32 AM
Why is my samba misbehaving? sapphos Linux - Networking 4 10-11-2003 02:27 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration