[CentOS] [CentOS 5] tftp-server,
unable to create new files (even with "-c" option)
Ross S. W. Walker
rwalker at medallion.com
Thu Sep 13 18:01:54 UTC 2007
Grant McChesney wrote:
> On 9/13/07, Davide Grandis <davide.grandis at fastwebnet.it> wrote:
> Hi Grant,
> Thanks for the support.
> 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.
> May I ask you to tell me the detailed steps to achieve
> that... I'm an absolute beginner! :-)
> Thanks again,
> Here's the post about this problem on fedora forum:
> Here's the ugly workaround:
> In /etc/xinetd.d/tftp, set disable = yes
> Restart xinetd (/etc/init.d/xinetd restart)
> Run in.tftpd (for example, "/usr/sbin/in.tftpd -l -c -v -u
> root -s /tftpboot")
> You can add the previous command to /etc/rc.local to make it
> start on boot.
I would not run tftpd as user root! "-u root"
I have tftpd server working in CentOS 5 via xinetd you can also
get xinetd to start up an instance at startup and keep it running
with an option if that is what it takes to make it work.
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.
More information about the CentOS