Print System corrupted on Solaris 10

From: Andreas Höschler (ahoesch@smartsoft.de)
Date: Fri Feb 09 2007 - 12:46:45 EST


Dear managers,

I am desparately trying to print to the second tray of our network
printer using lp from the Solaris shell prompt. My print system somehow
died during my attempts to get it to do what I want.

lpq
could not talk to print service at ultra45

I rebooted the machine, but the problem persisted! I then tried

        /usr/bin/disable xerox
        lpadmin -x xerox

        svcadm disable svc:/application/print/ipp-listener:default
        svcadm disable svc:/application/print/server:default
        svcadm disable svc:/application/print/rfc1179:default

        lpshut
        pkill lpsched

ps still shows me two lpsched processes. pkill actually kills them but
they show up immediately again with new process ids.

ps -Af | grep lpsched
     root 6876 2143 0 18:40:38 pts/1 0:00 grep lpsched
     root 6870 1 0 18:40:37 ? 0:00
/usr/lib/lp/local/lpsched
     root 6845 1 0 18:40:20 ? 0:00
/usr/lib/lp/local/lpsched

I nevertheless tried to setup the print system from scratch, but the
two lpsched process seem to disturb the system. When I try to print I
now get

Subject: Problem with printer xerox
The printer xerox has stopped printing for the reason given below.
Fix the problem and bring the printer back on line.
Printing has stopped, but will be restarted in a few minutes;
issue an enable command if you want to restart sooner.
Unless someone issues a change request
         lp -i xerox-1 -P ...
to change the page list to print, the current request will be reprinted
from
the beginning.
The reason(s) it stopped (multiple reasons indicate repeated attempts):
exec exit fault<EOT>
failure to communicate with lpsched

I am stuck! How do I get rid of these two lpsched processes in order to
start from scratch?

Thanks a lot!

Regards,

   Andreas
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:37 EDT