LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-20-2016, 10:38 AM   #1
olaoni
LQ Newbie
 
Registered: Feb 2016
Posts: 19

Rep: Reputation: Disabled
tftp-hpa only works when restart


Hi all,

I am running tftp-hpa server which was installed as shown below on Ubuntu 15.04

sudo apt-get install tftpd-hpa

The configuration file name tftp-hpa is located in /etc/defaults as shown

###################
# /etc/default/tftpd-hpa

RUN_DAEMON="yes"
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/var/lib/tftpboot"
TFTP_ADDRESS="[::]:69"
TFTP_OPTIONS="--secure"
###################


The problem is that I can transfer files from /var/lib/tftpboot only once. In order to perform further transfer I have to issue the restart on the server as follows.

sudo /etc/init.d/tftpd-hpa restart.

Failure to issue above command means that the tftpd server no longer respond to any tftp client request.

Any suggestions.
 
Old 02-23-2016, 02:28 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,857

Rep: Reputation: 161Reputation: 161
Add verbose logging when tftp-hpa starts and check logging within /var/log/messages to find out why it is failure at second times.
 
Old 02-23-2016, 04:04 PM   #3
olaoni
LQ Newbie
 
Registered: Feb 2016
Posts: 19

Original Poster
Rep: Reputation: Disabled
Hi nini09,

Thanks for your response. I abandon the tftpd-hpa server and installed aftpd server instead, this seems to be working okay. Having said that how do I go about adding verbose logging should in case in the future I have to use tftpd-hpa server?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tftp is not moving files, works when getting from localhost RileyTheWiley Linux - Newbie 1 01-16-2014 07:58 PM
start tftp server, xinetd restart adetheheat Linux - Software 2 09-20-2010 09:07 AM
The differences between these pakages TFTP, TFTPD, or with -HPA? lifeforce4 Debian 2 06-06-2008 04:00 PM
setting up netboot, dhcpd, tftp-hpa? 13ojo Linux - Server 0 04-11-2007 06:26 AM
I can't restart xinetd... nothing works - please help! hunterhunter Linux - Newbie 5 03-29-2006 03:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration