Ticket #1026 (Delete customer, not work, error 500 after delete) created

  • [feedquote='Trac','http://trac.i-mscp.net/ticket/1026']

    Deleting a client is not removed from the database or deleting its configuration files, and fails to restart php-fpm as it deletes the user OS, but not so their configuration files

    Code
    1. [Sat Feb 15 19:39:16 2014] [debug] iMSCP::Config::_init: Tying /etc/imscp/proftpd/proftpd.data
    2. [Sat Feb 15 19:39:16 2014] [debug] iMSCP::Config::_loadConfig: Loading /etc/imscp/proftpd/proftpd.data
    3. [Sat Feb 15 19:39:16 2014] [debug] iMSCP::Config::_parseConfig: Parsing /etc/imscp/proftpd/proftpd.data
    4. [Sat Feb 15 19:39:16 2014] [debug] Modules::Abstract::runAction: Calling action deleteUser from Servers::httpd
    5. [Sat Feb 15 19:39:16 2014] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/gpasswd -d www-data vu2102
    6. [Sat Feb 15 19:39:16 2014] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
    7. [Sat Feb 15 19:39:16 2014] [debug] iMSCP::SystemUser::removeFromGroup: Removing user www-data from group vu2102
    8. [Sat Feb 15 19:39:16 2014] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/pkill -KILL -u vu2102 ; /usr/sbin/userdel -r -f vu2102
    9. [Sat Feb 15 19:39:16 2014] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
    10. [Sat Feb 15 19:39:16 2014] [debug] iMSCP::SystemUser::delSystemUser: userdel: vu2102 mail spool (/var/mail/vu2102) not found
    Code
    1. [15-Feb-2014 17:55:36] NOTICE: ready to handle connections
    2. [15-Feb-2014 19:39:17] NOTICE: Reloading in progress ...
    3. [15-Feb-2014 19:39:17] NOTICE: reloading: execvp("/usr/sbin/php5-fpm", {"/usr/sbin/php5-fpm", "--fpm-config", "/etc/php5/fpm/php-fpm.conf"})
    4. [15-Feb-2014 19:39:17] ERROR: [pool vafe-computacion.com.ar] cannot get uid for user 'vu2102'
    5. [15-Feb-2014 19:39:17] ERROR: [pool vafe-computacion.com.ar] cannot get uid for user 'vu2102'
    6. [15-Feb-2014 19:39:17] ERROR: FPM initialization failed
    7. [15-Feb-2014 19:39:17] ERROR: FPM initialization failed

    [/feedquote]