Hi Nish,

Output from journalctl -xe below.

Mar 27 18:07:28 black systemd[1]: Failed to start LSB: HPA's tftp server.
-- Subject: Unit tftpd-hpa.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit tftpd-hpa.service has failed.
-- 
-- The result is failed.
Mar 27 18:07:28 black systemd[1]: tftpd-hpa.service: Unit entered failed
state.
Mar 27 18:07:28 black systemd[1]: tftpd-hpa.service: Failed with result
'exit-code'.
Mar 27 18:07:28 black systemd[1]: Reloading.
Mar 27 18:07:28 black systemd[1]: apt-daily.timer: Adding 8h 46min
40.502667s random time.
Mar 27 18:07:28 black systemd[1]: snapd.refresh.timer: Adding 5h 56min
21.506091s random t
Mar 27 18:07:28 black systemd[1]: snapd.refresh.timer: Adding 3h 28min
30.408407s random t
Mar 27 18:07:28 black systemd[1]: Started ACPI event daemon.
-- Subject: Unit acpid.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit acpid.service has finished starting up.
-- 
-- The start-up result is done.
Mar 27 18:07:28 black systemd[1]: Started CUPS Scheduler.
-- Subject: Unit cups.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit cups.service has finished starting up.
-- 
-- The start-up result is done.
Mar 27 18:07:30 black sudo[3987]: pam_unix(sudo:session): session closed
for user root
~

----------------------------------------------------------------------------------------------------------------

I then changed /etc/default/tftpd-hpa parm TFTP_ADDRESS="0.0.0.0:69" and
tried
sudo systemctl restart tftpd-hpa and
then  ...

