Advertisement
olivierbourdon38

dnsmasq installation error

Apr 4th, 2018
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.83 KB | None | 0 0
  1. root@ubuntu-min:~# date && apt-get update && apt-get install squid dnsmasq
  2. Wed Apr 4 09:07:23 CEST 2018
  3. Hit:1 http://fr.archive.ubuntu.com/ubuntu xenial InRelease
  4. Hit:2 http://fr.archive.ubuntu.com/ubuntu xenial-updates InRelease
  5. Hit:3 http://fr.archive.ubuntu.com/ubuntu xenial-backports InRelease
  6. Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
  7. Fetched 102 kB in 0s (154 kB/s)
  8. Reading package lists... Done
  9. Reading package lists... Done
  10. Building dependency tree
  11. Reading state information... Done
  12. The following additional packages will be installed:
  13. dns-root-data dnsmasq-base libecap3 libltdl7 libnetfilter-conntrack3 squid-common squid-langpack ssl-cert
  14. Suggested packages:
  15. squidclient squid-cgi squid-purge smbclient winbindd openssl-blacklist
  16. The following NEW packages will be installed:
  17. dns-root-data dnsmasq dnsmasq-base libecap3 libltdl7 libnetfilter-conntrack3 squid squid-common squid-langpack ssl-cert
  18. 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
  19. Need to get 3,074 kB of archives.
  20. After this operation, 12.0 MB of additional disk space will be used.
  21. Do you want to continue? [Y/n] y
  22. Get:1 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 libecap3 amd64 1.0.1-3ubuntu3 [16.7 kB]
  23. Get:2 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 libltdl7 amd64 2.4.6-0.1 [38.3 kB]
  24. Get:3 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 libnetfilter-conntrack3 amd64 1.0.5-1 [36.6 kB]
  25. Get:4 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 squid-langpack all 20150704-1 [145 kB]
  26. Get:5 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 squid-common all 3.5.12-1ubuntu7.5 [176 kB]
  27. Get:6 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 ssl-cert all 1.0.37 [16.9 kB]
  28. Get:7 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 squid amd64 3.5.12-1ubuntu7.5 [2,317 kB]
  29. Get:8 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 dns-root-data all 2015052300+h+1 [15.0 kB]
  30. Get:9 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 dnsmasq-base amd64 2.75-1ubuntu0.16.04.4 [295 kB]
  31. Get:10 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 dnsmasq all 2.75-1ubuntu0.16.04.4 [15.9 kB]
  32. Fetched 3,074 kB in 0s (29.6 MB/s)
  33. Preconfiguring packages ...
  34. Selecting previously unselected package libecap3:amd64.
  35. (Reading database ... 55921 files and directories currently installed.)
  36. Preparing to unpack .../libecap3_1.0.1-3ubuntu3_amd64.deb ...
  37. Unpacking libecap3:amd64 (1.0.1-3ubuntu3) ...
  38. Selecting previously unselected package libltdl7:amd64.
  39. Preparing to unpack .../libltdl7_2.4.6-0.1_amd64.deb ...
  40. Unpacking libltdl7:amd64 (2.4.6-0.1) ...
  41. Selecting previously unselected package libnetfilter-conntrack3:amd64.
  42. Preparing to unpack .../libnetfilter-conntrack3_1.0.5-1_amd64.deb ...
  43. Unpacking libnetfilter-conntrack3:amd64 (1.0.5-1) ...
  44. Selecting previously unselected package squid-langpack.
  45. Preparing to unpack .../squid-langpack_20150704-1_all.deb ...
  46. Unpacking squid-langpack (20150704-1) ...
  47. Selecting previously unselected package squid-common.
  48. Preparing to unpack .../squid-common_3.5.12-1ubuntu7.5_all.deb ...
  49. Unpacking squid-common (3.5.12-1ubuntu7.5) ...
  50. Selecting previously unselected package ssl-cert.
  51. Preparing to unpack .../ssl-cert_1.0.37_all.deb ...
  52. Unpacking ssl-cert (1.0.37) ...
  53. Selecting previously unselected package squid.
  54. Preparing to unpack .../squid_3.5.12-1ubuntu7.5_amd64.deb ...
  55. Unpacking squid (3.5.12-1ubuntu7.5) ...
  56. Selecting previously unselected package dns-root-data.
  57. Preparing to unpack .../dns-root-data_2015052300+h+1_all.deb ...
  58. Unpacking dns-root-data (2015052300+h+1) ...
  59. Selecting previously unselected package dnsmasq-base.
  60. Preparing to unpack .../dnsmasq-base_2.75-1ubuntu0.16.04.4_amd64.deb ...
  61. Unpacking dnsmasq-base (2.75-1ubuntu0.16.04.4) ...
  62. Selecting previously unselected package dnsmasq.
  63. Preparing to unpack .../dnsmasq_2.75-1ubuntu0.16.04.4_all.deb ...
  64. Unpacking dnsmasq (2.75-1ubuntu0.16.04.4) ...
  65. Processing triggers for libc-bin (2.23-0ubuntu10) ...
  66. Processing triggers for man-db (2.7.5-1) ...
  67. Processing triggers for ufw (0.35-0ubuntu2) ...
  68. Processing triggers for systemd (229-4ubuntu21.2) ...
  69. Processing triggers for ureadahead (0.100.0-19) ...
  70. Processing triggers for dbus (1.10.6-1ubuntu3.3) ...
  71. Setting up libecap3:amd64 (1.0.1-3ubuntu3) ...
  72. Setting up libltdl7:amd64 (2.4.6-0.1) ...
  73. Setting up libnetfilter-conntrack3:amd64 (1.0.5-1) ...
  74. Setting up squid-langpack (20150704-1) ...
  75. Setting up squid-common (3.5.12-1ubuntu7.5) ...
  76. Setting up ssl-cert (1.0.37) ...
  77. Setting up squid (3.5.12-1ubuntu7.5) ...
  78. Skipping profile in /etc/apparmor.d/disable: usr.sbin.squid
  79. Setting up dns-root-data (2015052300+h+1) ...
  80. Setting up dnsmasq-base (2.75-1ubuntu0.16.04.4) ...
  81. Setting up dnsmasq (2.75-1ubuntu0.16.04.4) ...
  82. Job for dnsmasq.service failed because a timeout was exceeded. See "systemctl status dnsmasq.service" and "journalctl -xe" for details.
  83. invoke-rc.d: initscript dnsmasq, action "start" failed.
  84. ● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
  85. Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled)
  86. Drop-In: /run/systemd/generator/dnsmasq.service.d
  87. └─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
  88. Active: failed (Result: timeout) since Wed 2018-04-04 09:09:02 CEST; 15ms ago
  89. Process: 2030 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code=killed, signal=TERM)
  90. Process: 2020 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=0/SUCCESS)
  91. Process: 2016 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)
  92. Main PID: 2029 (code=exited, status=0/SUCCESS)
  93.  
  94. Apr 04 09:07:32 ubuntu-min dnsmasq[2029]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify
  95. Apr 04 09:07:32 ubuntu-min dnsmasq[2029]: DNS service limited to local subnets
  96. Apr 04 09:07:32 ubuntu-min dnsmasq[2029]: read /etc/hosts - 5 addresses
  97. Apr 04 09:07:32 ubuntu-min dnsmasq[2029]: reading /var/run/dnsmasq/resolv.conf
  98. Apr 04 09:07:32 ubuntu-min dnsmasq[2029]: using nameserver 8.8.8.8#53
  99. Apr 04 09:07:32 ubuntu-min dnsmasq[2029]: using nameserver 8.8.4.4#53
  100. Apr 04 09:09:02 ubuntu-min systemd[1]: dnsmasq.service: Start-post operation timed out. Stopping.
  101. Apr 04 09:09:02 ubuntu-min systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
  102. Apr 04 09:09:02 ubuntu-min systemd[1]: dnsmasq.service: Unit entered failed state.
  103. Apr 04 09:09:02 ubuntu-min systemd[1]: dnsmasq.service: Failed with result 'timeout'.
  104. Processing triggers for libc-bin (2.23-0ubuntu10) ...
  105. Processing triggers for systemd (229-4ubuntu21.2) ...
  106. Processing triggers for ureadahead (0.100.0-19) ...
  107. Processing triggers for ufw (0.35-0ubuntu2) ...
  108. Processing triggers for dbus (1.10.6-1ubuntu3.3) ...
  109. root@ubuntu-min:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement