<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: spooler won't start in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766867#M73740</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;1)Cleanup&lt;BR /&gt;   # /usr/sbin/lpshut          -&amp;gt; shut down the scheduler&lt;BR /&gt;   # ps -ef | grep lp          -&amp;gt; are lp processes still running ?&lt;BR /&gt;                               -&amp;gt; if yes, kill those processes&lt;BR /&gt;   # kill &lt;LP_PROCESS_ID&gt;      -&amp;gt; kill ALL lp processes&lt;BR /&gt;   # ps -ef | grep lp          -&amp;gt; check if all processes are really gone&lt;BR /&gt;   # cd /var/spool/lp&lt;BR /&gt;   # rm FIFO SCHEDLOCK CLD_FIFO Toutputq *.lock&lt;BR /&gt;                               -&amp;gt; delete temporary files, not all of them may exists&lt;BR /&gt;   &lt;BR /&gt;2)Restart                   &lt;BR /&gt;   # /usr/sbin/lpsched -v -a   -&amp;gt; restart lpsched with additional logging enabled&lt;BR /&gt;&lt;BR /&gt;3)Check&lt;BR /&gt;Look in /var/adm/lp/log for info&lt;BR /&gt;If corefile do file core and post output&lt;BR /&gt;What is the last lp patch on the box&lt;BR /&gt;&lt;BR /&gt;swlist -l fileset|grep -i lp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;             Steve Steel&lt;/LP_PROCESS_ID&gt;</description>
    <pubDate>Thu, 18 Jul 2002 09:03:40 GMT</pubDate>
    <dc:creator>Steve Steel</dc:creator>
    <dc:date>2002-07-18T09:03:40Z</dc:date>
    <item>
      <title>spooler won't start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766864#M73737</link>
      <description>My system is a 9000/777 workstation running HP-UX 10.20. One day we had some problems with printing so I stopped spooler by SAM. When I tried to restart spooler I failed. I even tried rebooting the system. I noticed that a SCHEDLOCK and core were generated under /var/spool/lp/ whenever I run lpsched.&lt;BR /&gt;I tried to remove SCHEDLOCK before start the scheduler with lpsched but SCHEDLOCK would be created again together with core.&lt;BR /&gt;Please help and thanks.</description>
      <pubDate>Thu, 18 Jul 2002 07:58:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766864#M73737</guid>
      <dc:creator>HU YIHONG</dc:creator>
      <dc:date>2002-07-18T07:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: spooler won't start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766865#M73738</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Under the url is explain about SCHEDLOCK and FIFO. &lt;BR /&gt;I hope the url is better help to you.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x30f6f841489fd4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x30f6f841489fd4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;have a nice day!!</description>
      <pubDate>Thu, 18 Jul 2002 08:11:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766865#M73738</guid>
      <dc:creator>KCS_1</dc:creator>
      <dc:date>2002-07-18T08:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: spooler won't start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766866#M73739</link>
      <description>Dear Patrick&lt;BR /&gt;&lt;BR /&gt;Thank you for your help.&lt;BR /&gt;The explanation helps me understanding better of SCHEDLOCK and FIFO. However when I tried lpsched it said scheduler is running. Then I couldn't find lpsched by ps command. If I run lpshut it would complain no scheduler running.</description>
      <pubDate>Thu, 18 Jul 2002 08:51:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766866#M73739</guid>
      <dc:creator>HU YIHONG</dc:creator>
      <dc:date>2002-07-18T08:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: spooler won't start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766867#M73740</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;1)Cleanup&lt;BR /&gt;   # /usr/sbin/lpshut          -&amp;gt; shut down the scheduler&lt;BR /&gt;   # ps -ef | grep lp          -&amp;gt; are lp processes still running ?&lt;BR /&gt;                               -&amp;gt; if yes, kill those processes&lt;BR /&gt;   # kill &lt;LP_PROCESS_ID&gt;      -&amp;gt; kill ALL lp processes&lt;BR /&gt;   # ps -ef | grep lp          -&amp;gt; check if all processes are really gone&lt;BR /&gt;   # cd /var/spool/lp&lt;BR /&gt;   # rm FIFO SCHEDLOCK CLD_FIFO Toutputq *.lock&lt;BR /&gt;                               -&amp;gt; delete temporary files, not all of them may exists&lt;BR /&gt;   &lt;BR /&gt;2)Restart                   &lt;BR /&gt;   # /usr/sbin/lpsched -v -a   -&amp;gt; restart lpsched with additional logging enabled&lt;BR /&gt;&lt;BR /&gt;3)Check&lt;BR /&gt;Look in /var/adm/lp/log for info&lt;BR /&gt;If corefile do file core and post output&lt;BR /&gt;What is the last lp patch on the box&lt;BR /&gt;&lt;BR /&gt;swlist -l fileset|grep -i lp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;             Steve Steel&lt;/LP_PROCESS_ID&gt;</description>
      <pubDate>Thu, 18 Jul 2002 09:03:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766867#M73740</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-07-18T09:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: spooler won't start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766868#M73741</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I suggest the problem is that you have corrupted *status files. So remove them and restart the scheduler. If necessary to do this remove  first the *FIFO and *SCDEDLOCK files.&lt;BR /&gt;&lt;BR /&gt;By</description>
      <pubDate>Fri, 19 Jul 2002 06:21:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766868#M73741</guid>
      <dc:creator>Ulf Lipski</dc:creator>
      <dc:date>2002-07-19T06:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: spooler won't start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766869#M73742</link>
      <description>Hi Steve and Ulf&lt;BR /&gt;&lt;BR /&gt;Thank you for your help. I tried but couldn't get anywhere. I guess some files got messed up. I used SAM to stop the spooler and couldn't start it since then. no messages logged under /var/adm/lp/log after that.&lt;BR /&gt;&lt;BR /&gt;lpsched creates a core dump every start.&lt;BR /&gt;I attached output from strings core here.</description>
      <pubDate>Fri, 19 Jul 2002 07:13:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766869#M73742</guid>
      <dc:creator>HU YIHONG</dc:creator>
      <dc:date>2002-07-19T07:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: spooler won't start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766870#M73743</link>
      <description>Hello:&lt;BR /&gt;&lt;BR /&gt;I may be off base with this, but when I was at one place on 10.2, with a lot of queus, this would happen to me.  After removing the lock file, and fifo, I would run ps -ef |grep lp&lt;BR /&gt;and see other scheds running, i would kill all of them, and run a cancel on all queus, this seemed to work, why I am not sure, but it would seem after canceling the queues I could get the lpsched to run again.&lt;BR /&gt;&lt;BR /&gt;Not sure if you want to try that, but if your lpsched is still down, it may be worth the try.&lt;BR /&gt;&lt;BR /&gt;scott&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Jul 2002 10:51:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766870#M73743</guid>
      <dc:creator>Scott_14</dc:creator>
      <dc:date>2002-07-19T10:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: spooler won't start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766871#M73744</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;1)Please file core&lt;BR /&gt;&lt;BR /&gt;Note strings core.&lt;BR /&gt;&lt;BR /&gt;2)lpstat -t    does it work.&lt;BR /&gt;&lt;BR /&gt;3)Nothing in the log suggests a protection error that lp cannot write.&lt;BR /&gt;&lt;BR /&gt;I have uploaded a script&lt;BR /&gt;&lt;BR /&gt;It correct permissions.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                  Steve Steel&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Jul 2002 11:04:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766871#M73744</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-07-19T11:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: spooler won't start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766872#M73745</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Another script&lt;BR /&gt;&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;#&lt;BR /&gt;#Printer parameter&lt;BR /&gt;#&lt;BR /&gt;# parameter is enable disable accept or reject to do all printers&lt;BR /&gt;#&lt;BR /&gt;option=$1&lt;BR /&gt;xx=`lpstat -p|grep printer|cut -f2 -d" "`&lt;BR /&gt;  for printer in $xx&lt;BR /&gt;  do&lt;BR /&gt;    case $option in&lt;BR /&gt;      accept) accept $printer ;;&lt;BR /&gt;      reject) reject $printer ;;&lt;BR /&gt;      enable) enable $printer ;;&lt;BR /&gt;      disable) disable $printer ;;&lt;BR /&gt;      *)echo invalid parameter ;;&lt;BR /&gt;    esac&lt;BR /&gt;  done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Save and use as script disable&lt;BR /&gt;&lt;BR /&gt;Will disable all printers&lt;BR /&gt;&lt;BR /&gt;Then try and start the spooler&lt;BR /&gt;&lt;BR /&gt;When running script enable to restart printers&lt;BR /&gt;&lt;BR /&gt;                Steve Steel</description>
      <pubDate>Fri, 19 Jul 2002 11:07:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766872#M73745</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-07-19T11:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: spooler won't start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766873#M73746</link>
      <description>If these printers were managed by SAM, i.e. *not* by lpadmin commands, or at least were managed *last* with SAM (*and* correctly working at the time), then I advise to use SAM's Restore Spooler Configuration state functionality:&lt;BR /&gt;&lt;BR /&gt;sam -&amp;gt; Printers and Plotters -&amp;gt; LP Spooler -&amp;gt; Save/Restore Spooler Configuration&lt;BR /&gt;&lt;BR /&gt;Check that the displayed "Time Saved:" is recent/correct!&lt;BR /&gt;&lt;BR /&gt;The actual Restore Spooler Configuration action is under "Actions".</description>
      <pubDate>Fri, 19 Jul 2002 11:48:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766873#M73746</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2002-07-19T11:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: spooler won't start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766874#M73747</link>
      <description>Your name let me recall one of my previous co-workers, did you work for CCC of CHP before in HangHua?&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Jul 2002 12:25:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766874#M73747</guid>
      <dc:creator>Victor_5</dc:creator>
      <dc:date>2002-07-19T12:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: spooler won't start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766875#M73748</link>
      <description>I had this happen a few times to us on 10.20.  Make sure there are not schedulers running.  And rename /var/spool/lp/outputq to /var/spool/lp/outputq.old.  Then start the scheduler.  If it doesn't work you can move the outputq file back.  But in each time our similar issue was the result of a corrupted outputq.&lt;BR /&gt;&lt;BR /&gt;HtH,&lt;BR /&gt;Eric</description>
      <pubDate>Fri, 19 Jul 2002 15:29:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766875#M73748</guid>
      <dc:creator>Eric Buckner</dc:creator>
      <dc:date>2002-07-19T15:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: spooler won't start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766876#M73749</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You must guarantee that every printer showed in your SAM spool have a corresponding directory in /var/spool/lp/request. If not, pls follow this steps:&lt;BR /&gt;&lt;BR /&gt;mkdir &lt;PRINTER-NAME&gt;&lt;BR /&gt;chown lp:lp&lt;BR /&gt;chmod 766 &lt;PRINTER-NAME&gt;&lt;BR /&gt;&lt;BR /&gt;remove SCHEDLOCK file&lt;BR /&gt;&lt;BR /&gt;restart spool&lt;BR /&gt;&lt;BR /&gt;Other way to restore any previous working-fine spool configuration is:&lt;BR /&gt;Make periodically in SAM/Printers and Ploters/LP Spooler/Save-RestoreSpooler Configuration/Action/Save Spooler Configuration&lt;BR /&gt;&lt;BR /&gt;When you need restore this configuration just select Restore Spooler Configuration in same path showed above.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Jose&lt;BR /&gt;&lt;BR /&gt;&lt;/PRINTER-NAME&gt;&lt;/PRINTER-NAME&gt;</description>
      <pubDate>Fri, 19 Jul 2002 16:23:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766876#M73749</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2002-07-19T16:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: spooler won't start</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766877#M73750</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It's the spooler configuration. I restore the configuration using SAM and it works.&lt;BR /&gt;&lt;BR /&gt;Thanks to everyone who bother to help me. &lt;BR /&gt;I am really touched by the response I get.&lt;BR /&gt;It's the first time I seek help here. &lt;BR /&gt;&lt;BR /&gt;Victor, I am not the one you knew.&lt;BR /&gt;&lt;BR /&gt;Have a nice weekend!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 20 Jul 2002 02:31:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/spooler-won-t-start/m-p/2766877#M73750</guid>
      <dc:creator>HU YIHONG</dc:creator>
      <dc:date>2002-07-20T02:31:50Z</dc:date>
    </item>
  </channel>
</rss>

