1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Wrong syntax for option's '-locale' parameter

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by M_From_H, Feb 11, 2010.

  1. M_From_H

    M_From_H Guest

    0
     
    Hi Forum,

    I tried to migrate 6 domains from a Linux-Server with Plesk 8.6 to a Linux-Server with Plesk 9.3. Everything seemed to work fine for about one hour. Then, Plesk told me, that errors occured. Here is a part of the XML error file:
    Any suggestions on this issue would be greatly apreciated.

    Thank you in advance for your support.
    --
    BFN
    Michael
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    This migration error is caused by the license limitation on the destination server - it does not support additional languages. You may install license with multi-language support on the destination server and retry migration.
     
  3. M_From_H

    M_From_H Guest

    0
     
    IgorG,

    thank you for your reply.

    The maximum of language-packages is the same on both servers: 2

    Small correction to my first posting: Plesk version on old server is 8.4. Could this influence the migration? I remember, that I read somewhere, that the Plesk version on the source computer should be the less 8.6.

    --
    BFN
    Michael
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
  5. M_From_H

    M_From_H Guest

    0
     
    OK, the reason is not the version and not the number of language packages.

    But what could be the reason?
     
  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    ERROR:
    Wrong syntax for option's '-locale' parameter

    CAUSE:
    For example, there is less locales supported on the license then installed on the server and the locale of teh object is not en_US.

    RESOLUTION:
    1) Switch client\domain\reseller to en_US locale
    2) Upload trial license for the time of migration with unlimited features
    3) Purchase key with MLS >= "select count(*) from locales"
     
  7. M_From_H

    M_From_H Guest

    0
     
    Your assumption was correct:

    > 2) Upload trial license for the time of migration with unlimited features
    Where can I get this trail license?
     
  8. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    You may ask your sales representative.
     
  9. M_From_H

    M_From_H Guest

    0
     
    I switched client\domain\reseller to en_US, deleted anything from last migration and restarted.

    After 3,5 hours (yesterday: 1 hour), migration terminated with
    As we don't use mailing lists, I ignored this error. To test the new server, I tried to add a domain as alias for one of the existing, migrated domains. Plesk says
    When I add the same domain name as a new domain, everything works fine. I tried
    without result.

    Any suggestions on this issue?
     
  10. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Most probably there is some record in domainaliases or dns_zone table.
     
  11. Ray Lightning

    Ray Lightning Guest

    0
     
    I have same error, but:

    Where problem can be?

    I'm trying to migrate from 9.5.3 to 9.5.4, OS Debian 5 64bit on the both machines....

    exact error in log:
    where actual names replaced by XXXXX
     
    Last edited by a moderator: Jan 14, 2011
  12. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    ​The solution is to set up Plesk key with necessary number of language packs, which should be equal to "select count(*) from locales".
     
  13. Ray Lightning

    Ray Lightning Guest

    0
     
    I have 3 license keys, with limit to 100 language packs. If I need to migrate some resource between them - I need to buy another license, with limitation to exactly 2 language packs, and this is just because of some internal mislogic/error of Plesk?????
     
Loading...