<?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: Only root can print, lpsched error. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/only-root-can-print-lpsched-error/m-p/5336901#M475844</link>
    <description>&lt;P&gt;The Ghostscript package itself does not normally include commands like "lp"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The text in the beginning of the lprsetup.sh script suggest the script may be intended as a driver solution for some printer that uses a parallel port connection.The script is intended for SunOS 4.1.3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The DEVICES variable includes things like "bjt600.32" and "bjc600.32", which makes me think this is intended for some Canon inkjet printers. The script mentions a printcap file, so it's not at all suitable for HP-UX print spooler: the HP-UX spooler uses model scripts instead.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you don't have a Canon BJC-600 or BJT-600 inkjet connected to your HP-UX, feel free to remove the superfluous print spooler commands from /usr/local/bin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you do have such a printer, someone may have used the SunOS driver solution as a source of raw material and information for writing a custom model script. See the "Models" paragraph of the lpadmin(1M) man page to understand how the model scripts work.&lt;/P&gt;</description>
    <pubDate>Mon, 19 Sep 2011 21:19:23 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2011-09-19T21:19:23Z</dc:date>
    <item>
      <title>Only root can print, lpsched error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/only-root-can-print-lpsched-error/m-p/5334735#M475807</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bizarre problem with lpsched.&amp;nbsp; I installed Wireshark to do some network analysis on my C3600 running 11.11 and now no users can print other than root.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Troubleshooting was done to determine the sticky bit is set everywhere it needs to be.&amp;nbsp; The lock file is created and deleted normally when I start and stop lpsched and there are no problems doing that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Information that could be helpful: If I'm logged in to CDE as root and "su user"&amp;nbsp; to any user I can print using "lp" command with no problems.&amp;nbsp; If I "su - user" I get the message "&lt;STRONG&gt;lp: Error - scheduler not responding&lt;/STRONG&gt;".&amp;nbsp; If I log into CDE as any user other than root, I get the same error when trying to print.&amp;nbsp; If I then "su" I can "lp" files fine.&amp;nbsp; If I "su&lt;STRONG&gt; - &lt;/STRONG&gt;root" however I get the same error message and can't print.&amp;nbsp; None of the user environments where changed during the Wireshark install but many dependencies where installed one of which was "cups".&amp;nbsp; The others can be found here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Gtk/Applications/wireshark-1.6.2/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Gtk/Applications/wireshark-1.6.2/&lt;/A&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2011 22:38:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/only-root-can-print-lpsched-error/m-p/5334735#M475807</guid>
      <dc:creator>Matt Gardella</dc:creator>
      <dc:date>2011-09-16T22:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Only root can print, lpsched error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/only-root-can-print-lpsched-error/m-p/5334749#M475808</link>
      <description>&lt;P&gt;&amp;gt;Troubleshooting was done to determine the sticky bit is set everywhere it needs to be.﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That would be my first guess.&amp;nbsp; Have you checked the directory permissions too?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;and "su user"&amp;nbsp; to any user I can print using "lp" command with no problems.﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That would imply it is some environment variable gone horribly wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;If I log into CDE as any user other than root, I get the same error when trying to print.﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use tusc to track down the system call that is failing.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2011 23:16:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/only-root-can-print-lpsched-error/m-p/5334749#M475808</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-16T23:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Only root can print, lpsched error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/only-root-can-print-lpsched-error/m-p/5336487#M475832</link>
      <description>&lt;P&gt;Dennis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I decided to check permission again and I discovered an "lp" (and other lp files) on /usr/local/bin which don't exist on other machines I have.&amp;nbsp; It did'nt have the UID bit set.&amp;nbsp; I explictly printed using the /usr/bin/lp and I was able to print as other users.&amp;nbsp; I added the UID bit to the /usr/local/bin/lp and lpstat, restarted lpsched and tried again but still got the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/usr/local/bin/lp: Error - scheduler not responding.﻿&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are some directory listings:&lt;/P&gt;&lt;P&gt;/usr/sbin&lt;BR /&gt;-r-sr-xr-x&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 53248 Jun&amp;nbsp; 2&amp;nbsp; 2006 lpadmin&lt;BR /&gt;-r-xr-xr-x&amp;nbsp;&amp;nbsp; 1 bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20480 Jun&amp;nbsp; 2&amp;nbsp; 2006 lpana&lt;BR /&gt;-r-sr-xr-x&amp;nbsp;&amp;nbsp; 1 lp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 24576 Jun&amp;nbsp; 2&amp;nbsp; 2006 lpfence&lt;BR /&gt;-r-sr-xr-x&amp;nbsp;&amp;nbsp; 1 lp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 28672 Jun&amp;nbsp; 2&amp;nbsp; 2006 lpmove&lt;BR /&gt;-r-sr-xr-x&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 53248 Jun&amp;nbsp; 2&amp;nbsp; 2006 lpsched&lt;BR /&gt;-r-sr-xr-x&amp;nbsp;&amp;nbsp; 1 lp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16384 Jun&amp;nbsp; 2&amp;nbsp; 2006 lpshut&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/usr/bin&lt;BR /&gt;-r-sr-xr-x&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40960 Jun&amp;nbsp; 2&amp;nbsp; 2006 lp&lt;BR /&gt;-r-sr-xr-x&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40960 Jun&amp;nbsp; 2&amp;nbsp; 2006 lpalt&lt;BR /&gt;-r-xr-xr-x&amp;nbsp;&amp;nbsp; 1 bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 614 Nov 14&amp;nbsp; 2000 lpr&lt;BR /&gt;-r-sr-xr-x&amp;nbsp;&amp;nbsp; 1 lp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 53248 Jun&amp;nbsp; 2&amp;nbsp; 2006 lpstat&lt;BR /&gt;﻿﻿&lt;/P&gt;&lt;P&gt;/usr/local/bin&lt;BR /&gt;-r-sr-xr-x&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 28672 Jul 28 08:52 lp&lt;BR /&gt;-r-xr-xr-x&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 28672 Jul 28 08:52 lpoptions&lt;BR /&gt;-r-xr-xr-x&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 28672 Jul 28 08:52 lppasswd&lt;BR /&gt;-r-xr-xr-x&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 28672 Jul 28 08:52 lpq&lt;BR /&gt;-r-xr-xr-x&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 28672 Jul 28 08:52 lpr&lt;BR /&gt;-r-xr-xr-x&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 24576 Jul 28 08:52 lprm&lt;BR /&gt;-rwxr-xr-x&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4671 Jun&amp;nbsp; 3&amp;nbsp; 2008 lprsetup.sh&lt;BR /&gt;-r-sr-xr-x&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40960 Jul 28 08:52 lpstat&lt;BR /&gt;﻿&lt;/P&gt;&lt;P&gt;Since I have a workaround now (/usr/bin/lp) I guess this is no longer urgent, but I would still like to get to the bottom of it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2011 15:48:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/only-root-can-print-lpsched-error/m-p/5336487#M475832</guid>
      <dc:creator>Matt Gardella</dc:creator>
      <dc:date>2011-09-19T15:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: Only root can print, lpsched error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/only-root-can-print-lpsched-error/m-p/5336503#M475833</link>
      <description>&lt;P&gt;I would guess that someone installed some freeware printing package in /usr/local/bin.&amp;nbsp; Take a look at /usr/local/bin/lprsetup.sh to see if it offers any hints.&amp;nbsp; My first reaction would be to remove/rename the /usr/local/bin versions of "lp" related files.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2011 16:00:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/only-root-can-print-lpsched-error/m-p/5336503#M475833</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2011-09-19T16:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Only root can print, lpsched error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/only-root-can-print-lpsched-error/m-p/5336527#M475835</link>
      <description>&lt;P&gt;&amp;gt;restarted lpsched and tried again but still got the same error.﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might be able to use tusc to figure out what this /usr/local/bin/lp is trying to do and what files it is trying to access.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2011 16:20:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/only-root-can-print-lpsched-error/m-p/5336527#M475835</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-19T16:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Only root can print, lpsched error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/only-root-can-print-lpsched-error/m-p/5336859#M475839</link>
      <description>&lt;P&gt;Apparently a Gostscript utility was installed and created the /usr/local/bin version of "lp" that doesn't work.&amp;nbsp; HP-UX must look there before /usr/bin.&amp;nbsp; Renaming the /usr/local/bin/lp tp lp.old fixed the issue.&amp;nbsp; I attached the lprsetup.sh file just in case you where curious.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the Help!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2011 20:28:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/only-root-can-print-lpsched-error/m-p/5336859#M475839</guid>
      <dc:creator>Matt Gardella</dc:creator>
      <dc:date>2011-09-19T20:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Only root can print, lpsched error.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/only-root-can-print-lpsched-error/m-p/5336901#M475844</link>
      <description>&lt;P&gt;The Ghostscript package itself does not normally include commands like "lp"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The text in the beginning of the lprsetup.sh script suggest the script may be intended as a driver solution for some printer that uses a parallel port connection.The script is intended for SunOS 4.1.3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The DEVICES variable includes things like "bjt600.32" and "bjc600.32", which makes me think this is intended for some Canon inkjet printers. The script mentions a printcap file, so it's not at all suitable for HP-UX print spooler: the HP-UX spooler uses model scripts instead.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you don't have a Canon BJC-600 or BJT-600 inkjet connected to your HP-UX, feel free to remove the superfluous print spooler commands from /usr/local/bin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you do have such a printer, someone may have used the SunOS driver solution as a source of raw material and information for writing a custom model script. See the "Models" paragraph of the lpadmin(1M) man page to understand how the model scripts work.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2011 21:19:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/only-root-can-print-lpsched-error/m-p/5336901#M475844</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-09-19T21:19:23Z</dc:date>
    </item>
  </channel>
</rss>

