DWM1001 Gateway MQTT not working after install ROS

Hi, I had one Raspberry pi 3 connected with dwm1001 as a bridge. The Web Manager worked well before I installed ROS. After I followed this tutorial to build ROS in Raspberry pi,

http://wiki.ros.org/ROSberryPi/Installing%20ROS%20Kinetic%20on%20the%20Raspberry%20Pi

the MQTT Broker seems not working and i couldn’t figure out why.

Here are part logs about dwm.

Tue 15 Oct 07:17:34 UTC 2019
Starting daemon dwm-daemon with command ‘/usr/local/bin/dwm-daemon’ and options ‘-c /etc/dwm1001/dwm1001.config -l /var/log/dwm-daemon.log’…

2019-10-15 07:17:35.378 INFO [509] [leaps::core::run@60] starting…
2019-10-15 07:17:35.715 ERROR [509] [leaps::core::write@388] write failed! error -1
2019-10-15 07:17:40.717 INFO [509] [leaps::core::run@134] stopping…

Tue 15 Oct 16:11:39 UTC 2019
Stopping daemon dwm-daemon…

/var/log/dwm-daemon.log:
Tue 15 Oct 16:11:52 UTC 2019
Starting daemon dwm-daemon with command ‘/usr/local/bin/dwm-daemon’ and options ‘-c /etc/dwm1001/dwm1001.config -l /var/log/dwm-daemon.log’…

2019-10-15 16:11:53.285 INFO [489] [leaps::core::run@60] starting…
2019-10-15 16:11:53.294 ERROR [489] [leaps::core::write@388] write failed! error -1
2019-10-15 16:11:58.295 INFO [489] [leaps::core::run@134] stopping…
2019-10-15 17:29:21.649 INFO [1370] [leaps::core::run@60] starting…
2019-10-15 17:29:21.652 ERROR [1370] [leaps::core::write@388] write failed! error -1
2019-10-15 17:29:26.653 INFO [1370] [leaps::core::run@134] stopping…

/var/log/dwm-proxy.log:
[Wed Feb 6 14:43:12 2019 INF] client: connected 127.0.0.1:40816 <-> 127.0.0.1:1883
[Wed Feb 6 14:43:12 2019 INF] client: connected 127.0.0.1:40822 <-> 127.0.0.1:1883
[Wed Feb 6 14:43:12 2019 INF] client: close 127.0.0.1:40816 <-> 127.0.0.1:1883
[Wed Feb 6 14:43:12 2019 INF] client: terminate
[Wed Feb 6 14:43:13 2019 INF] client: close 127.0.0.1:40822 <-> 127.0.0.1:1883
[Wed Feb 6 14:43:13 2019 INF] client: terminate
[Wed Feb 6 15:16:13 2019 INF] client: connected 127.0.0.1:40828 <-> 127.0.0.1:1883
[Wed Feb 6 15:16:13 2019 INF] client: connected 127.0.0.1:40834 <-> 127.0.0.1:1883
[Wed Feb 6 15:16:13 2019 INF] client: close 127.0.0.1:40828 <-> 127.0.0.1:1883
[Wed Feb 6 15:16:13 2019 INF] client: terminate
[Wed Feb 6 15:16:15 2019 INF] client: close 127.0.0.1:40834 <-> 127.0.0.1:1883
[Wed Feb 6 15:16:15 2019 INF] client: terminate
[Wed Feb 6 16:35:24 2019 INF] client: connected 127.0.0.1:40840 <-> 127.0.0.1:1883
[Wed Feb 6 16:35:24 2019 INF] client: connected 127.0.0.1:40846 <-> 127.0.0.1:1883
[Wed Feb 6 16:35:24 2019 INF] client: close 127.0.0.1:40840 <-> 127.0.0.1:1883
[Wed Feb 6 16:35:24 2019 INF] client: terminate
[Wed Feb 6 16:35:26 2019 INF] client: close 127.0.0.1:40846 <-> 127.0.0.1:1883
[Wed Feb 6 16:35:26 2019 INF] client: terminate
[Wed Feb 6 16:46:14 2019 INF] client: connected 127.0.0.1:40852 <-> 127.0.0.1:1883
[Wed Feb 6 16:46:14 2019 INF] client: connected 127.0.0.1:40858 <-> 127.0.0.1:1883
[Wed Feb 6 16:46:14 2019 INF] client: close 127.0.0.1:40852 <-> 127.0.0.1:1883
[Wed Feb 6 16:46:14 2019 INF] client: terminate
[Wed Feb 6 16:46:44 2019 INF] client: close 127.0.0.1:40858 <-> 127.0.0.1:1883
[Wed Feb 6 16:46:44 2019 INF] client: terminate
[Wed Feb 6 16:46:53 2019 INF] client: connected 127.0.0.1:40864 <-> 127.0.0.1:1883
[Wed Feb 6 16:46:53 2019 INF] client: close 127.0.0.1:40864 <-> 127.0.0.1:1883
[Wed Feb 6 16:46:53 2019 INF] client: terminate
[Wed Feb 6 16:46:53 2019 INF] client: connected 127.0.0.1:40870 <-> 127.0.0.1:1883
[Wed Feb 6 16:47:25 2019 INF] client: close 127.0.0.1:40870 <-> 127.0.0.1:1883
[Wed Feb 6 16:47:25 2019 INF] client: terminate
[Wed Feb 6 16:49:49 2019 INF] main: killed (SIGINT)
[Wed Feb 6 16:49:56 2019 INF] service: terminate
[Wed Feb 6 16:49:56 2019 INF] main: terminate
[Wed Feb 6 16:50:01 2019 INF] main: waiting for incoming connections…
[Wed Feb 6 16:50:01 2019 ERR] service: connect to MQTT server (err=-4)
[Wed Feb 6 16:50:07 2019 INF] client: connected 127.0.0.1:51382 <-> 127.0.0.1:1883
[Wed Feb 6 16:50:07 2019 INF] client: connected 127.0.0.1:51386 <-> 127.0.0.1:1883
[Wed Feb 6 16:50:07 2019 INF] client: close 127.0.0.1:51382 <-> 127.0.0.1:1883
[Wed Feb 6 16:50:07 2019 INF] client: terminate
[Wed Feb 6 16:51:24 2019 INF] main: killed (SIGINT)
[Wed Feb 6 16:51:24 2019 INF] client: close 127.0.0.1:51386 <-> 127.0.0.1:1883
[Wed Feb 6 16:51:25 2019 INF] client: terminate
[Wed Feb 6 16:51:24 2019 INF] service: terminate
[Wed Feb 6 16:51:25 2019 INF] main: terminate
[Wed Feb 6 16:52:00 2019 INF] main: waiting for incoming connections…
[Wed Feb 6 16:52:00 2019 ERR] service: connect to MQTT server (err=-4)
[Wed Feb 6 16:52:06 2019 INF] client: connected 127.0.0.1:53310 <-> 127.0.0.1:1883
[Wed Feb 6 16:52:06 2019 INF] client: close 127.0.0.1:53310 <-> 127.0.0.1:1883
[Wed Feb 6 16:52:06 2019 INF] client: terminate
[Wed Feb 6 16:52:06 2019 INF] client: connected 127.0.0.1:53316 <-> 127.0.0.1:1883
[Thu Feb 7 06:31:30 2019 INF] main: waiting for incoming connections…
[Thu Feb 7 06:31:30 2019 ERR] service: connect to MQTT server (err=-4)
[Thu Feb 7 06:31:35 2019 INF] client: connected 127.0.0.1:51598 <-> 127.0.0.1:1883
[Thu Feb 7 06:31:35 2019 INF] client: close 127.0.0.1:51598 <-> 127.0.0.1:1883
[Thu Feb 7 06:31:35 2019 INF] client: terminate
[Thu Feb 7 06:31:35 2019 INF] client: connected 127.0.0.1:51604 <-> 127.0.0.1:1883
[Thu Feb 7 08:46:08 2019 INF] client: close 127.0.0.1:51604 <-> 127.0.0.1:1883
[Thu Feb 7 08:46:08 2019 INF] client: terminate
[Thu Feb 7 08:46:08 2019 INF] client: connected 127.0.0.1:51610 <-> 127.0.0.1:1883
[Thu Feb 7 08:46:20 2019 INF] main: killed (SIGINT)
[Thu Feb 7 08:46:20 2019 INF] client: close 127.0.0.1:51610 <-> 127.0.0.1:1883
[Thu Feb 7 08:46:22 2019 INF] client: terminate
[Thu Feb 7 08:46:22 2019 INF] service: terminate
[Thu Feb 7 08:46:22 2019 INF] main: terminate
[Thu Feb 7 08:47:01 2019 INF] main: waiting for incoming connections…
[Thu Feb 7 08:47:01 2019 ERR] service: connect to MQTT server (err=-4)
[Thu Feb 7 08:47:06 2019 INF] client: connected 127.0.0.1:54906 <-> 127.0.0.1:1883
[Thu Feb 7 08:47:06 2019 INF] client: close 127.0.0.1:54906 <-> 127.0.0.1:1883
[Thu Feb 7 08:47:06 2019 INF] client: terminate
[Thu Feb 7 08:47:06 2019 INF] client: connected 127.0.0.1:54912 <-> 127.0.0.1:1883
[Thu Feb 7 08:56:50 2019 INF] main: killed (SIGINT)
[Thu Feb 7 08:56:50 2019 INF] client: close 127.0.0.1:54912 <-> 127.0.0.1:1883
[Thu Feb 7 08:56:50 2019 INF] client: terminate
[Thu Feb 7 08:56:57 2019 INF] service: terminate
[Thu Feb 7 08:56:57 2019 INF] main: terminate
[Thu Feb 7 08:57:32 2019 INF] main: waiting for incoming connections…
[Thu Feb 7 08:57:32 2019 ERR] service: connect to MQTT server (err=-4)
[Thu Feb 7 08:57:37 2019 INF] client: connected 127.0.0.1:42248 <-> 127.0.0.1:1883
[Thu Feb 7 08:57:37 2019 INF] client: close 127.0.0.1:42248 <-> 127.0.0.1:1883
[Thu Feb 7 08:57:37 2019 INF] client: terminate
[Thu Feb 7 08:57:37 2019 INF] client: connected 127.0.0.1:42254 <-> 127.0.0.1:1883
[Thu Feb 7 09:01:32 2019 INF] main: killed (SIGINT)
[Thu Feb 7 09:01:32 2019 INF] client: close 127.0.0.1:42254 <-> 127.0.0.1:1883
[Thu Feb 7 09:01:32 2019 INF] client: terminate
[Thu Feb 7 09:01:38 2019 INF] service: terminate
[Thu Feb 7 09:01:38 2019 INF] main: terminate
[Thu Feb 7 09:02:07 2019 INF] main: waiting for incoming connections…
[Thu Feb 7 09:02:07 2019 ERR] service: connect to MQTT server (err=-4)
[Thu Feb 7 09:02:13 2019 INF] client: connected 127.0.0.1:34276 <-> 127.0.0.1:1883
[Thu Feb 7 09:02:13 2019 INF] client: close 127.0.0.1:34276 <-> 127.0.0.1:1883
[Thu Feb 7 09:02:13 2019 INF] client: terminate
[Thu Feb 7 09:02:13 2019 INF] client: connected 127.0.0.1:34282 <-> 127.0.0.1:1883
[Thu Feb 7 09:23:19 2019 INF] client: connected 169.254.224.36:50688 <-> 127.0.0.1:1883
[Thu Feb 7 09:23:38 2019 INF] client: close 169.254.224.36:50688 <-> 127.0.0.1:1883
[Thu Feb 7 09:23:38 2019 INF] client: terminate
[Thu Feb 7 09:28:46 2019 INF] client: connected 169.254.224.36:50760 <-> 127.0.0.1:1883
[Thu Feb 7 09:30:03 2019 INF] client: close 169.254.224.36:50760 <-> 127.0.0.1:1883
[Thu Feb 7 09:30:03 2019 INF] client: terminate
[Thu Feb 7 09:30:08 2019 INF] client: connected 169.254.224.36:50769 <-> 127.0.0.1:1883
[Thu Feb 7 09:30:08 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:08 2019 WRN] process: unexpected msg[2]=[v1] len[76]=[1J]
[Thu Feb 7 09:30:08 2019 WRN] processed=0 ilen=76
[Thu Feb 7 09:30:08 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:08 2019 WRN] process: unexpected msg[7]=[Windows] len[79]=[1M]
[Thu Feb 7 09:30:08 2019 WRN] processed=0 ilen=250
[Thu Feb 7 09:30:08 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:08 2019 WRN] process: unexpected msg[9]=[CPU Model] len[85]=[1S]
[Thu Feb 7 09:30:08 2019 WRN] processed=79 ilen=250
[Thu Feb 7 09:30:08 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:08 2019 WRN] process: unexpected msg[10]=[1000000000] len[86]=[1T]
[Thu Feb 7 09:30:08 2019 WRN] processed=164 ilen=250
[Thu Feb 7 09:30:13 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:13 2019 WRN] process: unexpected msg[13]=[temp,c=30.500] len[82]=[1P]
[Thu Feb 7 09:30:13 2019 WRN] processed=0 ilen=82
[Thu Feb 7 09:30:13 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:13 2019 WRN] process: unexpected msg[12]=[lum,lux=1000] len[81]=[1O]
[Thu Feb 7 09:30:13 2019 WRN] processed=0 ilen=160
[Thu Feb 7 09:30:13 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:13 2019 WRN] process: unexpected msg[10]=[bp,hpa=800] len[79]=[1M]
[Thu Feb 7 09:30:13 2019 WRN] processed=81 ilen=160
[Thu Feb 7 09:30:18 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:18 2019 WRN] process: unexpected msg[13]=[temp,c=30.500] len[82]=[1P]
[Thu Feb 7 09:30:18 2019 WRN] processed=0 ilen=82
[Thu Feb 7 09:30:18 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:18 2019 WRN] process: unexpected msg[12]=[lum,lux=1000] len[81]=[1O]
[Thu Feb 7 09:30:18 2019 WRN] processed=0 ilen=160
[Thu Feb 7 09:30:18 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:18 2019 WRN] process: unexpected msg[10]=[bp,hpa=800] len[79]=[1M]
[Thu Feb 7 09:30:18 2019 WRN] processed=81 ilen=160
[Thu Feb 7 09:30:23 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:23 2019 WRN] process: unexpected msg[13]=[temp,c=30.500] len[82]=[1P]
[Thu Feb 7 09:30:23 2019 WRN] processed=0 ilen=82
[Thu Feb 7 09:30:23 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:23 2019 WRN] process: unexpected msg[12]=[lum,lux=1000] len[81]=[1O]
[Thu Feb 7 09:30:23 2019 WRN] processed=0 ilen=160
[Thu Feb 7 09:30:23 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:23 2019 WRN] process: unexpected msg[10]=[bp,hpa=800] len[79]=[1M]
[Thu Feb 7 09:30:23 2019 WRN] processed=81 ilen=160
[Thu Feb 7 09:30:28 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:28 2019 WRN] process: unexpected msg[13]=[temp,c=30.500] len[82]=[1P]
[Thu Feb 7 09:30:28 2019 WRN] processed=0 ilen=82
[Thu Feb 7 09:30:28 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:28 2019 WRN] process: unexpected msg[12]=[lum,lux=1000] len[81]=[1O]
[Thu Feb 7 09:30:28 2019 WRN] processed=0 ilen=160
[Thu Feb 7 09:30:28 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:28 2019 WRN] process: unexpected msg[10]=[bp,hpa=800] len[79]=[1M]
[Thu Feb 7 09:30:28 2019 WRN] processed=81 ilen=160
[Thu Feb 7 09:30:33 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:33 2019 WRN] process: unexpected msg[13]=[temp,c=30.500] len[82]=[1P]
[Thu Feb 7 09:30:33 2019 WRN] processed=0 ilen=82
[Thu Feb 7 09:30:33 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:33 2019 WRN] process: unexpected msg[12]=[lum,lux=1000] len[81]=[1O]
[Thu Feb 7 09:30:33 2019 WRN] processed=0 ilen=160
[Thu Feb 7 09:30:33 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:33 2019 WRN] process: unexpected msg[10]=[bp,hpa=800] len[79]=[1M]
[Thu Feb 7 09:30:33 2019 WRN] processed=81 ilen=160
[Thu Feb 7 09:30:38 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:38 2019 WRN] process: unexpected msg[13]=[temp,c=30.500] len[82]=[1P]
[Thu Feb 7 09:30:38 2019 WRN] processed=0 ilen=82
[Thu Feb 7 09:30:38 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:38 2019 WRN] process: unexpected msg[12]=[lum,lux=1000] len[81]=[1O]
[Thu Feb 7 09:30:38 2019 WRN] processed=0 ilen=160
[Thu Feb 7 09:30:38 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:38 2019 WRN] process: unexpected msg[10]=[bp,hpa=800] len[79]=[1M]
[Thu Feb 7 09:30:38 2019 WRN] processed=81 ilen=160
[Thu Feb 7 09:30:43 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:43 2019 WRN] process: unexpected msg[13]=[temp,c=30.500] len[82]=[1P]
[Thu Feb 7 09:30:44 2019 WRN] processed=0 ilen=82
[Thu Feb 7 09:30:44 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:44 2019 WRN] process: unexpected msg[12]=[lum,lux=1000] len[81]=[1O]
[Thu Feb 7 09:30:44 2019 WRN] processed=0 ilen=160
[Thu Feb 7 09:30:44 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:44 2019 WRN] process: unexpected msg[10]=[bp,hpa=800] len[79]=[1M]
[Thu Feb 7 09:30:44 2019 WRN] processed=81 ilen=160
[Thu Feb 7 09:30:48 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:48 2019 WRN] process: unexpected msg[13]=[temp,c=30.500] len[82]=[1P]
[Thu Feb 7 09:30:48 2019 WRN] processed=0 ilen=82
[Thu Feb 7 09:30:48 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:48 2019 WRN] process: unexpected msg[12]=[lum,lux=1000] len[81]=[1O]
[Thu Feb 7 09:30:48 2019 WRN] processed=0 ilen=160
[Thu Feb 7 09:30:48 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:48 2019 WRN] process: unexpected msg[10]=[bp,hpa=800] len[79]=[1M]
[Thu Feb 7 09:30:48 2019 WRN] processed=81 ilen=160
[Thu Feb 7 09:30:53 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:53 2019 WRN] process: unexpected msg[13]=[temp,c=30.500] len[82]=[1P]
[Thu Feb 7 09:30:53 2019 WRN] processed=0 ilen=82
[Thu Feb 7 09:30:53 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:53 2019 WRN] process: unexpected msg[12]=[lum,lux=1000] len[81]=[1O]
[Thu Feb 7 09:30:53 2019 WRN] processed=0 ilen=160
[Thu Feb 7 09:30:53 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:53 2019 WRN] process: unexpected msg[10]=[bp,hpa=800] len[79]=[1M]
[Thu Feb 7 09:30:53 2019 WRN] processed=81 ilen=160
[Thu Feb 7 09:30:58 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:58 2019 WRN] process: unexpected msg[13]=[temp,c=30.500] len[82]=[1P]
[Thu Feb 7 09:30:58 2019 WRN] processed=0 ilen=82
[Thu Feb 7 09:30:58 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:58 2019 WRN] process: unexpected msg[12]=[lum,lux=1000] len[81]=[1O]
[Thu Feb 7 09:30:58 2019 WRN] processed=0 ilen=160
[Thu Feb 7 09:30:58 2019 WRN] process: MQTT topic node ID (err=-4)
[Thu Feb 7 09:30:58 2019 WRN] process: unexpected msg[10]=[bp,hpa=800] len[79]=[1M]
[Thu Feb 7 09:30:58 2019 WRN] processed=81 ilen=160
[Thu Feb 7 09:31:01 2019 INF] client: close 169.254.224.36:50769 <-> 127.0.0.1:1883
[Thu Feb 7 09:31:01 2019 INF] client: terminate
[Thu Feb 7 09:31:04 2019 INF] client: connected 169.254.224.36:50772 <-> 127.0.0.1:1883
[Thu Feb 7 09:31:26 2019 INF] client: close 169.254.224.36:50772 <-> 127.0.0.1:1883
[Thu Feb 7 09:31:26 2019 INF] client: terminate
[Thu Feb 7 10:17:06 2019 INF] main: waiting for incoming connections…
[Thu Feb 7 10:17:06 2019 ERR] service: connect to MQTT server (err=-4)
[Thu Feb 7 10:17:11 2019 INF] client: connected 127.0.0.1:35630 <-> 127.0.0.1:1883
[Thu Feb 7 10:17:11 2019 INF] client: connected 127.0.0.1:35636 <-> 127.0.0.1:1883
[Thu Feb 7 10:17:12 2019 INF] client: close 127.0.0.1:35630 <-> 127.0.0.1:1883
[Thu Feb 7 10:17:12 2019 INF] client: terminate
[Thu Feb 7 10:17:12 2019 INF] client: close 127.0.0.1:35636 <-> 127.0.0.1:1883
[Thu Feb 7 10:17:12 2019 INF] client: terminate
[Thu Feb 7 10:17:17 2019 INF] client: connected 127.0.0.1:35642 <-> 127.0.0.1:1883
[Thu Feb 7 10:19:53 2019 INF] client: connected 169.254.224.36:58862 <-> 127.0.0.1:1883
[Thu Feb 7 10:20:20 2019 INF] client: close 169.254.224.36:58862 <-> 127.0.0.1:1883
[Thu Feb 7 10:20:22 2019 INF] client: terminate
[Thu Feb 7 11:17:05 2019 INF] main: waiting for incoming connections…
[Thu Feb 7 11:17:05 2019 ERR] service: connect to MQTT server (err=-4)
[Thu Feb 7 11:17:10 2019 INF] client: connected 127.0.0.1:41160 <-> 127.0.0.1:1883
[Thu Feb 7 11:17:10 2019 INF] client: close 127.0.0.1:41160 <-> 127.0.0.1:1883
[Thu Feb 7 11:17:10 2019 INF] client: terminate
[Thu Feb 7 11:17:10 2019 INF] client: connected 127.0.0.1:41166 <-> 127.0.0.1:1883
[Tue Oct 15 00:54:48 2019 INF] main: killed (SIGINT)
[Tue Oct 15 00:54:48 2019 INF] client: close 127.0.0.1:41166 <-> 127.0.0.1:1883
[Tue Oct 15 00:54:56 2019 INF] client: terminate
[Tue Oct 15 00:55:03 2019 INF] service: terminate
[Tue Oct 15 00:55:03 2019 INF] main: terminate
[Tue Oct 15 00:55:32 2019 INF] main: waiting for incoming connections…
[Tue Oct 15 00:55:33 2019 ERR] service: connect to MQTT server (err=-4)
[Tue Oct 15 00:55:38 2019 INF] client: connected 127.0.0.1:37448 <-> 127.0.0.1:1883
[Tue Oct 15 00:55:38 2019 INF] client: close 127.0.0.1:37448 <-> 127.0.0.1:1883
[Tue Oct 15 00:55:38 2019 INF] client: terminate
[Tue Oct 15 00:55:38 2019 INF] client: connected 127.0.0.1:37454 <-> 127.0.0.1:1883
[Tue Oct 15 00:56:55 2019 INF] main: waiting for incoming connections…
[Tue Oct 15 00:56:55 2019 ERR] service: connect to MQTT server (err=-4)
[Tue Oct 15 00:57:01 2019 INF] client: connected 127.0.0.1:54678 <-> 127.0.0.1:1883
[Tue Oct 15 00:57:01 2019 INF] client: close 127.0.0.1:54678 <-> 127.0.0.1:1883
[Tue Oct 15 00:57:01 2019 INF] client: terminate
[Tue Oct 15 00:57:01 2019 INF] client: connected 127.0.0.1:54684 <-> 127.0.0.1:1883
[Tue Oct 15 00:57:49 2019 INF] main: killed (SIGINT)
[Tue Oct 15 00:57:50 2019 INF] client: close 127.0.0.1:54684 <-> 127.0.0.1:1883
[Tue Oct 15 00:57:50 2019 INF] client: terminate
[Tue Oct 15 00:57:56 2019 INF] service: terminate
[Tue Oct 15 00:57:56 2019 INF] main: terminate
[Tue Oct 15 00:58:26 2019 INF] main: waiting for incoming connections…
[Tue Oct 15 00:58:27 2019 ERR] service: connect to MQTT server (err=-4)
[Tue Oct 15 00:58:33 2019 INF] client: connected 127.0.0.1:50394 <-> 127.0.0.1:1883
[Tue Oct 15 00:58:33 2019 INF] client: connected 127.0.0.1:50400 <-> 127.0.0.1:1883
[Tue Oct 15 00:58:33 2019 INF] client: close 127.0.0.1:50394 <-> 127.0.0.1:1883
[Tue Oct 15 00:58:33 2019 INF] client: terminate
[Tue Oct 15 01:04:45 2019 INF] client: close 127.0.0.1:50400 <-> 127.0.0.1:1883
[Tue Oct 15 01:04:45 2019 INF] client: terminate
[Tue Oct 15 01:04:45 2019 INF] client: connected 127.0.0.1:50422 <-> 127.0.0.1:1883
[Tue Oct 15 02:51:45 2019 INF] client: close 127.0.0.1:50422 <-> 127.0.0.1:1883
[Tue Oct 15 02:51:45 2019 INF] client: terminate
[Tue Oct 15 02:51:45 2019 INF] client: connected 127.0.0.1:52352 <-> 127.0.0.1:1883
[Tue Oct 15 02:35:22 2019 INF] main: waiting for incoming connections…
[Tue Oct 15 02:35:22 2019 ERR] service: connect to MQTT server (err=-4)
[Tue Oct 15 02:35:28 2019 INF] client: connected 127.0.0.1:32832 <-> 127.0.0.1:1883
[Tue Oct 15 02:35:28 2019 INF] client: close 127.0.0.1:32832 <-> 127.0.0.1:1883
[Tue Oct 15 02:35:28 2019 INF] client: terminate
[Tue Oct 15 02:35:28 2019 INF] client: connected 127.0.0.1:32838 <-> 127.0.0.1:1883
[Tue Oct 15 04:58:57 2019 INF] main: waiting for incoming connections…
[Tue Oct 15 04:58:57 2019 ERR] service: connect to MQTT server (err=-4)
[Tue Oct 15 04:59:03 2019 INF] client: connected 127.0.0.1:38856 <-> 127.0.0.1:1883
[Tue Oct 15 04:59:03 2019 INF] client: close 127.0.0.1:38856 <-> 127.0.0.1:1883
[Tue Oct 15 04:59:03 2019 INF] client: terminate
[Tue Oct 15 04:59:03 2019 INF] client: connected 127.0.0.1:38862 <-> 127.0.0.1:1883
[Tue Oct 15 07:17:35 2019 INF] main: waiting for incoming connections…
[Tue Oct 15 07:17:35 2019 ERR] service: connect to MQTT server (err=-4)
[Tue Oct 15 16:11:39 2019 INF] main: killed (SIGINT)
[Tue Oct 15 16:11:46 2019 INF] service: terminate
[Tue Oct 15 16:11:46 2019 INF] main: terminate
[Tue Oct 15 16:11:52 2019 INF] main: waiting for incoming connections…
[Tue Oct 15 16:11:52 2019 ERR] service: connect to MQTT server (err=-4)
[Tue Oct 15 17:28:20 2019 ERR] main: bind (err=-1)[Tue Oct 15 17:29:14 2019 ERR] main: bind (err=-1)[Tue Oct 15 17:30:49 2019 ERR] main: bind (err=-1)

Hi,

can you please check your Kernel version and that the DWM Kernel Module is running using:

$ sudo uname -a
Linux rpi15 4.14.50-v7+ #1122 SMP Tue Jun 19 12:26:26 BST 2018 armv7l GNU/Linux

$ sudo lsmod | grep dwm
dwm 77824 4

$ sudo ls -la /dev/dwm0
crw------- 1 root root 200, 0 Sep 20 03:17 /dev/dwm0

I suspect that as you have done system upgrade, the kernel has been changed and is no longer compatible with the DWM Kernel Module in /lib/modules/4.14.50-v7+/dwm.ko

Cheers,
TDK

pi@raspberrypi:/usr/local/bin $ sudo uname -a
Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux
pi@raspberrypi:/usr/local/bin $ sudo lsmod | grep dwm
pi@raspberrypi:/usr/local/bin $ sudo ls -la /dev/dwm0
ls: cannot access ‘/dev/dwm0’: No such file or directory
pi@raspberrypi:/usr/local/bin $

Should I disgrade the Linux version?

Hi,

yes, the dwm.ko will not run on other version of kernel than
4.14.50-v7+ SMP mod_unload modversions ARMv7 p2v8

You can check that using

modinfo /lib/modules/4.14.50-v7+/dwm.ko

Cheers,
TDK