Article ID: 5201, created on Apr 17, 2008, last review on Jun 22, 2015

  • Applies to:
  • Plesk 11.5 for Linux


The error listed below occurs while changing Plesk administrator password, adding a new certificate, or performing any other actions that lead to file creation by the Plesk backend:

copy_file failed: copy_file: system error: invalid file paths in /usr/local/psa/admin/bin/copy_file....


This error occurs if a symbolic link is used as path to Plesk product directory. PHP does not follow symlinks for security reasons.


  1. Check the product directory that is currently set for Plesk in /etc/psa/psa.conf:

    # grep PRODUCT_ROOT_D /etc/psa/psa.conf
     PRODUCT_ROOT_D /usr/local/psa
  2. Make sure this path does not contain symbolic links by listing every directory in the path:

     # ls -lda /usr/local/psa
     drwxr-xr-x 13 root root 4096 2012-03-24 15:19 /usr/local/psa
     # ls -lda /usr/local
     drwxr-xr-x 12 root root 4096 2012-01-30 13:50 /usr/local
     # ls -lda /usr
     drwxr-xr-x 14 root root 4096 2011-09-28 13:00 /usr
  3. If a symbolic link is found, like in the example below, set the real path to Plesk (in the example below, it is /home/psa) in the /etc/psa/psa.conf, /usr/local/psa/admin/conf/php.ini, and /usr/local/psa/admin/conf/httpsd.conf files:

    # ls -l /usr/local/psa
     lrwxrwxrwx  1 root root 9 Nov 17  2010 /usr/local/psa -> /home/psa
  4. Restart Plesk after modifying the configuration files:

    # /etc/init.d/psa restart

Search Words

copy_file failed: copy_file: system error: invalid file paths in /usr/local/psa/admin/bin/copy_file

unable to change password


29d1e90fd304f01e6420fbe60f66f838 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article
Save as PDF