Article ID: 121366, created on Apr 29, 2014, last review on May 7, 2014

  • Applies to:
  • Plesk Automation 11.5

Symptoms

Unable to create mailbox because of the following error:

Error: invalid values passed for settings of application resource; details for setting with id 'user_login': The "Login" setting value 'admin@example.com' is already in use. Please provide unique value.

Cause

Orphan records in apsc database.

Resolution

  1. Backup apsc database:

    mysqldump -uadmin -p` cat /etc/psa/.psa.shadow ` apsc > /root/apsc.`date +%F`
    
  2. Remove mailbox if it exists.

  3. Login to the MySQL database and find orphan records:

    mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa
    
    mysql> select name,value from apsc.aps_registry_object_setting where name = 'user_login' and value = 'admin@example.com';
    +------------+------------------------+
    | name       | value                  |
    +------------+------------------------+
    | user_login | admin@example.com      |
    +------------+------------------------+
    1 row in set (0.01 sec)
    
  4. Remove them:

    mysql> delete from apsc.aps_registry_object_setting where name = 'user_login' and value = 'admin@example.com';
    
  5. Now try to create mailbox again, operation should be completed sucesfully.

Search Words

The Login setting value admin@example.com is already in use. Please provide unique value.

The "Login" setting value 'admin@example.com' is already in use. Please provide unique value.

33a70544d00d562bbc5b17762c4ed2b3 e0aff7830fa22f92062ee4db78133079 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF