Article ID: 115654, created on Mar 7, 2013, last review on May 11, 2014

  • Applies to:
  • Plesk 11.x for Linux
  • Plesk 10.x for Linux


Migration fails with following error:

Failed deployment of domain domain1.test

Execution of /opt/psa/admin/plib/api-cli/domain.php --create domain1.test -owner admin 
-do-not-apply-skeleton -notify false -guid 8ed41c7d-c20e-4ab4-9482-e9fa9ff75e85 
-vendor-guid f385795f-f74f-4b86-9af8-a343e4ebc59e -creation-date 2011-12-11 -ip 
-ignore-nonexistent-options failed with return code 1.
Stderr is
An error occurred while updating domain settings: Impossible de mettre à jour les données du domaine : 
Failed mail post-configuration: Can't create mail domain service: mail_Facade->createDomain() failed: 
mailmng failed: Fatal error: std::runtime_error(locale::facet::_S_create_c_locale name not valid)


The reason is that system locale en_US.UTF-8 is missing from the destination server.


Run following command to view list of available locales:

locale -a


Create system locale en_US.UTF-8 and repeat migration:

root@pp11:~# locale-gen en_US.UTF-8
Generating locales...
  en_US.UTF-8... done
Generation complete.

dd0611b6086474193d9bf78e2b293040 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article
Save as PDF