package tftpd-hpa 5.2+20150808-1.2build1 failed to install/upgrade: installed tftpd-hpa package post-installation script subprocess returned error exit status 1

Bug #1967829 reported by Ganesh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tftp-hpa (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Following error is displayed in terminal while trying to Start or Restart tftp-hpa service:

$sudo service tftpd-hpa start

Job for tftpd-hpa.service failed because the control process exited with error code.
See "systemctl status tftpd-hpa.service" and "journalctl -xeu tftpd-hpa.service" for details.

Following is the output of $sudo journalctl -xeutftpd-hpa.service)

 Support: http://www.ubuntu.com/support
░░
░░ A start job for unit tftpd-hpa.service has finished with a failure.
░░
░░ The job identifier is 4696 and the job result is failed.
Apr 05 11:52:27 V330-14IKB systemd[1]: Starting LSB: HPA's tftp server...
░░ Subject: A start job for unit tftpd-hpa.service has begun execution
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit tftpd-hpa.service has begun execution.
░░
░░ The job identifier is 4940.
Apr 05 11:52:27 V330-14IKB tftpd-hpa[10642]: * Starting HPA's tftpd in.tftpd
Apr 05 11:52:27 V330-14IKB in.tftpd[10649]: cannot bind to local IPv4 socket: Address already in use
Apr 05 11:52:27 V330-14IKB systemd[1]: tftpd-hpa.service: Control process exited, code=exited, status=71/OSERR
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit tftpd-hpa.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 71.
Apr 05 11:52:27 V330-14IKB systemd[1]: tftpd-hpa.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit tftpd-hpa.service has entered the 'failed' state with result 'exit-code'.
Apr 05 11:52:27 V330-14IKB systemd[1]: Failed to start LSB: HPA's tftp server.
░░ Subject: A start job for unit tftpd-hpa.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit tftpd-hpa.service has finished with a failure.
░░
░░ The job identifier is 4940 and the job result is failed.
lines 92-128/128 (END)

Following is the output of $sudo systemctl status tftpd-hpa.service$

sudo systemctl status tftpd-hpa.service
× tftpd-hpa.service - LSB: HPA's tftp server
     Loaded: loaded (/etc/init.d/tftpd-hpa; generated)
     Active: failed (Result: exit-code) since Tue 2022-04-05 11:52:27 IST; 2min 7s ago
       Docs: man:systemd-sysv-generator(8)
    Process: 10642 ExecStart=/etc/init.d/tftpd-hpa start (code=exited, status=71)
        CPU: 18ms

Apr 05 11:52:27 V330-14IKB systemd[1]: Starting LSB: HPA's tftp server...
Apr 05 11:52:27 V330-14IKB tftpd-hpa[10642]: * Starting HPA's tftpd in.tftpd
Apr 05 11:52:27 V330-14IKB in.tftpd[10649]: cannot bind to local IPv4 socket: Address already in use
Apr 05 11:52:27 V330-14IKB systemd[1]: tftpd-hpa.service: Control process exited, code=exited, status=71/OSERR
Apr 05 11:52:27 V330-14IKB systemd[1]: tftpd-hpa.service: Failed with result 'exit-code'.
Apr 05 11:52:27 V330-14IKB systemd[1]: Failed to start LSB: HPA's tftp server.

ProblemType: Package
DistroRelease: Ubuntu 21.10
Package: tftpd-hpa 5.2+20150808-1.2build1
ProcVersionSignature: Ubuntu 5.13.0-39.44-generic 5.13.19
Uname: Linux 5.13.0-39-generic x86_64
ApportVersion: 2.20.11-0ubuntu71.1
AptOrdering:
 tftpd:amd64: Remove
 tftpd-hpa:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: pass
Date: Tue Apr 5 11:41:26 2022
ErrorMessage: installed tftpd-hpa package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2021-11-28 (127 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
Python3Details: /usr/bin/python3.9, Python 3.9.7, python3-minimal, 3.9.4-1build1
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.18-9
RelatedPackageVersions:
 dpkg 1.20.9ubuntu2
 apt 2.3.9
SourcePackage: tftp-hpa
Title: package tftpd-hpa 5.2+20150808-1.2build1 failed to install/upgrade: installed tftpd-hpa package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ganesh (ganesh.kumbhar) wrote :
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

Hi Ganesh,

Thanks for reporting this issue!

I could not reproduce the issue locally. Here is what I tried so far:

From a clean focal VM, I installed tftpd tftp;
then, I installed tftpd-hpa, which is what it seems you have done by looking at your logs.

Also checking your logs, I see the following entry:

Apr 05 11:52:27 V330-14IKB in.tftpd[10649]: cannot bind to local IPv4 socket: Address already in use

Are you running the service manually or from a different third party package?

Could you provide detailed steps to reproduce the issue?

Since there is not enough information in your report to begin triage or to
differentiate between a local configuration problem and a bug in Ubuntu, I
am marking this bug as "Incomplete". We would be grateful if you would:
provide a more complete description of the problem, explain why you
believe this is a bug in Ubuntu rather than a problem specific to your
system, and then change the bug status back to "New".

For local configuration issues, you can find assistance here:
http://www.ubuntu.com/support/community

Changed in tftp-hpa (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tftp-hpa (Ubuntu) because there has been no activity for 60 days.]

Changed in tftp-hpa (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.