<?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: Does anyone know something about /var/spool/lp/tmplock? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/does-anyone-know-something-about-var-spool-lp-tmplock/m-p/2479906#M776641</link>
    <description>Thank you , victor.&lt;BR /&gt;&lt;BR /&gt;But in sentence "On rare occasions, if the lpsched program is killed within a &lt;BR /&gt;small window, this file will be left on the system", what's the meaning of "killed within a small window"?&lt;BR /&gt;&lt;BR /&gt;And the system is running HP-UX 10.20.&lt;BR /&gt;&lt;BR /&gt;Thx.</description>
    <pubDate>Fri, 05 Jan 2001 17:32:46 GMT</pubDate>
    <dc:creator>Glen Liu</dc:creator>
    <dc:date>2001-01-05T17:32:46Z</dc:date>
    <item>
      <title>Does anyone know something about /var/spool/lp/tmplock?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/does-anyone-know-something-about-var-spool-lp-tmplock/m-p/2479904#M776639</link>
      <description>Client told me their printers were out of work today. And the I found, by lpstat -t, the requests were not processes since yesterday. So I tryed lpshut. It said "scheduler is not running". I killed the lpsched and tryed to star it again. But it just reponsed with "lpsched: scheduler could not be started". So I checked the privileges of all relative directories and files and they were all ok. And there was no SCHEDLOCK and FIFO file. I then used "mkdir old; mv outputq qstatus pstatus old" under /var/spool/lp. But I still cannot start up lpsched. Finally I noticed there was a file /var/spool/lp/tmplock. I changed it by "mv tmplock tmplock.old" and then the lpsched could be stared. &lt;BR /&gt;&lt;BR /&gt;My question is: &lt;BR /&gt;What is /var/spool/lp/tmplock? What for? Why exist?&lt;BR /&gt;&lt;BR /&gt;Thx.</description>
      <pubDate>Fri, 05 Jan 2001 17:01:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/does-anyone-know-something-about-var-spool-lp-tmplock/m-p/2479904#M776639</guid>
      <dc:creator>Glen Liu</dc:creator>
      <dc:date>2001-01-05T17:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone know something about /var/spool/lp/tmplock?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/does-anyone-know-something-about-var-spool-lp-tmplock/m-p/2479905#M776640</link>
      <description>May this help:&lt;BR /&gt;Document Id  : A1792207 &lt;BR /&gt;Problem Description&lt;BR /&gt;&lt;BR /&gt;I have been unable to get the lpsched program to run.  I removed the&lt;BR /&gt;file /usr/spool/lp/SCHEDLOCK, but the scheduler program still will&lt;BR /&gt;not run.  What can I do?&lt;BR /&gt;&lt;BR /&gt;Configuration Info&lt;BR /&gt;&lt;BR /&gt;HP 9000 series 300/400, 600/800&lt;BR /&gt;HP-UX version 7.0x&lt;BR /&gt;&lt;BR /&gt;Solution&lt;BR /&gt;&lt;BR /&gt;In order for the scheduler program (lpsched) to run, two files cannot&lt;BR /&gt;exist on the system.  They are the SCHEDLOCK and tmplock files (both&lt;BR /&gt;in the /usr/spool/lp directory).&lt;BR /&gt;&lt;BR /&gt;The SCHEDLOCK file is documented in the HP-UX System Administration&lt;BR /&gt;Tasks manual (HP Part Number 98594-900061), Chapter 7, or the HP&lt;BR /&gt;9000 Series 800 HP-UX System Adminstration Tasks Manual, Volume I&lt;BR /&gt;(HP Part Number 92453-90038), Chapter 7.  However, the tmplock&lt;BR /&gt;file is not mentioned in any HP-UX version 7.0 manuals.&lt;BR /&gt;&lt;BR /&gt;The tmplock file is used in an algorithm which creates the SCHEDLOCK&lt;BR /&gt;file.  On rare occasions, if the lpsched program is killed within a&lt;BR /&gt;small window, this file will be left on the system.  Then, if this&lt;BR /&gt;file is not removed, the lpsched program will not run.&lt;BR /&gt;&lt;BR /&gt;Service Request 5000-651463 has been submitted to look into this&lt;BR /&gt;problem.  Unless this algorithm is changed, it would be beneficial to&lt;BR /&gt;remove /usr/spool/lp/tmplock in "/etc/rc" along with the SCHEDLOCK&lt;BR /&gt;file.&lt;BR /&gt;&lt;BR /&gt;Alternative Keywords&lt;BR /&gt;&lt;BR /&gt;LP SPOOLER&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;all the best&lt;BR /&gt;Victor</description>
      <pubDate>Fri, 05 Jan 2001 17:16:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/does-anyone-know-something-about-var-spool-lp-tmplock/m-p/2479905#M776640</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2001-01-05T17:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone know something about /var/spool/lp/tmplock?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/does-anyone-know-something-about-var-spool-lp-tmplock/m-p/2479906#M776641</link>
      <description>Thank you , victor.&lt;BR /&gt;&lt;BR /&gt;But in sentence "On rare occasions, if the lpsched program is killed within a &lt;BR /&gt;small window, this file will be left on the system", what's the meaning of "killed within a small window"?&lt;BR /&gt;&lt;BR /&gt;And the system is running HP-UX 10.20.&lt;BR /&gt;&lt;BR /&gt;Thx.</description>
      <pubDate>Fri, 05 Jan 2001 17:32:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/does-anyone-know-something-about-var-spool-lp-tmplock/m-p/2479906#M776641</guid>
      <dc:creator>Glen Liu</dc:creator>
      <dc:date>2001-01-05T17:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone know something about /var/spool/lp/tmplock?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/does-anyone-know-something-about-var-spool-lp-tmplock/m-p/2479907#M776642</link>
      <description>Hi Glen,&lt;BR /&gt;Second try:&lt;BR /&gt;Here are 2 Document you could read:&lt;BR /&gt;1)&lt;BR /&gt;Date  : 2000 Feb 03 &lt;BR /&gt;Description  : How do I resolve LP Spooler hang situations &lt;BR /&gt;Document Id  : KBAN00000182 &lt;BR /&gt;&lt;BR /&gt;2)&lt;BR /&gt;Date  : 1997 May 15 &lt;BR /&gt;Description  : Spooler Rebuild Procedure for 10.x Systems (aka SpoolKick) &lt;BR /&gt;Document Id  : BA960324001 &lt;BR /&gt;&lt;BR /&gt;If you cant access them, try to do a search from your technical Knowledge Base Home, or sen me your Email and I will try to send them to you...&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Fri, 05 Jan 2001 17:51:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/does-anyone-know-something-about-var-spool-lp-tmplock/m-p/2479907#M776642</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2001-01-05T17:51:24Z</dc:date>
    </item>
  </channel>
</rss>

