Search Engine: Elastic

Article ID: 132261, created on Feb 17, 2018, last review on Feb 17, 2018

  • Applies to:
  • Operations Automation 7.3

Symptoms

The situation described below affect only legacy hosting (not NG). Task "Preparing document root and website structure for domain service with ID 101" fails with error:

Feb 16 01:33:33.587 : ERR [task:14049533:7560 1:24289:7f75cffff700 lib ]: [ InteractiveHostOps::perform] ExSystem: module_id:'Common', ex_type_id:'1',Message:'Internal error: /bin/mkdir /bin/mkdir -p /usr/local/pem/vhosts/100001/webspace/httpsdocs/folder01 failed with code 1 saying: STDOUT: '' STDERR '/bin/mkdir: `/usr/local/pem/vhosts/100001/webspace/httpsdocs/folder01': Permission denied

Cause

Incorrect ownership of webspace directories.

Resolution

  1. Find find system user owning the webspace:

    [root@websrv ~]# grep 100001 /etc/passwd
    b100001:x:10003:10001::/usr/local/pem/vhosts/100001/:/bin/false
    
  2. Set correct ownership for the directory the task fails to process:

    chown b100001.pemcln /usr/local/pem/vhosts/100001/webspace/httpsdocs/folder01
    

If there are number of directories affected, fix it globally:

[root@websrv ~]# chown -R  b100001.pemcln /usr/local/pem/vhosts/100001/webspace/httpsdocs/
[root@websrv ~]# chown -R  b100001.pemcln /usr/local/pem/vhosts/100001/webspace/httpdocs/
[root@websrv ~]# chown b100001.pemsrv /usr/local/pem/vhosts/100001/webspace/httpsdocs/
[root@websrv ~]# chown b100001.pemsrv /usr/local/pem/vhosts/100001/webspace/httpdocs/

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 dd79f16c76b9dca75205ab5e9f5465ea 1941880841f714e458ae4dc3d9f3062d

Email subscription for changes to this article
Save as PDF