$ journalctl -xe
Mar 27 18:14:21 black sudo[4845]: pam_unix(sudo:session): session opened
for user root by
Mar 27 18:14:21 black systemd[1]: Stopped LSB: HPA's tftp server.
-- Subject: Unit tftpd-hpa.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit tftpd-hpa.service has finished shutting down.
Mar 27 18:14:21 black systemd[1]: Starting LSB: HPA's tftp server...
-- Subject: Unit tftpd-hpa.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit tftpd-hpa.service has begun starting up.
Mar 27 18:14:21 black tftpd-hpa[4848]:  * Starting HPA's tftpd in.tftpd
Mar 27 18:14:21 black in.tftpd[4861]: cannot open IPv6 socket, disable
IPv6: Address famil
Mar 27 18:14:21 black in.tftpd[4861]: Cannot set nonblock flag on socket:
Bad file descrip
Mar 27 18:14:21 black systemd[1]: tftpd-hpa.service: Control process
exited, code=exited s
Mar 27 18:14:21 black systemd[1]: Failed to start LSB: HPA's tftp server.
-- Subject: Unit tftpd-hpa.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit tftpd-hpa.service has failed.
-- 
-- The result is failed.
Mar 27 18:14:21 black systemd[1]: tftpd-hpa.service: Unit entered failed
state.
Mar 27 18:14:21 black systemd[1]: tftpd-hpa.service: Failed with result
'exit-code'.
Mar 27 18:14:21 black sudo[4845]: pam_unix(sudo:session): session closed
for user root
Mar 27 18:14:52 black wpa_supplicant[1487]: wlp3s0: WPA: Group rekeying
completed with ec:
Mar 27 18:14:55 black wpa_supplicant[1487]: wlp3s0: CTRL-EVENT-DISCONNECTED
bssid=ec:08:6b
Mar 27 18:14:55 black NetworkManager[1126]: <warn>  [1490663695.9158]
sup-iface[0x1bb0580,
Mar 27 18:14:55 black NetworkManager[1126]: <info>  [1490663695.9355]
device (wlp3s0): sup
Mar 27 18:14:56 black NetworkManager[1126]: <info>  [1490663696.0209]
device (wlp3s0): sup
Mar 27 18:14:58 black ntpd[1737]: Deleting interface #2 wlp3s0,
192.168.14.67#123, interfa
Mar 27 18:14:58 black ntpd[1737]: 23.239.24.67 local addr 192.168.14.67 ->
<null>
Mar 27 18:14:58 black ntpd[1737]: 208.75.89.4 local addr 192.168.14.67 ->
<null>
Mar 27 18:14:58 black ntpd[1737]: 38.229.71.1 local addr 192.168.14.67 ->
<null>
Mar 27 18:14:58 black ntpd[1737]: 96.126.100.203 local addr 192.168.14.67
-> <null>
Mar 27 18:14:58 black ntpd[1737]: 97.127.21.25 local addr 192.168.14.67 ->
<null>
Mar 27 18:14:58 black ntpd[1737]: 50.22.155.163 local addr 192.168.14.67 ->
<null>
Mar 27 18:14:58 black ntpd[1737]: 208.75.88.4 local addr 192.168.14.67 ->
<null>
Mar 27 18:14:58 black ntpd[1737]: 52.6.160.3 local addr 192.168.14.67 ->
<null>
Mar 27 18:14:58 black ntpd[1737]: 129.250.35.251 local addr 192.168.14.67
-> <null>
Mar 27 18:14:58 black ntpd[1737]: 66.85.74.226 local addr 192.168.14.67 ->
<null>
Mar 27 18:14:58 black ntpd[1737]: 66.7.96.2 local addr 192.168.14.67 ->
<null>
Mar 27 18:14:58 black ntpd[1737]: 66.135.44.92 local addr 192.168.14.67 ->
<null>
Mar 27 18:14:58 black ntpd[1737]: 138.68.46.177 local addr 192.168.14.67 ->
<null>
Mar 27 18:15:01 black CRON[4874]: pam_unix(cron:session): session opened
for user root by
Mar 27 18:15:01 black CRON[4875]: (root) CMD (command -v debian-sa1 >
/dev/null && debian-
Mar 27 18:15:01 black CRON[4874]: pam_unix(cron:session): session closed
for user root
Mar 27 18:15:04 black wpa_supplicant[1487]: wlp3s0: SME: Trying to
authenticate with ec:08
Mar 27 18:15:04 black kernel: wlp3s0: authenticate with ec:08:6b:3a:a7:1a
Mar 27 18:15:04 black kernel: wlp3s0: send auth to ec:08:6b:3a:a7:1a (try
1/3)
Mar 27 18:15:04 black wpa_supplicant[1487]: wlp3s0: Trying to associate
with ec:08:6b:3a:a
Mar 27 18:15:04 black NetworkManager[1126]: <info>  [1490663704.6854]
device (wlp3s0): sup
Mar 27 18:15:04 black kernel: wlp3s0: authenticated
Mar 27 18:15:04 black kernel: wlp3s0: associate with ec:08:6b:3a:a7:1a (try
1/3)
Mar 27 18:15:04 black NetworkManager[1126]: <info>  [1490663704.6885]
device (wlp3s0): sup
Mar 27 18:15:04 black kernel: wlp3s0: RX AssocResp from ec:08:6b:3a:a7:1a
(capab=0x411 sta
Mar 27 18:15:04 black wpa_supplicant[1487]: wlp3s0: Associated with
ec:08:6b:3a:a7:1a
Mar 27 18:15:04 black kernel: wlp3s0: associated
Mar 27 18:15:04 black NetworkManager[1126]: <info>  [1490663704.7010]
device (wlp3s0): sup
Mar 27 18:15:04 black wpa_supplicant[1487]: wlp3s0: WPA: Key negotiation
completed with ec
Mar 27 18:15:04 black wpa_supplicant[1487]: wlp3s0: CTRL-EVENT-CONNECTED -
Connection to e
Mar 27 18:15:04 black NetworkManager[1126]: <info>  [1490663704.7144]
device (wlp3s0): sup
Mar 27 18:15:06 black ntpd[1737]: Listen normally on 3 wlp3s0
192.168.14.67:123
Mar 27 18:15:06 black ntpd[1737]: new interface(s) found: waking up resolver
lines 2570-2636/2636 (END)

------------------------------------------------------------------------------------------------------------------

I found workaround by enabling IPV6.


Thanks for looking into this.

On Mon, Mar 27, 2017 at 2:40 PM Nish Aravamudan <
nish.aravamu...@canonical.com> wrote:

> Hello and thank you for filing this bug report!
>
> Job for tftpd-hpa.service failed because the control process exited with
> error code. See "systemctl status tftpd-hpa.service" and "journalctl
> -xe" for details.
>
> Can you provide the output (unellipsized) from these commands?
>
> ** Changed in: tftp-hpa (Ubuntu)
>        Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1676122
>
> Title:
>   package tftpd-hpa 5.2+20150808-1ubuntu1 failed to install/upgrade:
>   subprocess installed post-installation script returned error exit
>   status 1
>
> Status in tftp-hpa package in Ubuntu:
>   Incomplete
>
> Bug description:
>   I just installed and below is the output...
>
>   $ apt-cache search tftpd
>   tftpd-hpa - HPA's tftp server
>   atftpd - advanced TFTP server
>   libnet-tftpd-perl - Perl extension for Trivial File Transfer Protocol
> Server
>   tftpd - Trivial file transfer protocol server
>   uec-provisioning-tftpd - the UEC Provisioning TFTP server
>   [h2o@black:~]
>   $ sudo apt-get install tftpd-hpa
>   Reading package lists... Done
>   Building dependency tree
>   Reading state information... Done
>   Suggested packages:
>     pxelinux
>   The following NEW packages will be installed:
>     tftpd-hpa
>   0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
>   Need to get 39.0 kB of archives.
>   After this operation, 115 kB of additional disk space will be used.
>   Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 tftpd-hpa
> amd64 5.2+20150808-1ubuntu1 [39.0 kB]
>   Fetched 39.0 kB in 0s (119 kB/s)
>   Preconfiguring packages ...
>   Selecting previously unselected package tftpd-hpa.
>   (Reading database ... 269081 files and directories currently installed.)
>   Preparing to unpack .../tftpd-hpa_5.2+20150808-1ubuntu1_amd64.deb ...
>   Unpacking tftpd-hpa (5.2+20150808-1ubuntu1) ...
>   Processing triggers for systemd (229-4ubuntu16) ...
>   Processing triggers for ureadahead (0.100.0-19) ...
>   ureadahead will be reprofiled on next reboot
>   Processing triggers for man-db (2.7.5-1) ...
>   Setting up tftpd-hpa (5.2+20150808-1ubuntu1) ...
>   Job for tftpd-hpa.service failed because the control process exited with
> error code. See "systemctl status tftpd-hpa.service" and "journalctl -xe"
> for details.
>   invoke-rc.d: initscript tftpd-hpa, action "start" failed.
>   ● tftpd-hpa.service - LSB: HPA's tftp server
>      Loaded: loaded (/etc/init.d/tftpd-hpa; bad; vendor preset: enabled)
>      Active: failed (Result: exit-code) since Sat 2017-03-25 23:03:20 PDT;
> 4ms ago
>        Docs: man:systemd-sysv-generator(8)
>     Process: 5005 ExecStart=/etc/init.d/tftpd-hpa start (code=exited,
> status=71)
>
>   Mar 25 23:03:20 black systemd[1]: Starting LSB: HPA's tftp server...
>   Mar 25 23:03:20 black tftpd-hpa[5005]:  * Starting HPA's tftpd in.tftpd
>   Mar 25 23:03:20 black systemd[1]: tftpd-hpa.service: Control process
> exited, code=ex...=71
>   Mar 25 23:03:20 black systemd[1]: Failed to start LSB: HPA's tftp server.
>   Mar 25 23:03:20 black systemd[1]: tftpd-hpa.service: Unit entered failed
> state.
>   Mar 25 23:03:20 black systemd[1]: tftpd-hpa.service: Failed with result
> 'exit-code'.
>   Hint: Some lines were ellipsized, use -l to show in full.
>   dpkg: error processing package tftpd-hpa (--configure):
>    subprocess installed post-installation script returned error exit
> status 1
>   Processing triggers for systemd (229-4ubuntu16) ...
>   Processing triggers for ureadahead (0.100.0-19) ...
>   Errors were encountered while processing:
>    tftpd-hpa
>   E: Sub-process /usr/bin/dpkg returned an error code (1)
>   [h2o@black:~]
>   $
>
>   ProblemType: Package
>   DistroRelease: Ubuntu 16.04
>   Package: tftpd-hpa 5.2+20150808-1ubuntu1
>   ProcVersionSignature: Ubuntu 4.4.0-66.87-generic 4.4.44
>   Uname: Linux 4.4.0-66-generic x86_64
>   ApportVersion: 2.20.1-0ubuntu2.5
>   AptOrdering:
>    tftpd-hpa: Install
>    tftpd-hpa: Configure
>    NULL: ConfigurePending
>   Architecture: amd64
>   Date: Sat Mar 25 23:03:20 2017
>   ErrorMessage: subprocess installed post-installation script returned
> error exit status 1
>   InstallationDate: Installed on 2017-02-19 (35 days ago)
>   InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64
> (20160719)
>   RelatedPackageVersions:
>    dpkg 1.18.4ubuntu1.1
>    apt  1.2.19
>   SourcePackage: tftp-hpa
>   Title: package tftpd-hpa 5.2+20150808-1ubuntu1 failed to
> install/upgrade: subprocess installed post-installation script returned
> error exit status 1
>   UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/tftp-hpa/+bug/1676122/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1676122

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tftp-hpa/+bug/1676122/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to