rndc stats: connection to remote host closed. login failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bind9 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
we have 2 ubuntu servers:
- first: 20.04 LTS
- second first vm cloned and updated to 22.04
Bind is running on both machines. Same config. "rndc-confgen -a" executed on second vm.
first vm:
root@prodsmtp00
root@prodsmtp00
second vm:
root@prodsmtp00
rndc: connection to remote host closed.
* This may indicate that the
* remote server is using an older
* version of the command protocol,
* this host is not authorized to connect,
* the clocks are not synchronized,
* the key signing algorithm is incorrect
* or the key is invalid.
root@prodsmtp00
strace:
root@prodsmtp00
stat("/
stat("/
openat(AT_FDCWD, "/etc/bind/
fstat(8, {st_mode=
read(8, "key \"rndc-key\" {\n\talgorithm hmac"..., 4096) = 100
read(8, "", 4096) = 0
close(8) = 0
futex(0x7f64755
futex(0x7f64755
socket(AF_INET, SOCK_STREAM, IPPROTO_IP) = 8
close(8) = 0
socket(AF_INET6, SOCK_STREAM, IPPROTO_IP) = 8
getsockname(8, {sa_family=
close(8) = 0
socket(AF_UNIX, SOCK_STREAM, 0) = 8
close(8) = 0
futex(0x7f64755
futex(0x7f64729
futex(0x7f64729
rt_sigtimedwait
futex(0x7f64729
futex(0x7f64729
futex(0x7f64729
futex(0x7f64729
write(6, "\0\0\0\
futex(0x7f64729
epoll_ctl(7, EPOLL_CTL_DEL, 3, 0x7ffc771f1a94) = 0
close(7) = 0
munmap(
munmap(
futex(0x7f64751
exit_group(0) = ?
+++ exited with 0 +++
root@prodsmtp00
newfstatat(
newfstatat(
openat(AT_FDCWD, "/etc/bind/
newfstatat(10, "", {st_mode=
read(10, "key \"rndc-key\" {\n\talgorithm hmac"..., 4096) = 100
read(10, "", 4096) = 0
close(10) = 0
socket(AF_INET, SOCK_STREAM, IPPROTO_IP) = 10
close(10) = 0
socket(AF_INET6, SOCK_STREAM, IPPROTO_IP) = 10
getsockname(10, {sa_family=
close(10) = 0
socket(AF_UNIX, SOCK_STREAM, 0) = 10
close(10) = 0
futex(0x7fc94d5
write(8, "\1\0\0\0\0\0\0\0", 8) = 8
rt_sigtimedwait
* This may indicate that the
* remote server is using an older
* version of the command protocol,
* this host is not authorized to connect,
* the clocks are not synchronized,
* the key signing algorithm is incorrect
* or the key is invalid.
<unfinished ...>) = ?
+++ exited with 1 +++
root@prodsmtp00
Changed in bind9 (Ubuntu): | |
status: | New → Invalid |
I'm sorry for the mistake
It's working fine.
(now i examine log files and see, stats.log last modify dat is 03.02 (02. March). dpkg.log - no update.
config:
have another disk (dev/sdb) to log files - and this not ok.
statistics-file "/store/ var/log/ named/named. stat" ; /var/log/ named/default. log" versions 3 size 20m; /var/log/ named/client_ security. log" versions 3 size 20m; /var/log/ named/queries. log" versions 600 size 20m;
file "/store/
file "/store/
file "/store/
Apparmor diasbled: d/disable/ usr.sbin. named
/etc/apparmor.
everything fine - but rndc stat runs into an error
( /var/log is a symlink to /store/var/log )
pls, close the bugreport - it's not bug. Zhanks.