Some times we will get this error on Plesk panel while upgrading Bind
Task name: Install service-bind9-1.17 (pkg_id = 652) on test.domain.tld (host_id = 6)
Task description
Install service-bind9-1.17 (pkg_id = 652) on test.domain.tld (host_id = 6)
Queue status:Failed
Method name
processOperation on SCREF:PPMOpManager:0
Last execution output
Command '/bin/sh -c /tmp/make_rndc_key.sh > /tmp/make_rndc_key.log 2>&1' execution failed with code 1
- Please make sure that /etc/rndc.key is link to /var/named/run-root/etc/rndc.key:
[root@test ~]# ls -la /etc/rndc.key
lrwxrwxrwx 1 root root 32 Dec 24 09:08 /etc/rndc.key -> /var/named/run-root/etc/rndc.key
- If it is not a link, please compare them:
[root@test]# md5sum /var/named/run-root/etc/rndc.key /etc/rndc.key
380a919661cb3858416790c2e53c1056 /var/named/run-root/etc/rndc.key
380a919661cb3858416790c2e53c1056 /etc/rndc.key
- If the are the same, rename /etc/rndc.key, example:
[root@test ~]# mv /etc/rndc.key /etc/rndc.keyold
[root@test]# ln -s /var/named/run-root/etc/rndc.key /etc/rndc.key
[root@test]# ls -la /etc/rndc.key
lrwxrwxrwx 1 root root 32 Jan 3 02:05 /etc/rndc.key -> /var/named/run-root/etc/rndc.key