Article ID: 119472, created on Jan 3, 2014, last review on May 10, 2014

  • Applies to:
  • Plesk Automation 11.1
  • Plesk Automation 11.5

Symptoms

The task " Install service-bind9-1.17" fails with an error:

    command '/bin/sh -c /tmp/make_rndc_key.sh > /tmp/make_rndc_key.log 2>&1' execution failed with code 1

Description:

    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

Cause

The /etc/rndc.key should be the link to /var/named/run-root/etc/rndc.key.

Resolution

  1. Please make sure that the /etc/rndc.key is the 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
    
  2. 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
    
  3. If they are the same, rename /etc/rndc.key. For example:

    [root@test ~]# mv /etc/rndc.key  /etc/rndc.keyold
    
  4. Create a link as below:

    [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
    
  5. Execute the task again

Search Words

ERROR [pingHost] ExSystem: module_id

Failed to execute command /usr/local/pem/bin/pleskd_ctl

ppa upgrade error

upgrade

ERROR [addPackageMass] system exception, ID 'IDL:omg.org/CORBA/COMM_FAILURE:1.0

Failed to execute command: ['/usr/local/pem/bin/pleskd_ctl', '-f', '/usr/local/pem/etc/pleskd.props'

c1ecc6010feff26cb42d1d14a7881dd6 e0aff7830fa22f92062ee4db78133079 33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF