1833758 Members
2568 Online
110063 Solutions
New Discussion

lpsched broken...

 
Ammon Sutherland
Occasional Contributor

lpsched broken...

After applying the patch PHCO_31016 (the cummulative print spooler patch for 11.00) I run into a fun little conundrum which is this: If I run 'lpsched' I get the error "scheduler was already active". doing a 'ps -ef | grep lp' yields no matches at all. I do an 'lpshut' and it says "scheduler is not running".

Any idea how to get these two agreeing and/or working again?
Thanks.
Ammon
3 REPLIES 3
Marcin Golembski_1
Honored Contributor

Re: lpsched broken...

Remove /var/spool/lp/SCHEDLOCK file. You didn't follow the Special Installation Instructions for the patch, did you? ;-)

Cheryl Griffin
Honored Contributor

Re: lpsched broken...

Check the status of the patch:
# swlist -l fileset -a state |grep 31016

If PHCO_27779 is installed run
# check_patches
and check the /var/adm/sw/swagent.log for errors.

I wonder what swremoving the patch or if a reboot will have any affect. The patch text did state to shut the spooler down prior to updating.
"Downtime is a Crime."
Ammon Sutherland
Occasional Contributor

Re: lpsched broken...

Well, I had run 'lpshut' before installing the patch, but I failed to check that it was completely down. Removing the SCHEDLOCK file solved the problem. I also discovered that I can simply do the '/sbin/init.d/lp restart' to fix it. Seems to have worked either way. Thanks all.
Ammon