Visit Our UNIX and Linux User Community


Printer Entries stuck "finished printing"


 
Thread Tools Search this Thread
Operating Systems Solaris Printer Entries stuck "finished printing"
# 1  
Old 07-22-2009
Printer Entries stuck "finished printing"

On Solaris 8, when I do a lpstat -o:

Quote:
# lpstat -o
140828p-16974 user1 1686 Jul 22 17:11 finished printing
140828p-16978 user1 1662 Jul 22 17:11 finished printing
I have tried cancel 140828p-16974, but the entries remain

Quote:
# cancel 140828p-16974
# lpstat -o
140828p-16974 user1 1686 Jul 22 17:11 finished printing
140828p-16978 user1 1662 Jul 22 17:11 finished printing
New prints to this printer and others work successfully.

Can anyone suggest how to get rid of these entries.
Thanks
# 2  
Old 07-26-2009
This could also be an in.lpd/port monitor issue. When a print job is cancelled, it communicates with the print server itself, on port 515. Check for in.lpd being active in the /etc/inetd.conf file and also check for rogue port monitors in use on the printer server.

ps -ef |grep <any lp daemon>
kill it and lpstat -o again and check
# 3  
Old 07-27-2009
Entry in /etc/inetd.conf:

Code:
#
# Print Protocol Adaptor - BSD listener
#
printer         stream  tcp6    nowait  root    /usr/lib/print/in.lpd   in.lpd

Output from ps -ef|grep lp

Code:
root 22889     1  0 08:13:38 ?        0:08 /usr/lib/lpsched

I did a /usr/lib/lpshut followed by /usr/lib/lpsched

lpstat -o still gives:

Code:
 
140828p-16974           user1             1686   Jul 22 17:11 finished printing
140828p-16978           user1             1662   Jul 22 17:11 finished printing
138178p-16979           user1             6733   Jul 22 17:11 finished printing
138178p-16982           user1             1684   Jul 22 17:11 finished printing
140820p-16987           user1             1593   Jul 22 17:11 finished printing


Previous Thread | Next Thread
Test Your Knowledge in Computers #900
Difficulty: Medium
KornShell (ksh) is a Unix shell which was developed by David Korn at UC Berkeley.
True or False?

8 More Discussions You Might Find Interesting

1. Solaris

Solaris 5.10 "Move Pointer" stuck

Hey there, I joined this forum just now cause I need help with an old SUN machine at work. I work on a helpdesk and we use a SOLARIS 5.10 OS. Every once in a while we will try to move one of our windows out of the way to make room on the desktop, and sometimes the mouse doesn't release what we... (7 Replies)
Discussion started by: TRex_2005
7 Replies

2. IP Networking

Stuck at "bringing up interface eth0:"

Server is stuck at "Stuck at "bringing up interface eth0:"" after i hard reset the server I have IPMI access, please help me diagnose the cause if you can :( (0 Replies)
Discussion started by: postcd
0 Replies

3. Solaris

Printer configuration Migration from Solaris 10 "LP" to Solaris 11 "CUPS"

Need to find a way to import an LP printers.conf file to CUPS. I have some new Solaris 11.1 boxes that need to have 300 printers added. (0 Replies)
Discussion started by: os2mac
0 Replies

4. BSD

Process stuck in "pipewr" state

Hi Experts, I am executing "svn" checkout command through my java code on a freeBSD machine. SVN checkout gets started , but when I run "top" command on my freebsd machine, I have observed that "svn" processes are stuck in "pipewr" state. Any pointer for this problem? Thanks, akash (0 Replies)
Discussion started by: akash.mahakode
0 Replies

5. UNIX for Advanced & Expert Users

Processes on FreeBSD are stuck in "pipewr" state

Hi Experts, I am executing "svn" checkout command through my java code on a freeBSD machine. SVN checkout gets started , but when I run "top" command on my freebsd machine, I have observed that "svn" processes are stuck in "pipewr" state. Any pointer for this problem? Thanks, akash (0 Replies)
Discussion started by: akash.mahakode
0 Replies

6. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

7. AIX

"fuser -c -k /XXX/XXXXXXX" Fails and stuck on AIX 6100-05-01-1016

Hi I was wondering if anybody has come across in a failure of fuser command. We have a backup script that is: fuser -c -k /XXX/XXXXXXX sync;sync umount /XXX/XXXXXXX/ backup -0 -f /dev/rmt0.1 -u /dev/XXXXXXXlv mount /XXX/XXXXXXX/ sync;sync The script is called from crontab via an... (2 Replies)
Discussion started by: ggovotsis
2 Replies

8. AIX

boot process stuck on "Welcome to AIX" banner

Good afternoon, I'm currently working on an IBM 9110-510, with an AIX 6.1 on it. Currently, I've put an HyperTerminal on the machine vty0. Folowing the procedure given by a support guy(ždetails), I'm able to get to the AIX banner ... (6 Replies)
Discussion started by: nilleb
6 Replies

Featured Tech Videos