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

new server - Plesk license transfer

Discussion in 'Plesk 10.x for Linux Suggestions and Feedback' started by kadoudal, Jul 18, 2011.

  1. kadoudal

    kadoudal Regular Pleskian

    27
    23%
    Joined:
    Nov 20, 2007
    Messages:
    244
    Likes Received:
    0
    I am going to start a brand new server ( Debian 6 Squeeze) and I want to transfer my Plesk licence to this new server
    currently it's running on the previous server Debian 5 , Plesk 10.1
    how should I proceed to avoid any service interruption ? ( should I copy the licence ? from where ? to where ? or start with a brand new license and cancel the previous one ?

    thanks for your help
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Just move all content of /etc/sw/ directory from old server to new server.
     
  3. kadoudal

    kadoudal Regular Pleskian

    27
    23%
    Joined:
    Nov 20, 2007
    Messages:
    244
    Likes Received:
    0
    licence transfer

    Hi Igot

    did it .. but upon trying to open the console again via browser :

    ERROR: SWKeyExFatalError
    Repository is not opened

    0: common_func.php3:4831
    of_get_key_by_product(string 'plesk-unix')
    1: common_func.php3:4831
    getPleskKey()
    2: common_func.php3:4906
    getKeyProp(string 'demo')
    3: auth.php3:88
     
  4. kadoudal

    kadoudal Regular Pleskian

    27
    23%
    Joined:
    Nov 20, 2007
    Messages:
    244
    Likes Received:
    0
    licence transfer

    I tried to put back the previous sw folder .. and restart /etc/init.d/psa stop /etc/init.d/psa start
    restarted in console ..

    but cannot get anymore the login via browser ... stuck .. hope no need to re-install !
     
  5. kadoudal

    kadoudal Regular Pleskian

    27
    23%
    Joined:
    Nov 20, 2007
    Messages:
    244
    Likes Received:
    0
    Got it .. permissions issue... hopefully I took note of them before transfer .... so changed them back and it's running again to previous temporary license.
    going to move again my license and this time setting correctly permissions

    thanks
     
  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Yes, error related to wrong permissions for files in this directory.
     
  7. kadoudal

    kadoudal Regular Pleskian

    27
    23%
    Joined:
    Nov 20, 2007
    Messages:
    244
    Likes Received:
    0
    Hi Igor .. I changed the permissions and could run the console .. then ( I don't know why ..) after exit and back again this morning .. I get the same error message :

    ERROR: SWKeyExFatalError
    Repository is not opened

    0: common_func.php3:4831
    of_get_key_by_product(string 'plesk-unix')
    1: common_func.php3:4831
    getPleskKey()
    2: common_func.php3:4906
    getKeyProp(string 'demo')
    3: auth.php3:88

    why does this change back ?
     
  8. kadoudal

    kadoudal Regular Pleskian

    27
    23%
    Joined:
    Nov 20, 2007
    Messages:
    244
    Likes Received:
    0
    I reset again the permissions .. accessed the console , but this time I see
    Error: The license key is invalid. In order to use the Panel, please obtain and install a new valid license key.
    The amount of currently used resources overrides the limits defined by your license.
    The number of websites hosted on the server exceeds the limits defined by your license. You have 4 sites hosted; your license allows hosting only 0 sites.
    The number of served e-mail accounts exceeds the limits defined by your license. You have 3 e-mail accounts currently served; your license allows serving only 0 e-mail accounts.

    I 'm tired of not being able to get my license running ...
    I received this morning an email form Plesk :

    Your lease payment for the next month has been processed successfully.
    Your new unique Parallels Plesk Panel license key number is:

    PLSK.(xxxx.my number xxxx)

    The Parallels Plesk Panel license key has the following properties:

    with a zipped xml file , which I uploaded into the License manager ( should I upload the zip file or the non-zipped file ?)



    Parallels Plesk Panel 10 and Later (Lease):
    License update date (GMT): 20110821 **
    100 Domains w/1 yr SUS (Lease) (expiration date: valid while the key is valid)
     
  9. kadoudal

    kadoudal Regular Pleskian

    27
    23%
    Joined:
    Nov 20, 2007
    Messages:
    244
    Likes Received:
    0
    I had to modify back the permission .. the keys folder was 660 and should be ( I guess) 770 to allow uploading and installing correctly the license key file ... hope permissions will stick to that ..
    uploaded the newly received license update and that's up and running again
     
  10. IgorG

    IgorG Forums Analyst Staff Member

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

    kadoudal Regular Pleskian

    27
    23%
    Joined:
    Nov 20, 2007
    Messages:
    244
    Likes Received:
    0
    Hi Igor, tried your trick but did not resolved this issue.. It seem that after each license update the registry.xml ownership is set to wrong root:root

    I can see :
    # cd /etc/sw
    # cd keys
    # ls -l
    drwxrwxrwx 2 psaadm swkey-data 4096 2011-07-24 07:38 backup
    -rwxrwx--- 1 psaadm swkey-data 22 2011-07-19 06:54 info
    drwxrwx--- 2 psaadm swkey-data 4096 2011-07-19 06:54 instances
    drwxrwxrwx 2 root swkey-data 4096 2011-07-24 07:38 keys
    drwxrwxrwx 2 psaadm swkey-data 4096 2011-07-20 17:31 lock
    -rw-rw---- 1 root root 11363 2011-07-25 05:25 registry.xml
    drwxrwxrwx 2 psaadm swkey-data 4096 2011-07-19 06:54 restart

    so I did :
    # chown root:swkey-data registry.xml
    # chmod 660 registry.xml
    and it runs well...

    I'll check iy it's back to root:root upon next license update and will let you now



    I did :
    cd /etc/sw
    chown root:swkey-data registry.xml
    chmod 660 registry.xml
     
Loading...