<?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: /usr/sbin/lpsched: Unable to open and lock &amp;quot;request/ac04a1/cA2244 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-sbin-lpsched-unable-to-open-and-lock-quot-request-ac04a1/m-p/4233976#M329028</link>
    <description>After removing the lock file start the lp service from init.d directory... Or even it may start working if you just enter lpsched in the command promt</description>
    <pubDate>Tue, 15 Jul 2008 09:15:45 GMT</pubDate>
    <dc:creator>john123</dc:creator>
    <dc:date>2008-07-15T09:15:45Z</dc:date>
    <item>
      <title>/usr/sbin/lpsched: Unable to open and lock "request/ac04a1/cA2244</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-sbin-lpsched-unable-to-open-and-lock-quot-request-ac04a1/m-p/4233975#M329027</link>
      <description>dear hpux guru,&lt;BR /&gt;our printing in hpux has failed. when i see the check the /var/spool/lp/log, i can see this error:&lt;BR /&gt;/usr/sbin/lpsched: Unable to open and lock "request/ac04a1/cA2244&lt;BR /&gt;i tried to disable and enable the printer, but to no avail and have removed the SCHEDLOCK, but to no avail. how to resolve this? hope to hear from you. thank you</description>
      <pubDate>Tue, 15 Jul 2008 08:44:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-sbin-lpsched-unable-to-open-and-lock-quot-request-ac04a1/m-p/4233975#M329027</guid>
      <dc:creator>apple</dc:creator>
      <dc:date>2008-07-15T08:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/sbin/lpsched: Unable to open and lock "request/ac04a1/cA2244</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-sbin-lpsched-unable-to-open-and-lock-quot-request-ac04a1/m-p/4233976#M329028</link>
      <description>After removing the lock file start the lp service from init.d directory... Or even it may start working if you just enter lpsched in the command promt</description>
      <pubDate>Tue, 15 Jul 2008 09:15:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-sbin-lpsched-unable-to-open-and-lock-quot-request-ac04a1/m-p/4233976#M329028</guid>
      <dc:creator>john123</dc:creator>
      <dc:date>2008-07-15T09:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/sbin/lpsched: Unable to open and lock "request/ac04a1/cA2244</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-sbin-lpsched-unable-to-open-and-lock-quot-request-ac04a1/m-p/4233977#M329029</link>
      <description>dear sir,&lt;BR /&gt;1. what is the command to restart the lp service from init.d directory?&lt;BR /&gt;2. lpsched - this command will restart the scheduler rite? what is the impact if we have few printers, will all the jobs that are in all printer queueing stop? &lt;BR /&gt;&lt;BR /&gt;hope to hear from you. thank you &lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jul 2008 09:37:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-sbin-lpsched-unable-to-open-and-lock-quot-request-ac04a1/m-p/4233977#M329029</guid>
      <dc:creator>apple</dc:creator>
      <dc:date>2008-07-15T09:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/sbin/lpsched: Unable to open and lock "request/ac04a1/cA2244</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-sbin-lpsched-unable-to-open-and-lock-quot-request-ac04a1/m-p/4233978#M329030</link>
      <description>Hi&lt;BR /&gt;ps -ef | grep -i lpsched will show whether the service is running or not.&lt;BR /&gt;lpshut --&amp;gt;is for sopt the service.&lt;BR /&gt;lpsched -&amp;gt;is for starting the service.&lt;BR /&gt;&lt;BR /&gt;If you are stopping/restating  the service it will affect all the working printers.They stop printing.After start the service printer will print the doc from the beginning</description>
      <pubDate>Tue, 15 Jul 2008 09:48:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-sbin-lpsched-unable-to-open-and-lock-quot-request-ac04a1/m-p/4233978#M329030</guid>
      <dc:creator>georgek_1</dc:creator>
      <dc:date>2008-07-15T09:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: /usr/sbin/lpsched: Unable to open and lock "request/ac04a1/cA2244</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/usr-sbin-lpsched-unable-to-open-and-lock-quot-request-ac04a1/m-p/4233979#M329031</link>
      <description>&amp;gt; 1. what is the command to restart the lp service from init.d directory?&lt;BR /&gt; &lt;BR /&gt;The scripts to start and stop virtually all services are found in /sbin/init.d and for the spooler, it is called lp. However, the spooler is quite simple: the first lpsched runs as a daemon automatically, and each job that is run will start with another lpsched which starts and monitors the actual printing.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; 2. lpsched - this command will restart the scheduler rite? what is the impact if we have few printers, will all the jobs that are in all printer queueing stop?&lt;BR /&gt; &lt;BR /&gt;lpsched starts the spooler, and lpshut stops it. An unfortunate side effect is that every job that is printing will be restarted from the beginning.&lt;BR /&gt; &lt;BR /&gt;&amp;gt; ps -ef | grep -i lpsched will show whether the service is running or not.&lt;BR /&gt; &lt;BR /&gt;The better (and simpler) command is ps -f -ulp since this will show all the printing processes. AS mentioned above, one lpsched will be a daemon (and has a parent of 1 which is init) and the others are children of the first lpsched.&lt;BR /&gt; &lt;BR /&gt;The spooler files are out of sync. Start by disabling the printer ac04a1. Then cancel any jobs that are pending in the queue. If this is a remote printer, there will long delays if the remote server is not working. Finally, remove the printer with lpshut, then lpadmin -xac04a1. Note that all print jobs for all printers will be halted. Now verify that the printer queue is gone by deleting the /var/spool/lp/request/ac04a1 directory. Check that the lp subsystem does not know about the printer with lpsched -v.&lt;BR /&gt; &lt;BR /&gt;Now add the printer back again but don't accept and enable it until the printer (and server) is working. Now restart the spooler with the lpsched command.</description>
      <pubDate>Tue, 15 Jul 2008 10:27:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/usr-sbin-lpsched-unable-to-open-and-lock-quot-request-ac04a1/m-p/4233979#M329031</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-07-15T10:27:34Z</dc:date>
    </item>
  </channel>
</rss>

