Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-09-2004, 02:01 AM   #1
Registered: Dec 2001
Location: California, USA
Distribution: Ubuntu, Debian
Posts: 118

Rep: Reputation: 15
CUPS issues

I updated to the latest version of CUPS a couple of weeks ago, but didn't reboot
the box until this morning, when some process locked up X. Since
rebooting, I can't print to my local printers from apps which normally
print without any problems.

It's not a cupsd.conf problem, because I can bring up the browser
interface (localhost:631) and print test pages, add and delete printers,
etc. But if I try to print from an application....nada.

This is what happens when I try to run a print job from a DOS app running
in DOSemu - usually works fine:

[rcs@officebox: ~]$ xdos &
kernel CPU speed is 1300000099 Hz
Running on CPU=586, FPU=1
lpr: unable to print file: server-error-service-unavailable
lpr: unable to print file: server-error-service-unavailable

This is what I get when trying to print off a web page in Firefox:
[rcs@officebox: ~]$ /usr/local/firefox/firefox &
[2] 2379
[rcs@officebox: ~]$ lpr: error - scheduler not responding!

This happens even if I run Firefox (or xdos) as root, so it's not a
permissions problem.

This is running on an updated Mandrake 9.2 machine. If I try to use
Mandrake's printer configuration utility, I get an error message from
lpstat about not being able to connect to the server.

Yes, I did Google it. Most of the issues there dealt with configuration
problems involving network or Samba printers...neither of which apply

I'm using the CUPS versions of the lp utilities - they're all symlinked to
the lp*-cups versions.

Anyone seen this before and have a clue? None of the previous problems
I've had with CUPS (like running LPRng at the same time) apply any more.

Old 11-09-2004, 03:36 AM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
Is the cupsd daemon running?
Old 11-09-2004, 11:52 AM   #3
Registered: Dec 2001
Location: California, USA
Distribution: Ubuntu, Debian
Posts: 118

Original Poster
Rep: Reputation: 15
Originally posted by jschiwal
Is the cupsd daemon running?

[root@officebox: /etc/rc.d/init.d]$ ps aux | grep cups
root 1525 0.0 0.2 5232 2204 ? S Nov08 0:00 cupsd
root 9021 0.0 0.0 1824 592 pts/0 R 08:54 0:00 grep cups
Old 11-09-2004, 01:14 PM   #4
Registered: Dec 2001
Location: California, USA
Distribution: Ubuntu, Debian
Posts: 118

Original Poster
Rep: Reputation: 15
OK, all fixed. There was a typo in the /etc/cups/client.conf file. I had changed the hostname of the server, and there was a letter missing in the servername definition in that file.



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
HP DeskJet 3520 / Linux / CUPS Issues? mindfrost82 Linux - Hardware 29 03-06-2005 03:11 PM
Help with cups and USB issues. alek66 Slackware 11 02-03-2005 10:08 AM
Redhat 9 printer issues with CUPS and GIMP-PRINT jonthelam Linux - Hardware 2 07-04-2004 07:48 AM
ALSA and CUPS issues Aman9090 Slackware 11 12-20-2003 05:44 AM
Printing issues with cups/samba MDK9.2 mortalic Linux - Networking 0 10-16-2003 07:19 PM

All times are GMT -5. The time now is 02:50 PM.

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