Article ID: 3088, created on Nov 21, 2007, last review on May 11, 2014

  • Applies to:
  • Operations Automation

Symptoms

POA background task "Create virtual web server <srv_id> on host '<hostname>' (host_id=<host_id>)" fails with the following error message:

Exception during execution of MPF request: 'The system cannot find the path specified. [<response><errorContext description="The system cannot find the path specified." code="0x80070003" executeSeqNo="24"><errorSource namespace="File System Provider Ex" procedure="createBinaryFile"/></errorContext></response>]'.

Cause

Common issue with such kind of tasks is that end customer can specify invalid DocumentRoot for their website, e.g. '<path_to_website_home_directory>/index.html'. In this case POA fails to create a directory "path_to_website_home_directory>/index.html" if a file with the same name already exist.
 

Resolution


There is a quick ways to fix such a task: update POA system database and restart the task.

To proceed with the fix follow these steps:

1. Update POA database:
    a) for POA 2.6.3 and earlier, use <srv_id> from the task name and run the following commands on the Management Node:
    # . /usr/local/pem/bin/db_env.sh
    # psql -U $iis_db -h`hostname` -c "UPDATE webvdirs SET location='wwwroot', desire_location='wwwroot' WHERE srv_id =<srv_id>"

    b) for POA 2.6.4 and later, use <srv_id> from the task name and run the following commands on the Management Node:
   # psql -U plesk -h`hostname` -c "UPDATE iis_webvdirs SET location = 'wwwroot', desire_location = 'wwwroot' WHERE srv_id = <srv_id>"

2. Re-run the failed task in POA Task Manager.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF