webdm failed to start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapweb |
Fix Released
|
Critical
|
Unassigned |
Bug Description
hi,
on my xenial machine, i had webdm installed with snapd v2.0.2 and working-
manik@ubuntu:~⟫ snap list
Name Version Rev Developer
ubuntu-core 16.04+20160419.
webdm 0.17 21 canonical
i updated the system and moved from snapd 2.0.2 to 2.0.5-
manik@ubuntu:
snapd:
Installed: 2.0.5
Candidate: 2.0.5
Version table:
*** 2.0.5 500
500 http://
100 /var/lib/
2.0.2 500
500 http://
manik@ubuntu:~⟫ dpkg -l snapd
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii snapd 2.0.5 amd64 Tool to interact with Ubuntu Core Snappy.
at this point, webdm stopped running. snap changes didn't list any errors, but localhost:4200 said "Failed to Connect" and netstat -ntlp did not show port 4200 as open-
manik@ubuntu:
3 Done 2016-05-
on further review with zyga, found this-
manik@ubuntu:~⟫ ll /etc/systemd/
-rw-r--r-- 1 root root 177 May 4 10:45 /etc/systemd/
-rw-r--r-- 1 root root 157 May 27 09:18 /etc/systemd/
-rw-r--r-- 1 root root 625 May 27 09:18 /etc/systemd/
manik@ubuntu:~⟫ systemctl status snap.webdm.snappyd
● snap.webdm.
Loaded: loaded (/etc/systemd/
Active: inactive (dead) (Result: exit-code) since Thu 2016-06-02 08:49:27 PDT; 50min ago
Main PID: 3072 (code=exited, status=1/FAILURE)
Jun 02 08:49:26 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:26 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:27 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:27 ubuntu systemd[1]: Stopped Service for snap application webdm.snappyd.
Jun 02 08:49:27 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:27 ubuntu systemd[1]: Failed to start Service for snap application webdm.snappyd.
manik@ubuntu:~⟫ journalctl -u snap.webdm.snappyd -n 1000
-- Logs begin at Thu 2016-06-02 08:49:23 PDT, end at Thu 2016-06-02 09:39:49 PDT. --
Jun 02 08:49:25 ubuntu systemd[1]: Started Service for snap application webdm.snappyd.
Jun 02 08:49:26 ubuntu ubuntu-
Jun 02 08:49:26 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:26 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:26 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:26 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:26 ubuntu systemd[1]: Stopped Service for snap application webdm.snappyd.
Jun 02 08:49:26 ubuntu systemd[1]: Started Service for snap application webdm.snappyd.
Jun 02 08:49:26 ubuntu ubuntu-
Jun 02 08:49:26 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:26 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:26 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:26 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:26 ubuntu systemd[1]: Stopped Service for snap application webdm.snappyd.
Jun 02 08:49:26 ubuntu systemd[1]: Started Service for snap application webdm.snappyd.
Jun 02 08:49:26 ubuntu ubuntu-
Jun 02 08:49:26 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:26 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:26 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:26 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:26 ubuntu systemd[1]: Stopped Service for snap application webdm.snappyd.
Jun 02 08:49:26 ubuntu systemd[1]: Started Service for snap application webdm.snappyd.
Jun 02 08:49:26 ubuntu ubuntu-
Jun 02 08:49:26 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:26 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:26 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:26 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:26 ubuntu systemd[1]: Stopped Service for snap application webdm.snappyd.
Jun 02 08:49:26 ubuntu systemd[1]: Started Service for snap application webdm.snappyd.
Jun 02 08:49:26 ubuntu ubuntu-
Jun 02 08:49:26 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:26 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:26 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:27 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:27 ubuntu systemd[1]: Stopped Service for snap application webdm.snappyd.
Jun 02 08:49:27 ubuntu systemd[1]: snap.webdm.
Jun 02 08:49:27 ubuntu systemd[1]: Failed to start Service for snap application webdm.snappyd.
please let me know if there's any other information you need.
/manik
Changed in webdm: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in snapweb: | |
status: | Incomplete → Fix Released |
I believe this is caused by systemd starting WebDM before the network is available.
When the snappyd daemon starts it broadcasts it's network address using Avahi/mDNS and as Chipaca discovered a while back, the Go implementation of mDNS crashes when the network is not there. I thought a workaround had been discovered at the time though?