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] FTP accounts linked to nonexistent physical directories

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by kadoudal, Dec 2, 2010.

  1. kadoudal

    kadoudal Regular Pleskian

    27
    23%
    Joined:
    Nov 20, 2007
    Messages:
    244
    Likes Received:
    0
    Before migrating to Plesk 10, I installed some additional users, using the 'trick' :
    1- creating additional web users
    2- adding them into /etc/passwd , ... I know I should not have... but these users were screaming ...)
    3- changing their UID value by the default FTP user UID
    4- changing their absolute path ( fro the partition whre /var is to a larger partition in /data/ftp_users./
    the trick was running fine ...
    After migration, (as Plesk 10 offers now this capability) I deleted these guys from /etc/passwd and I am trying to reinstall these guys as additional ftp_users
    BUT, going to : WebSites & Domains > FTP Access
    I get an error :
    Error: There are FTP accounts linked to nonexistent physical directories.
    and I can still see these guys listed ( pink) with a Home path being /web_users/xxxx

    Q1 : How I can get rid definitely from these guys ? ( are they still stored somewhere ... in the BD ? )
    Q2 : When adding an additional ftp user, can I force the home path not to be in /var/www/vhosts/my_domain/web_users/xxx but in another partition /data/ftp_users/xxx ?

    thanks for your help

    erwin
     

    Attached Files:

  2. kadoudal

    kadoudal Regular Pleskian

    27
    23%
    Joined:
    Nov 20, 2007
    Messages:
    244
    Likes Received:
    0
    deleted these records.. ftp_users clean ...
    but impossible to create new ftp_users ( not only in this domain, but in any domain.. is this feature oK ? or buggy ?)

    error :
    Error: SysUser::update() failed: Unable to create system user: usermng: PAM password change failed: 24, Failed preliminary check by password service

    PLESK 10.0.1 / CENTOS /
    Web Sites & Domains> FT Access > Add new FTP account for domain xxxxxx
    create additional ftp account
    user name / path : web_users / password /
     
Loading...