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
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-
Support: http://
░░
░░ 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://
░░
░░ 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://
░░
░░ 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://
░░
░░ 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://
░░
░░ 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.
Active: failed (Result: exit-code) since Tue 2022-04-05 11:52:27 IST; 2min 7s ago
Docs: man:systemd-
Process: 10642 ExecStart=
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-
ProcVersionSign
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
CasperMD5CheckR
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
RelatedPackageV
dpkg 1.20.9ubuntu2
apt 2.3.9
SourcePackage: tftp-hpa
Title: package tftpd-hpa 5.2+20150808-
UpgradeStatus: No upgrade log present (probably fresh install)
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: www.ubuntu. com/support/ community
http://