JonStratton / mesh-micro

Just a Simple Batman-adv Shell script that can also make a Node a Gateway
GNU General Public License v3.0
0 stars 0 forks source link

I haven't been able to complete the installation (Ubuntu 20.04 arm64) dnsmasq Installation failed #3

Open shaozhai opened 2 years ago

shaozhai commented 2 years ago

rock@rock-3a:/etc/mesh-micro$ sudo ./mesh-micro.sh install Reading package lists... Done Building dependency tree Reading state information... Done iw is already the newest version (5.4-1). The following additional packages will be installed: dns-root-data dnsmasq-base libidn11 libip6tc2 libnetfilter-conntrack3 libnfnetlink0 libnftnl11 Suggested packages: firewalld nftables The following NEW packages will be installed: batctl dns-root-data dnsmasq dnsmasq-base iptables libidn11 libip6tc2 libnetfilter-conntrack3 libnfnetlink0 libnftnl11 0 upgraded, 10 newly installed, 0 to remove and 239 not upgraded. Need to get 933 kB of archives. After this operation, 3932 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libip6tc2 arm64 1.8. 4-3ubuntu2 [18.7 kB] Get:2 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libnfnetlink0 arm64 1.0.1-3build1 [13.0 kB] Get:3 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libnetfilter-conntra ck3 arm64 1.0.7-2 [37.9 kB] Get:4 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libnftnl11 arm64 1.1 .5-1 [53.8 kB] Get:5 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 iptables arm64 1.8.4 -3ubuntu2 [376 kB] Get:6 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 dns-root-data all 20 19052802 [5300 B] Get:7 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libidn11 arm64 1.33- 2.2ubuntu2 [45.3 kB] Get:8 http://ports.ubuntu.com/ubuntu-ports focal-security/main arm64 dnsmasq-bas e arm64 2.80-1.1ubuntu1.4 [296 kB] Get:9 http://ports.ubuntu.com/ubuntu-ports focal-security/universe arm64 dnsmasq all 2.80-1.1ubuntu1.4 [16.5 kB] Get:10 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 batctl arm64 20 19.5-1 [70.6 kB] Fetched 933 kB in 3s (271 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libip6tc2:arm64. (Reading database ... 60368 files and directories currently installed.) Preparing to unpack .../0-libip6tc2_1.8.4-3ubuntu2_arm64.deb ... Unpacking libip6tc2:arm64 (1.8.4-3ubuntu2) ... Selecting previously unselected package libnfnetlink0:arm64. Preparing to unpack .../1-libnfnetlink0_1.0.1-3build1_arm64.deb ... Unpacking libnfnetlink0:arm64 (1.0.1-3build1) ... Selecting previously unselected package libnetfilter-conntrack3:arm64. Preparing to unpack .../2-libnetfilter-conntrack3_1.0.7-2_arm64.deb ... Unpacking libnetfilter-conntrack3:arm64 (1.0.7-2) ... Selecting previously unselected package libnftnl11:arm64. Preparing to unpack .../3-libnftnl11_1.1.5-1_arm64.deb ... Unpacking libnftnl11:arm64 (1.1.5-1) ... Selecting previously unselected package iptables. Preparing to unpack .../4-iptables_1.8.4-3ubuntu2_arm64.deb ... Unpacking iptables (1.8.4-3ubuntu2) ... Selecting previously unselected package dns-root-data. Preparing to unpack .../5-dns-root-data_2019052802_all.deb ... Unpacking dns-root-data (2019052802) ... Selecting previously unselected package libidn11:arm64. Preparing to unpack .../6-libidn11_1.33-2.2ubuntu2_arm64.deb ... Unpacking libidn11:arm64 (1.33-2.2ubuntu2) ... Selecting previously unselected package dnsmasq-base. Preparing to unpack .../7-dnsmasq-base_2.80-1.1ubuntu1.4_arm64.deb ... Unpacking dnsmasq-base (2.80-1.1ubuntu1.4) ... Selecting previously unselected package dnsmasq. Preparing to unpack .../8-dnsmasq_2.80-1.1ubuntu1.4_all.deb ... Unpacking dnsmasq (2.80-1.1ubuntu1.4) ... Selecting previously unselected package batctl. Preparing to unpack .../9-batctl_2019.5-1_arm64.deb ... Unpacking batctl (2019.5-1) ... Setting up libip6tc2:arm64 (1.8.4-3ubuntu2) ... Setting up libnftnl11:arm64 (1.1.5-1) ... Setting up dns-root-data (2019052802) ... Setting up batctl (2019.5-1) ... Setting up libidn11:arm64 (1.33-2.2ubuntu2) ... Setting up libnfnetlink0:arm64 (1.0.1-3build1) ... Setting up libnetfilter-conntrack3:arm64 (1.0.7-2) ... Setting up iptables (1.8.4-3ubuntu2) ... update-alternatives: using /usr/sbin/iptables-legacy to provide /usr/sbin/iptabl es (iptables) in auto mode update-alternatives: using /usr/sbin/ip6tables-legacy to provide /usr/sbin/ip6ta bles (ip6tables) in auto mode update-alternatives: using /usr/sbin/arptables-nft to provide /usr/sbin/arptable s (arptables) in auto mode update-alternatives: using /usr/sbin/ebtables-nft to provide /usr/sbin/ebtables (ebtables) in auto mode Setting up dnsmasq-base (2.80-1.1ubuntu1.4) ... Setting up dnsmasq (2.80-1.1ubuntu1.4) ... Created symlink /etc/systemd/system/multi-user.target.wants/dnsmasq.service → /l ib/systemd/system/dnsmasq.service. Job for dnsmasq.service failed because the control process exited with error cod e. See "systemctl status dnsmasq.service" and "journalctl -xe" for details. invoke-rc.d: initscript dnsmasq, action "start" failed. ● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset : enabled) Active: failed (Result: exit-code) since Mon 2022-04-18 09:06:37 UTC; 29ms ago Process: 2448 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/S UCCESS) Process: 2449 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, statu s=2)

Apr 18 09:06:37 rock-3a systemd[1]: Starting dnsmasq - A lightweight DHCP and ca ching DNS server... Apr 18 09:06:37 rock-3a dnsmasq[2448]: dnsmasq: syntax check OK. Apr 18 09:06:37 rock-3a dnsmasq[2449]: dnsmasq: failed to create listening socke t for port 53: Address already in use Apr 18 09:06:37 rock-3a dnsmasq[2449]: failed to create listening socket for por t 53: Address already in use Apr 18 09:06:37 rock-3a dnsmasq[2449]: FAILED to start up Apr 18 09:06:37 rock-3a systemd[1]: dnsmasq.service: Control process exited, cod e=exited, status=2/INVALIDARGUMENT Apr 18 09:06:37 rock-3a systemd[1]: dnsmasq.service: Failed with result 'exit-co de'. Apr 18 09:06:37 rock-3a systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server. Processing triggers for libc-bin (2.31-0ubuntu9) ... Processing triggers for systemd (245.4-4ubuntu3) ... Processing triggers for dbus (1.12.16-2ubuntu2) ... rock@rock-3a:/etc/mesh-micro$