<?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: lpsched Issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lpsched-issue/m-p/6842862#M489353</link>
    <description>&lt;P&gt;So start with the basics:&lt;/P&gt;&lt;P&gt;Is lpsched identical on the 4 servers?&lt;BR /&gt;The only way to be sure is to run cksum, what and ll on the executable:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;# cksum /usr/sbin/lpsched&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;1389861021 231324 /usr/sbin/lpsched&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;# what /usr/sbin/lpsched&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;/usr/sbin/lpsched:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;lpsched.c $Date: 2014/07/30 09:56:17 $Revision: r11.31/6 PATCH_11.31 (PHCO_43431)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;lpio.c $Date: 2011/04/02 13:42:49 $Revision: r11.31/4 PATCH_11.31 (PHCO_41375)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;outputq.c $Date: 2014/07/30 09:57:34 $Revision: r11.31/1 PATCH_11.31 (PHCO_43431)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;genfuns.c $Date: 2014/09/11 03:56:15 $Revision: r11.31/7 PATCH_11.31 (PHCO_43431)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;fifo.c $Date: 2009/10/21 17:10:32 $Revision: r11.31/1 PATCH_11.31 (PHCO_40128)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;$Revision: @(#) lp R11.31_BL2014_0919_1 PATCH_11.31 PHCO_43431&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;# ll /usr/sbin/lpsched&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;-r-sr-xr-x 1 root bin 231324 Sep 18 2014 /usr/sbin/lpsched&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Now the above results are just for this particular server and may not be the same as yours.&lt;/P&gt;&lt;P&gt;The other task is to see how SMH is starting lpsched. Look at the SMH logs to see how it is run.&lt;/P&gt;&lt;P&gt;Do you have core files in the directory you're in when running lpsched manually?&lt;BR /&gt;Does dmesg report anything?&lt;/P&gt;&lt;P&gt;Have you tried running lpsched with -v for more details in the lp log?&lt;/P&gt;</description>
    <pubDate>Fri, 18 Mar 2016 00:01:16 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2016-03-18T00:01:16Z</dc:date>
    <item>
      <title>lpsched Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpsched-issue/m-p/6842611#M489352</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I found this forum after searching for similar issues (with no luck, obviously). &amp;nbsp;First, I should probably point out that I'm not an OS administrator, more an application administrator&amp;nbsp;with OS access. &amp;nbsp;We currently have a strange issue with our lpsched process, running on HP-UX 11.31. &amp;nbsp;I'm hopeful and optimistic someone might have seen it before. &amp;nbsp;We have four servers with the same OS, and three behave perfectly fine, but there is always a bad egg.&lt;/P&gt;&lt;P&gt;When it comes to said bad egg, the process refuses to start when using command line /usr/sbin/lpsched. &amp;nbsp;I've also tried from actually within the directory, and this makes no difference as I probably should have expected. &amp;nbsp;The process does actually start for a few seconds (visible with ps -ef), but then stops for no apparent reason. &amp;nbsp;I haven't found anything of interest in the logs (or at least, not in the ones I've been looking at). &amp;nbsp;What is strange, is that it starts fine in SAM/SMH. &amp;nbsp;Essentially,&amp;nbsp;our current workaround is to start the spooler using this method. &amp;nbsp;I cannot see what SMH is doing differently, it still starts the very same (I think) lpsched process, but it must be doing something above and beyond just running the&amp;nbsp;lpsched command. &amp;nbsp;A look at the process, once started after using SMH, just looks normal;&lt;/P&gt;&lt;P&gt;lp 21354 21023 0 13:36:52 ? 0:00 lpsched&lt;/P&gt;&lt;P&gt;No frills, and no options shown. &amp;nbsp;We have had server restarts, which again result in the lpsched process not running, and requiring a restart from within SMH. &amp;nbsp;As I said, none of our other servers have this issue, so it's a bit strange. &amp;nbsp;I wondered if I could pick someone's brain in here, and hope that maybe someone has some ideas?&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 14:05:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpsched-issue/m-p/6842611#M489352</guid>
      <dc:creator>MarkyC1978</dc:creator>
      <dc:date>2016-03-17T14:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: lpsched Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpsched-issue/m-p/6842862#M489353</link>
      <description>&lt;P&gt;So start with the basics:&lt;/P&gt;&lt;P&gt;Is lpsched identical on the 4 servers?&lt;BR /&gt;The only way to be sure is to run cksum, what and ll on the executable:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;# cksum /usr/sbin/lpsched&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;1389861021 231324 /usr/sbin/lpsched&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;# what /usr/sbin/lpsched&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;/usr/sbin/lpsched:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;lpsched.c $Date: 2014/07/30 09:56:17 $Revision: r11.31/6 PATCH_11.31 (PHCO_43431)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;lpio.c $Date: 2011/04/02 13:42:49 $Revision: r11.31/4 PATCH_11.31 (PHCO_41375)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;outputq.c $Date: 2014/07/30 09:57:34 $Revision: r11.31/1 PATCH_11.31 (PHCO_43431)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;genfuns.c $Date: 2014/09/11 03:56:15 $Revision: r11.31/7 PATCH_11.31 (PHCO_43431)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;fifo.c $Date: 2009/10/21 17:10:32 $Revision: r11.31/1 PATCH_11.31 (PHCO_40128)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;$Revision: @(#) lp R11.31_BL2014_0919_1 PATCH_11.31 PHCO_43431&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;# ll /usr/sbin/lpsched&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;-r-sr-xr-x 1 root bin 231324 Sep 18 2014 /usr/sbin/lpsched&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Now the above results are just for this particular server and may not be the same as yours.&lt;/P&gt;&lt;P&gt;The other task is to see how SMH is starting lpsched. Look at the SMH logs to see how it is run.&lt;/P&gt;&lt;P&gt;Do you have core files in the directory you're in when running lpsched manually?&lt;BR /&gt;Does dmesg report anything?&lt;/P&gt;&lt;P&gt;Have you tried running lpsched with -v for more details in the lp log?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 00:01:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpsched-issue/m-p/6842862#M489353</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2016-03-18T00:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: lpsched Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpsched-issue/m-p/6842955#M489354</link>
      <description>&lt;P&gt;Firstly, thanks for the reply Bill, much appreciated.&lt;/P&gt;&lt;P&gt;I've ran cksum, what as&amp;nbsp;you suggested (comparing with just one other server), and without wasting space posting the result, they're identical. &amp;nbsp;ll as well, all permissions are the same, file size and even the date.&lt;/P&gt;&lt;P&gt;I'd already looked at the SAM logs, which aren't really much help, as they don't explicitly give the commands that they're running.&lt;/P&gt;&lt;P&gt;Getting information about printers succeeded.&lt;BR /&gt;@!@8@1458221802@0&lt;BR /&gt;Exiting Task Manager with task lp_list_printers.&lt;BR /&gt;@!@2@1458221806@0&lt;BR /&gt;Starting print spooler...&lt;BR /&gt;@!@8@1458221806@0&lt;BR /&gt;Entering Task Manager with task lp_lpsched.&lt;BR /&gt;@!@2@1458221806@0&lt;BR /&gt;Starting the lp scheduler&lt;BR /&gt;@!@2@1458221806@0&lt;BR /&gt;Executing the following command:\Clpsched \C&lt;BR /&gt;@!@2@1458221806@0&lt;BR /&gt;Command completed with exit status 0.&lt;BR /&gt;@!@2@1458221806@0&lt;BR /&gt;Starting the lp scheduler succeeded.&lt;BR /&gt;@!@8@1458221806@0&lt;BR /&gt;Exiting Task Manager with task lp_lpsched.&lt;/P&gt;&lt;P&gt;I'm not sure if there are any settings to increase the trace level on that.&lt;/P&gt;&lt;P&gt;I did notice some core files in the /usr/sbin directory, but they are from years ago. &amp;nbsp;Just to rule them out though, I'd already moved them and retried with no luck.&lt;/P&gt;&lt;P&gt;dmesg doesn't report anything relating to lpsched, just a few&amp;nbsp;unrelated messages about nfs.&lt;/P&gt;&lt;P&gt;I did actually try running lpsched -v but all that appears in the lp log is the date stamp before the process then dies;&lt;/P&gt;&lt;P&gt;***** LP LOG: Mar 17 13:23 *****&lt;/P&gt;&lt;P&gt;It's a bit strange really.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 08:49:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpsched-issue/m-p/6842955#M489354</guid>
      <dc:creator>MarkyC1978</dc:creator>
      <dc:date>2016-03-18T08:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: lpsched Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpsched-issue/m-p/6843254#M489357</link>
      <description>&lt;P&gt;You could try tusc(1) on the good and bad systems and see where they diverge.&lt;/P&gt;&lt;P&gt;And look for errors on the last few lines of the bad one.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 23:12:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpsched-issue/m-p/6843254#M489357</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2016-03-18T23:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: lpsched Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpsched-issue/m-p/6844031#M489364</link>
      <description>&lt;P&gt;Unfortunately, we don't appear to have tusc installed :(&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2016 10:10:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpsched-issue/m-p/6844031#M489364</guid>
      <dc:creator>MarkyC1978</dc:creator>
      <dc:date>2016-03-22T10:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: lpsched Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpsched-issue/m-p/6845339#M489370</link>
      <description>&lt;P&gt;&amp;gt;we don't appear to have tusc installed :(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-8.1/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-8.1/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Mar 2016 07:52:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpsched-issue/m-p/6845339#M489370</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2016-03-26T07:52:15Z</dc:date>
    </item>
  </channel>
</rss>

