<?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: TFTP: Error code 2 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tftp-error-code-2/m-p/4958413#M415239</link>
    <description>It was a permissions issue with the directory.</description>
    <pubDate>Thu, 09 Feb 2006 15:26:45 GMT</pubDate>
    <dc:creator>S-un-B-ix-S</dc:creator>
    <dc:date>2006-02-09T15:26:45Z</dc:date>
    <item>
      <title>TFTP: Error code 2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tftp-error-code-2/m-p/4958406#M415232</link>
      <description>I have configured tftp on my HPUX 11i box, but I am receiving the following error when I attempt to transfer files to this box.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;tftp&amp;gt; get testfile /export/testfile&lt;BR /&gt;getting from systemA:testfile to /export/testfile [netascii]&lt;BR /&gt;sent RRQ &lt;FILE&gt;&lt;BR /&gt;received ERROR &lt;CODE&gt;&lt;BR /&gt;Error code 2: Access violation&lt;BR /&gt;&lt;BR /&gt;I followed these instructions (Still having issues though):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90147/ch05s04.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90147/ch05s04.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Here are the necessary outputs:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# grep tftp /etc/passwd&lt;BR /&gt;tftp:*:119:128:TFTP:/home/tftpdir:/usr/bin/false&lt;BR /&gt;&lt;BR /&gt;# grep tftp /etc/group&lt;BR /&gt;tftp::128:&lt;BR /&gt;##grep tftp /etc/inetd.conf&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;tftp        dgram  udp wait   root /usr/lbin/tftpd    tftpd\&lt;BR /&gt;/home/tftpdir&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;Any help would be much appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/FILE&gt;</description>
      <pubDate>Wed, 08 Feb 2006 15:56:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tftp-error-code-2/m-p/4958406#M415232</guid>
      <dc:creator>S-un-B-ix-S</dc:creator>
      <dc:date>2006-02-08T15:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: TFTP: Error code 2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tftp-error-code-2/m-p/4958407#M415233</link>
      <description>What's the ownership of the /home/tftpdir and file you're trying to retrieve. As it states in that doc, the file must be readable by the tftp user.</description>
      <pubDate>Wed, 08 Feb 2006 15:59:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tftp-error-code-2/m-p/4958407#M415233</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2006-02-08T15:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: TFTP: Error code 2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tftp-error-code-2/m-p/4958408#M415234</link>
      <description># ll /home&lt;BR /&gt;&lt;BR /&gt;drw-------   2 tftp       tftp            96 Feb  8 15:45 tftpdir&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;# ll /home/tftpdir&lt;BR /&gt;total 16&lt;BR /&gt;-rwxrwxrwx   1 tftp       tftp             4 Feb  8 15:45 testfile&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Feb 2006 16:02:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tftp-error-code-2/m-p/4958408#M415234</guid>
      <dc:creator>S-un-B-ix-S</dc:creator>
      <dc:date>2006-02-08T16:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: TFTP: Error code 2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tftp-error-code-2/m-p/4958409#M415235</link>
      <description>Think you need the execute bit on the directory as it states in the doc. Try it after "chmod u+x /home/tftpdir".</description>
      <pubDate>Wed, 08 Feb 2006 16:03:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tftp-error-code-2/m-p/4958409#M415235</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2006-02-08T16:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: TFTP: Error code 2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tftp-error-code-2/m-p/4958410#M415236</link>
      <description>&lt;BR /&gt;# ll&lt;BR /&gt;&lt;BR /&gt;drwx------   2 tftp       tftp            96 Feb  8 15:45 tftpdir&lt;BR /&gt;&lt;BR /&gt;Same thing as before ...&lt;BR /&gt;&lt;BR /&gt;ftp&amp;gt; get testfile /export/testfile&lt;BR /&gt;getting from systemA:testfile to /export/testfile [netascii]&lt;BR /&gt;sent RRQ &lt;FILE&gt;&lt;BR /&gt;received ERROR &lt;CODE&gt;&lt;BR /&gt;Error code 2: Access violation&lt;BR /&gt;&lt;/CODE&gt;&lt;/FILE&gt;</description>
      <pubDate>Wed, 08 Feb 2006 16:22:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tftp-error-code-2/m-p/4958410#M415236</guid>
      <dc:creator>S-un-B-ix-S</dc:creator>
      <dc:date>2006-02-08T16:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: TFTP: Error code 2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tftp-error-code-2/m-p/4958411#M415237</link>
      <description>Look at the permissions on the file at the "other" end:&lt;BR /&gt;&lt;BR /&gt;from  &lt;A href="http://docs.hp.com/en/B2355-90147/ch05s08.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90147/ch05s08.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Symptom:&lt;BR /&gt;File transfer fails with Access Violation, Permission Denied, or TFTP Error Code 2 message.&lt;BR /&gt;&lt;BR /&gt;Cause:&lt;BR /&gt;tftpd does not have permission to read the file.&lt;BR /&gt;&lt;BR /&gt;Action:&lt;BR /&gt;If the transfer is a get operation where the client is attempting to read the file from the server, then the server does not have read permissions on the file that it is trying to send. Ensure that the file the client is reading has read permissions for the user tftp. For example, if the client was attempting to read the file named xterm, xterm should be mode 0400 and owned by the user tftp:&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;$ ll /home/tftpdir/xterm-r-------- 1 tftp guest 438 May 10 1989 xterm &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;If the transfer is a put operation (which is not something a BOOTP client will be doing as part of the BOOTP protocol), then this message means that the file did not have sufficient write permissions for the server to write to the file. If the server is to receive a file, it must already exist and be writeable by the user tftp. For example, if a tftp client is sending the file named fontlist, the file must be mode 0600 and owned by tftp:&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;$ ll /home/tftpdir/fonts-rw------- 1 tftp guest 0 May 10 1989 fonts &lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Wed, 08 Feb 2006 16:33:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tftp-error-code-2/m-p/4958411#M415237</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2006-02-08T16:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: TFTP: Error code 2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tftp-error-code-2/m-p/4958412#M415238</link>
      <description>Turns out it was a permission issue - thanks again!</description>
      <pubDate>Thu, 09 Feb 2006 15:25:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tftp-error-code-2/m-p/4958412#M415238</guid>
      <dc:creator>S-un-B-ix-S</dc:creator>
      <dc:date>2006-02-09T15:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: TFTP: Error code 2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tftp-error-code-2/m-p/4958413#M415239</link>
      <description>It was a permissions issue with the directory.</description>
      <pubDate>Thu, 09 Feb 2006 15:26:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tftp-error-code-2/m-p/4958413#M415239</guid>
      <dc:creator>S-un-B-ix-S</dc:creator>
      <dc:date>2006-02-09T15:26:45Z</dc:date>
    </item>
  </channel>
</rss>

