<?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: LPD not working -- &amp;quot;You are not authorized&amp;quot; errors in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lpd-not-working-quot-you-are-not-authorized-quot-errors/m-p/4128011#M315902</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;From what I understand, you get "permission denied" from REMOTE PRINTER QUEUES (or at least&lt;BR /&gt;some of them). From your message,&lt;BR /&gt;it looks like you get correct status of&lt;BR /&gt;local printers, or am I wrong in assuming so?&lt;BR /&gt;&lt;BR /&gt;a) Since you execute the command lpstat&lt;BR /&gt;as root, the permissions of commands are not&lt;BR /&gt;crucial part of your problem, unless some very&lt;BR /&gt;weird directory permissions on the spooling&lt;BR /&gt;directories.&lt;BR /&gt;&lt;BR /&gt;b) If the errors happen for certain remote printers, then the problem is probably on the&lt;BR /&gt;remote server that manages the print queues.&lt;BR /&gt;&lt;BR /&gt;For example, remote server (if it is an HP-UX host) might use /var/adm/inetd.sec to manage&lt;BR /&gt;access to printer protocol, or&lt;BR /&gt;maybe rlpdaemon is disabled in /etc/inetd.conf, or inetd is down, and so on).&lt;BR /&gt;&lt;BR /&gt;c) Make sure that all printers are reachable&lt;BR /&gt;(basic check is ICMP test like ping,&lt;BR /&gt;or open port 9100 if JetDirect, 515 for standard spoolers, and so on).&lt;BR /&gt;&lt;BR /&gt;I recently had an audit of a customer&lt;BR /&gt;who had around 500 printer queues on&lt;BR /&gt;HP-UX servers and only around 150 were&lt;BR /&gt;active (the rest were obsolete, dead&lt;BR /&gt;printers).&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
    <pubDate>Sat, 12 Jan 2008 06:05:24 GMT</pubDate>
    <dc:creator>VK2COT</dc:creator>
    <dc:date>2008-01-12T06:05:24Z</dc:date>
    <item>
      <title>LPD not working -- "You are not authorized" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpd-not-working-quot-you-are-not-authorized-quot-errors/m-p/4128002#M315893</link>
      <description>Our HP-UX 11 system lpd print services are not working.   When we do a lpstat, we get these errors after it displays remote queue names (running lpstat as root):&lt;BR /&gt;: lpd: You are not authorized for line printer access&lt;BR /&gt;&lt;BR /&gt;Anyone know what the problem could be?</description>
      <pubDate>Fri, 11 Jan 2008 18:24:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpd-not-working-quot-you-are-not-authorized-quot-errors/m-p/4128002#M315893</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2008-01-11T18:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPD not working -- "You are not authorized" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpd-not-working-quot-you-are-not-authorized-quot-errors/m-p/4128003#M315894</link>
      <description>Hi Debbie:&lt;BR /&gt;&lt;BR /&gt;Verify that your permissions and ownership of '/usr/bin/lpstat' look like:&lt;BR /&gt;&lt;BR /&gt;-r-sr-xr-x   1 lp         bin          53248 Jun  2  2006 /usr/bin/lpstat&lt;BR /&gt;&lt;BR /&gt;If not, do:&lt;BR /&gt;&lt;BR /&gt;# chmod 4555 /usr/bin/lpstat&lt;BR /&gt;# chown lp:bin /usr/bin/lpstat&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 11 Jan 2008 18:31:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpd-not-working-quot-you-are-not-authorized-quot-errors/m-p/4128003#M315894</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-01-11T18:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: LPD not working -- "You are not authorized" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpd-not-working-quot-you-are-not-authorized-quot-errors/m-p/4128004#M315895</link>
      <description>Permissions of lpstat match what you recommend.</description>
      <pubDate>Fri, 11 Jan 2008 18:37:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpd-not-working-quot-you-are-not-authorized-quot-errors/m-p/4128004#M315895</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2008-01-11T18:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPD not working -- "You are not authorized" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpd-not-working-quot-you-are-not-authorized-quot-errors/m-p/4128005#M315896</link>
      <description>Hi (again) Debbie:&lt;BR /&gt;&lt;BR /&gt;OK, verify:&lt;BR /&gt;&lt;BR /&gt;-r-sr-xr-x   1 root       bin          73728 Jun  2  2006 /usr/sbin/rlpdaemon&lt;BR /&gt;&lt;BR /&gt;-r-sr-xr-x   1 root       bin          53248 Jun  2  2006 /usr/sbin/lpsched&lt;BR /&gt;-r-sr-xr-x   1 lp         bin          40960 Jun  2  2006 /usr/bin/cancel&lt;BR /&gt;-r-sr-xr-x   1 lp         bin          28672 Jun  2  2006 /usr/bin/disable&lt;BR /&gt;-r-sr-xr-x   1 lp         bin          20480 Jun  2  2006 /usr/bin/enable&lt;BR /&gt;-r-sr-xr-x   1 lp         bin          53248 Jun  2  2006 /usr/bin/lpstat&lt;BR /&gt;-r-sr-xr-x   1 lp         bin          16384 Nov 14  2000 /usr/bin/slp&lt;BR /&gt;-r-sr-xr-x   1 lp         bin          20480 Jun  2  2006 /usr/sbin/accept&lt;BR /&gt;-r-sr-xr-x   1 lp         bin          24576 Jun  2  2006 /usr/sbin/lpfence&lt;BR /&gt;-r-sr-xr-x   1 lp         bin          28672 Jun  2  2006 /usr/sbin/lpmove&lt;BR /&gt;-r-sr-xr-x   1 lp         bin          16384 Jun  2  2006 /usr/sbin/lpshut&lt;BR /&gt;-r-sr-xr-x   1 lp         bin          20480 Jun  2  2006 /usr/sbin/reject&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jan 2008 18:50:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpd-not-working-quot-you-are-not-authorized-quot-errors/m-p/4128005#M315896</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-01-11T18:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: LPD not working -- "You are not authorized" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpd-not-working-quot-you-are-not-authorized-quot-errors/m-p/4128006#M315897</link>
      <description>Those permissions check out OK too.   The main problem is not with being able to view the print queues, lpd is not working.</description>
      <pubDate>Fri, 11 Jan 2008 19:10:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpd-not-working-quot-you-are-not-authorized-quot-errors/m-p/4128006#M315897</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2008-01-11T19:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: LPD not working -- "You are not authorized" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpd-not-working-quot-you-are-not-authorized-quot-errors/m-p/4128007#M315898</link>
      <description>Hi (again) Debbie:&lt;BR /&gt;&lt;BR /&gt;Does your '/etc/inetd.conf' have the daemon:&lt;BR /&gt;&lt;BR /&gt;printer     stream tcp nowait root /usr/sbin/rlpdaemon  rlpdaemon -i&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 11 Jan 2008 19:14:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpd-not-working-quot-you-are-not-authorized-quot-errors/m-p/4128007#M315898</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-01-11T19:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPD not working -- "You are not authorized" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpd-not-working-quot-you-are-not-authorized-quot-errors/m-p/4128008#M315899</link>
      <description>Yes, inet.conf is fine</description>
      <pubDate>Fri, 11 Jan 2008 19:19:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpd-not-working-quot-you-are-not-authorized-quot-errors/m-p/4128008#M315899</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2008-01-11T19:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: LPD not working -- "You are not authorized" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpd-not-working-quot-you-are-not-authorized-quot-errors/m-p/4128009#M315900</link>
      <description>Hi Debbie:&lt;BR /&gt;&lt;BR /&gt;Also verify:&lt;BR /&gt;&lt;BR /&gt;-r-sr-xr--   1 root       lp           32768 Jun  2  2006 /usr/sbin/rlp&lt;BR /&gt;&lt;BR /&gt;...and have a look at Technical Knowledge Base document ID: emr_na-c00879850-3&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 11 Jan 2008 19:37:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpd-not-working-quot-you-are-not-authorized-quot-errors/m-p/4128009#M315900</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-01-11T19:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPD not working -- "You are not authorized" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpd-not-working-quot-you-are-not-authorized-quot-errors/m-p/4128010#M315901</link>
      <description>There are a lot of parts to the spooler. Use this command to track down the permission problem:&lt;BR /&gt; &lt;BR /&gt;swverify -v PrinterMgmt.LP-SPOOL&lt;BR /&gt; &lt;BR /&gt;At the end of this command, there is a line for swjob that will show the results. Any errors in the /usr/share directory can be ignored -- these are just man page directories. The swverify command will look at every part of the spooler.</description>
      <pubDate>Sat, 12 Jan 2008 01:53:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpd-not-working-quot-you-are-not-authorized-quot-errors/m-p/4128010#M315901</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-01-12T01:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPD not working -- "You are not authorized" errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpd-not-working-quot-you-are-not-authorized-quot-errors/m-p/4128011#M315902</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;From what I understand, you get "permission denied" from REMOTE PRINTER QUEUES (or at least&lt;BR /&gt;some of them). From your message,&lt;BR /&gt;it looks like you get correct status of&lt;BR /&gt;local printers, or am I wrong in assuming so?&lt;BR /&gt;&lt;BR /&gt;a) Since you execute the command lpstat&lt;BR /&gt;as root, the permissions of commands are not&lt;BR /&gt;crucial part of your problem, unless some very&lt;BR /&gt;weird directory permissions on the spooling&lt;BR /&gt;directories.&lt;BR /&gt;&lt;BR /&gt;b) If the errors happen for certain remote printers, then the problem is probably on the&lt;BR /&gt;remote server that manages the print queues.&lt;BR /&gt;&lt;BR /&gt;For example, remote server (if it is an HP-UX host) might use /var/adm/inetd.sec to manage&lt;BR /&gt;access to printer protocol, or&lt;BR /&gt;maybe rlpdaemon is disabled in /etc/inetd.conf, or inetd is down, and so on).&lt;BR /&gt;&lt;BR /&gt;c) Make sure that all printers are reachable&lt;BR /&gt;(basic check is ICMP test like ping,&lt;BR /&gt;or open port 9100 if JetDirect, 515 for standard spoolers, and so on).&lt;BR /&gt;&lt;BR /&gt;I recently had an audit of a customer&lt;BR /&gt;who had around 500 printer queues on&lt;BR /&gt;HP-UX servers and only around 150 were&lt;BR /&gt;active (the rest were obsolete, dead&lt;BR /&gt;printers).&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Sat, 12 Jan 2008 06:05:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpd-not-working-quot-you-are-not-authorized-quot-errors/m-p/4128011#M315902</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2008-01-12T06:05:24Z</dc:date>
    </item>
  </channel>
</rss>

