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

Command Line Utility Error

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

  1. GiorgosI

    GiorgosI Basic Pleskian

    21
    73%
    Joined:
    Nov 6, 2009
    Messages:
    64
    Likes Received:
    3
    Plesk 10.0.1, Ubuntu 10.04 LTS x64, Linux 2.6.32-26-generic

    I cannot find any documentation for command line utility of Plesk 10.0.1.
    I try to update domain's ftp credentials through command line utility but I get:
    __________________________________________________________________________________________
    # export PSA_CRYPTED_PASSWORD='$1$TqAsfJGs$9OMNfTKyKAOfgIq8R3eBw0'
    # /opt/psa/bin/domain --update testnoc6.ccf.auth.gr -login testnoc6ftp -passwd_type encrypted -passwd ''
    /usr/sbin/chpasswd: invalid option -- 'e'
    Usage: chpasswd [options]

    Options:
    -h, --help display this help message and exit
    -S, --stdout report encrypted passwords to stdout
    instead of changing the passwd file

    usermng: /usr/sbin/chpasswd execution error. result code=512
    An error occurred during domain update: error in hosting updating: Unable to update hosting settings: system user update is failed: Unable to create system user: usermng: /usr/sbin/chpasswd execution error. result code=512
    __________________________________________________________________________________________


    In CentOS 5.5 x64 it seems to work fine(I give exactly the same command):
    __________________________________________________________________________________________
    # export PSA_CRYPTED_PASSWORD='$1$TqAsfJGs$9OMNfTKyKAOfgIq8R3eBw0'
    # /usr/local/psa/bin/domain --update testnoc6.ccf.auth.gr -login testnoc6ftp -passwd_type encrypted -passwd ''
    no crontab for testnoc7ftp
    no crontab for testnoc7ftp
    SUCCESS: Update of domain 'testnoc6.ccf.auth.gr' complete.
    __________________________________________________________________________________________
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,543
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    Seems problem in /usr/sbin/chpasswd version. For example, I have -e option on my Ubuntu:

     
  3. GiorgosI

    GiorgosI Basic Pleskian

    21
    73%
    Joined:
    Nov 6, 2009
    Messages:
    64
    Likes Received:
    3
    Yes, /usr/sbin/chpasswd does not support -e option.
    So, is it Ubuntu's or Plesk's bug.
    Plesk 10.0.1 says that supports Ubuntu 10.04.
    Do you know if there is any workaround?
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,543
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    Yes, we have already submitted bugreport regarding this problem. As far as I know fix will be included to 10.1.0 version which will be released soon (no any ETA).
     
Loading...