<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>Hi Grant,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>No luck again with the w/a you provided.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Here is the result of more investigation:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>1) disabled (disable = yes) in /etc/xinetd.d/tftp</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>2) reboot or just "service xinetd restart"</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>3) run in.tftpd</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Writing to a new file still fails. This is what I discovered from /var/log/messages:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Sep 13 23:56:39 chl1 xinetd[2301]: START: tftp pid=3036 from=10.58.2.159</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>That is, xinetd automatically starts TFTP when a TFTP request comes in. 10.58.2.159 in fact is the IP address of the switch from which I'm trying to TFTP-ing.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Checking the processes it turns out that:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>[root@chl1 log]# ps -ef | grep tftp</DIV><DIV>root      3014  2813  0 23:55 pts/2    00:00:00 ./in.tftpd -c -v -u root -s /tftpboot</DIV><DIV>root      3036  2301  0 23:56 ?        00:00:00 in.tftpd -s /tftpboot</DIV><DIV>root      3043  2888  0 23:57 pts/3    00:00:00 grep tftp</DIV><DIV>[root@chl1 log]# </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>two tftpd are running. Apparently the one responding is the one w/o the '-c' option!!!</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Can someone please explain to me why xinetd is starting tftp, even if disabled!?!?!?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks,</DIV><DIV>Davide</DIV><DIV> </DIV><BR><DIV><DIV>On Sep 13, 2007, at 7:52 PM, Grant McChesney wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">On 9/13/07, <B class="gmail_sendername">Davide Grandis</B> <<A href="mailto:davide.grandis@fastwebnet.it">davide.grandis@fastwebnet.it</A>> wrote:<DIV><SPAN class="gmail_quote"></SPAN><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <DIV style=""><DIV>Hi Grant,</DIV><DIV><BR></DIV><DIV>Thanks for the support.</DIV><SPAN class="q"><BLOCKQUOTE type="cite"><BR>I had this same problem when trying to back up my switch configs.  After some googling, I found a workaround for RH-based systems.  The workaround is disable tftp in xinetd, and run in.tftpd manually.  I never figured out why it would not work with xinetd. <BR></BLOCKQUOTE><DIV><BR></DIV></SPAN><DIV>May I ask you to tell me the detailed steps to achieve that... I'm an absolute beginner! :-)</DIV> <DIV><BR></DIV><DIV>Thanks again,</DIV><SPAN class="sg"><DIV>Davide</DIV><DIV><BR></DIV><BR></SPAN></DIV></BLOCKQUOTE></DIV><BR>Here's the post about this problem on fedora forum:<BR><A href="http://forums.fedoraforum.org/archive/index.php/t-109735.html"> http://forums.fedoraforum.org/archive/index.php/t-109735.html</A><BR><BR>Here's the ugly workaround:<BR><BR>In /etc/xinetd.d/tftp, set disable  = yes<BR>Restart xinetd (/etc/init.d/xinetd restart)<BR>Run in.tftpd (for example, "/usr/sbin/in.tftpd -l -c -v -u root -s /tftpboot") <BR>You can add the previous command to /etc/rc.local to make it start on boot.<BR><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">CentOS mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:CentOS@centos.org">CentOS@centos.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</A></DIV> </BLOCKQUOTE></DIV><BR></BODY></HTML>