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

ERROR while trying to add supplementary group 'swkey-data' for user 'psaadm'

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by cololo, Jul 4, 2011.

  1. cololo

    cololo Guest

    0
     
    I've got a trouble while installing PLESK 10.2 on CentOS 4.8 using command:
    # wget -O - http://autoinstall.plesk.com/one-click-installer | sh

    As far as I see the installer tries to add supplementary swkey-data group twice and fails on the second try:


    ===> Checking for previous installation ... not found.
    Create user 'psaadm' and group 'psaadm'
    Checking for the group 'psaadm'...
    Trying to add group 'psaadm'... done

    Checking for the user 'psaadm'...
    Trying to add user 'psaadm'... done

    Create group swkey-data
    Checking for the group 'swkey-data'...
    Trying to add group 'swkey-data'... done

    Checking for the group 'swkey-data'...
    Trying to add supplementary group 'swkey-data' for user 'psaadm'... done
    Create Mail accounts
    Checking for the group 'popuser'...
    Trying to add group 'popuser'... done

    Checking for the user 'popuser'...
    Trying to add user 'popuser'... done

    Checking for the user 'mhandlers-user'...
    Trying to add user 'mhandlers-user'... done

    Trying to got legacy variables... done
    Trying to save legacy variables... done
    Checking for the system groups and users necessary for ftp server...
    Checking for the group 'psaftp'...
    Trying to add group 'psaftp'... done

    Checking for the user 'psaftp'...
    Trying to add user 'psaftp'... done


    ERROR while trying to add supplementary group 'swkey-data' for user 'psaadm'
    Check the error reason(see log file: /tmp/plesk_10.2.0_installation.log), fix and try again

    ***** problem report *****
    ERROR while trying to add supplementary group 'swkey-data' for user 'psaadm'
    Check the error reason(see log file: /tmp/plesk_10.2.0_installation.log), fix and try again

    ERROR: An error occurred during performing of installation PREP actions (see log for details). Installation was rolled back.
    Warning! Not all packages were installed.
    Please check if your system services are operable.
    Please resolve this issue and try installing the packages again.
    If you cannot resolve the issue on your own, contact product technical support for assistance.



    ~]# cat /etc/group
    [...]
    named:x:25:
    ntp:x:38:
    psaadm:x:514:psaadm
    swkey-data:x:515:psaadm
    popuser:x:30:
    psaftp:x:516:


    Could someone advise please?
     
  2. cololo

    cololo Guest

    0
     
    And as far as I see supplementary group creates successfully but installer thinks different :(
     
  3. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    On my test environment I see following:

    Code:
    # cat /etc/group | grep psaadm
    psaadm:x:500:psaadm,sw-cp-server
    swkey-data:x:501:psaadm
    psaserv:x:503:apache,psaftp,psaadm
    psasb:x:505:psaadm,apache
     
  4. cololo

    cololo Guest

    0
     
    added your lines stated above to /etc/group
    but got the same error again :(

    Code:
     User 'mhandlers-user' already exists
    
     Trying to got legacy variables... done
     Trying to save legacy variables... done
     Checking for the system groups and users necessary for ftp server...
     Checking for the group 'psaftp'...
     Group 'psaftp' already exists
    
     Checking for the user 'psaftp'...
     User 'psaftp' already exists
    
    
    ERROR while trying to add supplementary group 'swkey-data' for user 'psaadm'
    Check the error reason(see log file: /tmp/plesk_10.2.0_installation.log), fix and try again
    
    *****  problem report *****
    ERROR while trying to add supplementary group 'swkey-data' for user 'psaadm'
    Check the error reason(see log file: /tmp/plesk_10.2.0_installation.log), fix and try again
    
    ERROR: An error occurred during performing of installation PREP actions (see log for details). Installation was rolled back.
    Warning! Not all packages were installed.
    Please check if your system services are operable.
    Please resolve this issue and try installing the packages again.
    If you cannot resolve the issue on your own, contact product technical support for assistance.
    
     
  5. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Is it fresh OS installation or previously there was already installed any Plesk version?
     
  6. cololo

    cololo Guest

    0
     
    It is fresh installation.
    Of course if running installation script revert back all changes made to the system after unsuccessful attempt to install. 1st attempt to run the installation script was failed to install mysql and exited with error because there was already installed mysql from sources by the hand. After removing it I ran installation script again which now failed with the above error.

    Tweaking with /etc/group and running installation script more and more didn't work because it stumbles on the same state trying to modify the group.
     
  7. cololo

    cololo Guest

    0
     
    I have tried to install plesk on CentOS 5.6 and it succeeded with no such behavior.
    So I suppose that something has changed in user/group handling utilities between CentOS4.8 and 5.6

    Unfortunately I wasn't able to check how exactly Plesk installation script check/create/modify system users/groups during installation. Because script itself (parallels_installer) is in binary format and it's impossible to analyze.

    Using --debug option doesn't make picture clearer.

    So I need further suggestions for centos 4.8 if possible.
     
    Last edited by a moderator: Jul 7, 2011
  8. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Why you want to use this very old and vulnerable CentOS version instead latest 5.6 version?
     
  9. Chris_O

    Chris_O New Pleskian

    16
    60%
    Joined:
    Nov 17, 2010
    Messages:
    19
    Likes Received:
    0
    OS: Debian 6.0 amd64
    using parallels_installer_v3.10.0_build110701.11_os_Debian_6.0_x86_64
    ----
    ===> Checking for previous installation ... not found.
    Create user 'psaadm' and group 'psaadm'
    Checking for the group 'psaadm'...
    Group 'psaadm' already exists

    Checking for the user 'psaadm'...
    User 'psaadm' already exists

    Create group swkey-data
    Checking for the group 'swkey-data'...
    Group 'swkey-data' already exists

    Checking for the group 'swkey-data'...
    Trying to add supplementary group 'swkey-data' for user 'psaadm'... already there
    Create Mail accounts
    Checking for the group 'popuser'...
    Group 'popuser' already exists

    Checking for the user 'popuser'...
    User 'popuser' already exists

    Checking for the user 'mhandlers-user'...
    User 'mhandlers-user' already exists

    Trying to got legacy variables... done
    Trying to save legacy variables... done
    Checking for the system groups and users necessary for ftp server...
    Checking for the group 'psaftp'...
    Group 'psaftp' already exists

    Checking for the user 'psaftp'...
    User 'psaftp' already exists


    ERROR while trying to add supplementary group 'swkey-data' for user 'psaadm'
    Check the error reason(see log file: /tmp/plesk_10.3.1_installation.log), fix and try again

    ***** problem report *****
    Checking /etc/group:

    psaadm:x:1001:psaadm
    swkey-data:x:1002:psaadm
    in the installation log is the same description as above not a single sign more.

    So i follow the advice:

    Please resolve this issue and try installing the packages again.
    If you cannot resolve the issue on your own, contact product technical support for assistance.


    regards

    chris
     
  10. Chris_O

    Chris_O New Pleskian

    16
    60%
    Joined:
    Nov 17, 2010
    Messages:
    19
    Likes Received:
    0
    the users/groups exists from previous tries to install. Removing them shows the same errors:
    Checking for the user 'psaftp'...
    Trying to add user 'psaftp'... done


    ERROR while trying to add supplementary group 'swkey-data' for user 'psaadm'
    Check the error reason(see log file: /tmp/plesk_10.3.1_installation.log), fix and try again
     
  11. RamonM

    RamonM New Pleskian

    19
    35%
    Joined:
    May 20, 2009
    Messages:
    5
    Likes Received:
    0
    Code:
    Installing packages
    config updated
    ===> Updated /etc/psa/psa.conf
    
    **** Product prep-install started.
    
    ===> Checking for previous installation ... not found.
    Create user 'psaadm' and group 'psaadm'
     Checking for the group 'psaadm'...
     Group 'psaadm' already exists
    
     Checking for the user 'psaadm'...
     User 'psaadm' already exists
    
    Create group swkey-data
     Checking for the group 'swkey-data'...
     Group 'swkey-data' already exists
    
     Checking for the group 'swkey-data'...
     Trying to add supplementary group 'swkey-data' for user 'psaadm'...  already th                                                           ere
    Create Mail accounts
     Checking for the group 'popuser'...
     Group 'popuser' already exists
    
     Checking for the user 'popuser'...
     User 'popuser' already exists
    
     Checking for the user 'mhandlers-user'...
     User 'mhandlers-user' already exists
    
     Trying to got legacy variables... done
     Trying to save legacy variables... done
     Checking for the system groups and users necessary for ftp server...
     Checking for the group 'psaftp'...
     Group 'psaftp' already exists
    
     Checking for the user 'psaftp'...
     User 'psaftp' already exists
    
    
    ERROR while trying to add supplementary group 'swkey-data' for user 'psa
    Check the error reason(see log file: /tmp/plesk_10.3.1_installation.log)                                                                   d try again
    
    *****  problem report *****
    ERROR while trying to add supplementary group 'swkey-data' for user 'psa
    Check the error reason(see log file: /tmp/plesk_10.3.1_installation.log)                                                                   d try again
    Synchronizing the Debian APT package index files...
    
    ERROR: An error occurred during performing of installation PREP actions                                                                     for details). Installation was rolled back.
    Warning! Not all packages were installed.
    Please check if your system services are operable.
    Please resolve this issue and try installing the packages again.
    If you cannot resolve the issue on your own, contact product technical s                                                                   or assistance.
    
    OS: Debian 5 Lenny

    Our situation:

    After a failed upgrade to 10.3.1 (blank screen), we decided to try and roll-back and found ourselves not being able to reinstall plesk again. APT gives a dependency error (psa: Depends: pp-sitebuilder (>= 5.2.0) but it is not installable) and the autoinstaller gives the same swkey-data error as described above. (Using the bootstrapper also gives this PREP error)

    Any ideas on how to fix this without having to reinstall from scratch?
     
  12. Chris_O

    Chris_O New Pleskian

    16
    60%
    Joined:
    Nov 17, 2010
    Messages:
    19
    Likes Received:
    0
    No idea if it is the same problem as I had.

    In my case it was a special character ":" in plesk admin password.

    After changing to a "better" password the error didn't appear again.

    Hope it helps

    chris
     
  13. RamonM

    RamonM New Pleskian

    19
    35%
    Joined:
    May 20, 2009
    Messages:
    5
    Likes Received:
    0
    Hehe how did you figure that out? Pretty sure that's not it for me though :(
     
  14. Chris_O

    Chris_O New Pleskian

    16
    60%
    Joined:
    Nov 17, 2010
    Messages:
    19
    Likes Received:
    0
    I was so desperated, I tried nearly everything.
     
  15. Somani

    Somani Guest

    0
     
    Same Error here :( - But with Version 11

    Tried to install on Debian 6.0..


    No Idea how to check or change this.. I didn't get asked for a password
     
    Last edited by a moderator: Aug 9, 2012
  16. daremar

    daremar New Pleskian

    6
     
    Joined:
    Jun 20, 2013
    Messages:
    4
    Likes Received:
    0
    got same problem updating to 11.0.9

    group cat:
    stucked...
    anyone had been capable to solve it?

    thx
     
  17. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Regarding this issue, you need to follow the below steps to fix.

    1. Remove the custom Mysql package present inside the server and install the mysql package that comes with OS repo using yum.
    2. Afterwards, you will be able to install Mysql version 5.5 on to the server using autoinstaller.
     
  18. daremar

    daremar New Pleskian

    6
     
    Joined:
    Jun 20, 2013
    Messages:
    4
    Likes Received:
    0
    thx Igor, uninstalling mysql will delete my db?
     
  19. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    I'm not sure. But you can create dump before just in case.
     
  20. daremar

    daremar New Pleskian

    6
     
    Joined:
    Jun 20, 2013
    Messages:
    4
    Likes Received:
    0
    yeah, that's for sure, but sucks to import it all again...

    i will get a try and let you know... (finger crossed....)
     
Loading...