Article ID: 121758, created on May 26, 2014, last review on May 26, 2014

  • Applies to:
  • Plesk Automation 11.5

Symptoms

  1. The following error appears during moving of subscription in Parallels Plesk Automation (PPA):

    [2014-05-13 02:37:21] [ERROR] copy-hosting/recreate-chrooted-shell| Failed to perform an action on subscription 'domain.tld'. Exception message: Command '/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/move_subscription.php --recreate-chrooted-shell -subscription-name domain.tld -service-node-ip 192.160.0.1' failed with exit code 1:
    stdout:
    stderr: chrootmng: cannot create directory "/var/www/vhosts/domain.tld/bin": No such file or directory
    
  2. In /var/log/poa.debug.log:

    2014-05-13 02:37:10 [AGENT][DEBUG]: JSON response sent: [ { "output": "setup_chroot(): user sub51_83 not found\n", "error": "chrootmng: cannot create directory \"\/var\/www\/vhosts\/domain.tld\/bin\": No such file or directory\nchrootmng: cannot create directory \"\/var\/www\/vhosts\/domain.tld\/var\": No such file or directory\nchrootmng: cannot create directory \"\/var\/www\/vhosts\/domain.tld\/tmp\": No such file or directory\nchrootmng: cannot create directory \"\/var\/www\/vhosts\/domain.tld\/lib64\": No such file or directory\nchrootmng: cannot create directory \"\/var\/www\/vhosts\/domain.tld\/usr\": No such file or directory\nchrootmng: cannot create directory \"\/var\/www\/vhosts\/domain.tld\/etc\": No such file or directory\nchrootmng: cannot create directory \"\/var\/www\/vhosts\/domain.tld\/lib\": No such file or directory\nchrootmng: cannot create directory \"\/var\/www\/vhosts\/domain.tld\/dev\": No such file or directory\nsetup_chroot(): user sub51_83 not found\n", "code": 1, "id": "0" } ]
    

Cause

Required system user was not created on destination Web service node during moving process.

Resolution

  1. Login to Parallels Plesk Automation (PPA) Management node as root.

  2. Recreate required system user using the following command:

    # ppa-move-subscriptions recreate-sysuser config.ini
    
  3. Proceed moving process:

    # ppa-move-subscriptions copy-hosting config.ini
    

Search Words

chrootmng: cannot create directory

setup_chroot(): user not found

No such file or directory\nchrootmng

33a70544d00d562bbc5b17762c4ed2b3 e0aff7830fa22f92062ee4db78133079 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF