2022-08-04 13:40:55 |
Martin Wolf |
description |
I ran a test upgrade of my Ubuntu 20.04 Server to 22.04.
I already noticed while updating that unbound would not start up again.
when the update was done the errors I get are:
Aug 04 15:20:41 test.adiumentum.de package-helper[2951]: /etc/unbound/unbound.conf.d/adiumentum.conf:2: error: syntax error
Aug 04 15:20:41 test.adiumentum.de package-helper[2951]: read /etc/unbound/unbound.conf failed: 1 errors in configuration file
Aug 04 15:20:41 test.adiumentum.de package-helper[2954]: /etc/unbound/unbound.conf.d/adiumentum.conf:2: error: syntax error
Aug 04 15:20:41 test.adiumentum.de package-helper[2954]: read /etc/unbound/unbound.conf failed: 1 errors in configuration file
Aug 04 15:20:41 test.adiumentum.de unbound[2955]: /etc/unbound/unbound.conf.d/adiumentum.conf:2: error: syntax error
Aug 04 15:20:41 test.adiumentum.de unbound[2955]: read /etc/unbound/unbound.conf failed: 1 errors in configuration file
Aug 04 15:20:41 test.adiumentum.de unbound[2955]: [1659619241] unbound[2955:0] fatal error: Could not read config file: /etc/unbound/unbound.conf. Maybe try unbound -dd, it stays on the commandline to see more errors, or unbound-checkconf
Aug 04 15:20:41 test.adiumentum.de systemd[1]: unbound.service: Main process exited, code=exited, status=1/FAILURE
drwxr-xr-x 3 root root 4096 Aug 4 15:11 ./
drwxr-xr-x 152 root root 12288 Aug 4 15:19 ../
-rw-r--r-- 1 root root 341 Jul 1 2021 unbound.conf
drwxr-xr-x 2 root root 4096 Aug 4 15:11 unbound.conf.d/
-rw-r----- 1 root root 2459 Apr 24 21:42 unbound_control.key
-rw-r----- 1 root root 1342 Apr 24 21:42 unbound_control.pem
-rw-r----- 1 root root 2455 Apr 24 21:42 unbound_server.key
-rw-r----- 1 root root 1334 Apr 24 21:42 unbound_server.pem
root@test:/etc/unbound# cd unbound.conf.d/
root@test:/etc/unbound/unbound.conf.d# ll
insgesamt 20
drwxr-xr-x 2 root root 4096 Aug 4 15:11 ./
drwxr-xr-x 3 root root 4096 Aug 4 15:11 ../
-rw-r--r-- 1 root root 2662 Jul 23 23:03 adiumentum.conf
-rw-r--r-- 1 root root 26 Apr 24 21:42 resolvconf_resolvers.conf
-rw-r--r-- 1 root root 190 Okt 26 2019 root-auto-trust-anchor-file.conf |
I ran a test upgrade of my Ubuntu 20.04 Server to 22.04.
I already noticed while updating that unbound would not start up again.
when the update was done the errors I get are:
Aug 04 15:20:41 test.adiumentum.de package-helper[2951]: /etc/unbound/unbound.conf.d/adiumentum.conf:2: error: syntax error
Aug 04 15:20:41 test.adiumentum.de package-helper[2951]: read /etc/unbound/unbound.conf failed: 1 errors in configuration file
Aug 04 15:20:41 test.adiumentum.de package-helper[2954]: /etc/unbound/unbound.conf.d/adiumentum.conf:2: error: syntax error
Aug 04 15:20:41 test.adiumentum.de package-helper[2954]: read /etc/unbound/unbound.conf failed: 1 errors in configuration file
Aug 04 15:20:41 test.adiumentum.de unbound[2955]: /etc/unbound/unbound.conf.d/adiumentum.conf:2: error: syntax error
Aug 04 15:20:41 test.adiumentum.de unbound[2955]: read /etc/unbound/unbound.conf failed: 1 errors in configuration file
Aug 04 15:20:41 test.adiumentum.de unbound[2955]: [1659619241] unbound[2955:0] fatal error: Could not read config file: /etc/unbound/unbound.conf. Maybe try unbound -dd, it stays on the commandline to see more errors, or unbound-checkconf
Aug 04 15:20:41 test.adiumentum.de systemd[1]: unbound.service: Main process exited, code=exited, status=1/FAILURE
drwxr-xr-x 3 root root 4096 Aug 4 15:11 ./
drwxr-xr-x 152 root root 12288 Aug 4 15:19 ../
-rw-r--r-- 1 root root 341 Jul 1 2021 unbound.conf
drwxr-xr-x 2 root root 4096 Aug 4 15:11 unbound.conf.d/
-rw-r----- 1 root root 2459 Apr 24 21:42 unbound_control.key
-rw-r----- 1 root root 1342 Apr 24 21:42 unbound_control.pem
-rw-r----- 1 root root 2455 Apr 24 21:42 unbound_server.key
-rw-r----- 1 root root 1334 Apr 24 21:42 unbound_server.pem
root@test:/etc/unbound# cd unbound.conf.d/
root@test:/etc/unbound/unbound.conf.d# ll
insgesamt 20
drwxr-xr-x 2 root root 4096 Aug 4 15:11 ./
drwxr-xr-x 3 root root 4096 Aug 4 15:11 ../
-rw-r--r-- 1 root root 2662 Jul 23 23:03 adiumentum.conf
-rw-r--r-- 1 root root 26 Apr 24 21:42 resolvconf_resolvers.conf
-rw-r--r-- 1 root root 190 Okt 26 2019 root-auto-trust-anchor-file.conf
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.24
Architecture: amd64
CasperMD5CheckResult: skip
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2016-02-04 (2372 days ago)
InstallationMedia: Ubuntu-Server 15.10 "Wily Werewolf" - Release amd64 (20151021)
Package: unbound 1.9.4-2ubuntu1.2
PackageArchitecture: amd64
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 5.4.0-122.138-generic 5.4.192
Tags: focal
Uname: Linux 5.4.0-122-generic x86_64
UpgradeStatus: Upgraded to focal on 2022-08-03 (0 days ago)
UserGroups: N/A
_MarkForUpload: True |
|