LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-04-2010, 10:28 AM   #1
Bertie
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
cups says its busy printing, cancel deletes one job but others keep materializing


For years cups on my four-hosts LAN has been very stable. Then I converted my Windows XP laptop to Puppy Linux. All went well until
I used the printer setup on Puppy. This overwrote the .conf files
on my Slackware cups server. Now, even with the puppy laptop removed
from ethernet my cups printing behaves as described in the subject
header. I deleted my printer (I have only one) and set everything up
again using only lpadmin (because I suspect the browser-based setup
on Puppy Linux caused the problem in the first place). and re-editing
printers.conf to what it was originally. - So now what to do?
Remove and re-install cups on the Slackware server? -At least I'll get
the latest version.
 
Old 05-04-2010, 01:43 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,765
Blog Entries: 4

Rep: Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697
When jobs can't print they are queued until they can.

You should have a look in /var/spool/cups to see if anything is queued there.

Also if you have other systems send print jobs to this server then those other systems queue the jobs locally and only send one job at a time.

If you look at what is currently queued you can determine the source of the job and if it is an IP go look at the server with that IP to determine how many more jobs it has queued. At that point you can cancel on that other server to remove all the jobs it would otherwise send to your print server one at a time.
 
Old 05-05-2010, 07:01 AM   #3
Bertie
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware
Posts: 4

Original Poster
Rep: Reputation: 0
I have Slackware 10.2 with cups 1.1.23. Things were OK until
I put a Puppy Linux PC on my LAN. I've taken it away now but
still I get nothing when I attempt to print (eg via enscript asciifile).
The printer's LEDs show its online. Also I can command escputil
to get, say, ink levels.
My default (and only) printer is D92. This is the response I get from lpstat -t
------------------------
scheduler is running
system default destination: D92
device for D92: http://optiplex:631/printers/D92
D92 accepting requests since Jan 01 00:00
printer D92 now printing D92-10. enabled since Jan 01 00:00
Waiting for job to complete...
D92-10 root 13312 Wed 05 May 2010 01:22:24 AM BST
D92-11 remroot 13312 Wed 05 May 2010 01:22:24 AM BST
-----------------------
I get this sort of thing even after restarting cups (/etc/rc.d/rc.cups restart) and
even after I have removed all files (lots) from /var/spool/cups
Why remroot? I have no such user or group.
 
Old 05-05-2010, 10:00 AM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,510

Rep: Reputation: 87
The "remroot" can come from the cups configuration files and can indicate that maybe another computer on your network is still trying to print some job.
I would try to delete all jobs on the server and on the cups clients ("cancel -a" as root) and see if the problem persists.
 
Old 05-05-2010, 03:23 PM   #5
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,765
Blog Entries: 4

Rep: Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697
Did you look in /var/spool/cups? As I noted earlier the jobs queued there will include information as to where they came from.

If your job is D92-10 then in /var/spool/cups you ought to see a couple of files for it like:
c10
d10-001

If you run a "strings c10" you should see among other things the following information:

job-originating-user-name
<someusername>

job-originating-host-name
<host ip address>!

As I noted previously the submitting host is apt to have other jobs queued waiting for the one currently hung to finish before queuing them to your print server.
 
  


Reply

Tags
cups, network printing, slackware


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing job stuck with CUPS 1.3 SVN-r5805 g4j31a5 Linux - Hardware 1 09-14-2006 08:33 PM
Cancel printing jobs Imerion Linux - Software 3 01-12-2005 03:07 PM
Can't cancel a print job........ soujrnr Linux - Software 0 10-03-2004 08:52 PM
after scanning, printing in cups says that its busy TheOneAndOnlySM Linux - Hardware 1 03-04-2004 11:06 AM
can not cancel printer job? heero82 Linux - Hardware 4 07-20-2003 07:49 PM


All times are GMT -5. The time now is 05:06 AM.

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