[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
- [Sat Feb 15 19:39:11 2014] [debug] iMSCP::Debug::silent: Entering in silent mode
- [Sat Feb 15 19:39:11 2014] [debug] iMSCP::Bootstrapper::boot: Booting backend...
- [Sat Feb 15 19:39:11 2014] [debug] iMSCP::Config::_init: Tying /etc/imscp/imscp.conf
- [Sat Feb 15 19:39:11 2014] [debug] iMSCP::Config::_loadConfig: Loading /etc/imscp/imscp.conf
- [Sat Feb 15 19:39:11 2014] [debug] iMSCP::Config::_parseConfig: Parsing /etc/imscp/imscp.conf
- [Sat Feb 15 19:39:11 2014] [debug] iMSCP::Bootstrapper::lock: Acquire exclusive lock on /tmp/imscp.lock
- [Sat Feb 15 19:39:11 2014] [debug] main::_process: Processing type Plugin
- [Sat Feb 15 19:39:11 2014] [debug] main::_process: Processing 25, POP3Fetchmail, enabled.
- [Sat Feb 15 19:39:11 2014] [debug] main::_process: Processing 22, OwnDDNS, enabled.
- [Sat Feb 15 19:39:11 2014] [debug] main::_process: Processing 21, AdminerSQL, enabled.
- [Sat Feb 15 19:39:11 2014] [debug] main::_process: Processing 26, Mailman, enabled.
- [Sat Feb 15 19:39:12 2014] [debug] main::_process: Processing 23, OpenDKIM, enabled.
- [Sat Feb 15 19:39:15 2014] [debug] main::_process: Processing 20, RoundcubePlugins, enabled.
- [Sat Feb 15 19:39:15 2014] [debug] main::_process: Processing type Certificates
- [Sat Feb 15 19:39:15 2014] [debug] main::_process: No Certificates to process.
- [Sat Feb 15 19:39:15 2014] [debug] main::_process: Processing type User
- [Sat Feb 15 19:39:15 2014] [debug] main::_process: No User to process.
- [Sat Feb 15 19:39:15 2014] [debug] main::_process: Processing type Domain
- [Sat Feb 15 19:39:15 2014] [debug] main::_process: Processing 98, vafe-computacion.com.ar, tochange.
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: Processing type Subdomain
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: No Subdomain to process.
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: Processing type Alias
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: No Alias to process.
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: Processing type SubAlias
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: No SubAlias to process.
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: Processing type Mail
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: Processing 1011, abuse@vafe-computacion.com.ar, todelete.
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: Processing 1010, postmaster@vafe-computacion.com.ar, todelete.
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: Processing 1009, webmaster@vafe-computacion.com.ar, todelete.
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: Processing type Htusers
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: No Htusers to process.
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: Processing type Htgroup
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: No Htgroup to process.
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: Processing type Htaccess
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: No Htaccess to process.
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: Processing type SubAlias
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: No SubAlias to process.
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: Processing type Subdomain
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: No Subdomain to process.
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: Processing type Alias
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: No Alias to process.
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: Processing type Domain
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: No Domain to process.
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: Processing type User
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: Processing 102, vafe-computacion.com.ar, todelete.
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: Processing type NetCard
- [Sat Feb 15 19:39:16 2014] [debug] main::_process: No NetCard to process.
- [Sat Feb 15 19:39:16 2014] [debug] iMSCP::Execute::execute: Executing command: /usr/sbin/service bind9 restart 2>/dev/null
- [Sat Feb 15 19:39:17 2014] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
- [Sat Feb 15 19:39:17 2014] [debug] Servers::named::bind::restart: Stopping domain name service...: bind9waiting for pid 31318 to die
- .
- Starting domain name service...: bind9.
- [Sat Feb 15 19:39:17 2014] [debug] iMSCP::Execute::execute: Executing command: /usr/sbin/service php5-fpm reload 2>/dev/null
- [Sat Feb 15 19:39:17 2014] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
- [Sat Feb 15 19:39:17 2014] [debug] Servers::httpd::apache_php_fpm::restartPhpFpm: Reloading PHP5 FastCGI Process Manager: php5-fpm.
- [Sat Feb 15 19:39:17 2014] [debug] iMSCP::Execute::execute: Executing command: /usr/sbin/service apache2 reload 2>/dev/null
- [Sat Feb 15 19:39:17 2014] [debug] iMSCP::Execute::getExitCode: External command exited with value 1
- [Sat Feb 15 19:39:17 2014] [debug] Servers::httpd::apache_php_fpm::restartApache: Reloading web server config: apache2 failed!
- [Sat Feb 15 19:39:17 2014] [debug] iMSCP::Execute::execute: Executing command: /usr/sbin/postmap hash:/etc/postfix/imscp/domains
- [Sat Feb 15 19:39:17 2014] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
- [Sat Feb 15 19:39:17 2014] [debug] iMSCP::Execute::execute: Executing command: /usr/sbin/postmap hash:/etc/postfix/imscp/relay_domains
- [Sat Feb 15 19:39:17 2014] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
- [Sat Feb 15 19:39:17 2014] [debug] iMSCP::Execute::execute: Executing command: /usr/sbin/postmap hash:/etc/postfix/imscp/transport
- [Sat Feb 15 19:39:17 2014] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
- [Sat Feb 15 19:39:17 2014] [debug] iMSCP::Execute::execute: Executing command: /usr/sbin/postmap hash:/etc/postfix/imscp/aliases
- [Sat Feb 15 19:39:17 2014] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
- [Sat Feb 15 19:39:17 2014] [debug] iMSCP::Execute::execute: Executing command: /usr/sbin/postmap hash:/etc/postfix/imscp/mailboxes
- [Sat Feb 15 19:39:17 2014] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
- [Sat Feb 15 19:39:17 2014] [debug] iMSCP::Debug::END: Exit code: 0
Code
- [Sat Feb 15 19:39:16 2014] [debug] iMSCP::Config::_init: Tying /etc/imscp/proftpd/proftpd.data
- [Sat Feb 15 19:39:16 2014] [debug] iMSCP::Config::_loadConfig: Loading /etc/imscp/proftpd/proftpd.data
- [Sat Feb 15 19:39:16 2014] [debug] iMSCP::Config::_parseConfig: Parsing /etc/imscp/proftpd/proftpd.data
- [Sat Feb 15 19:39:16 2014] [debug] Modules::Abstract::runAction: Calling action deleteUser from Servers::httpd
- [Sat Feb 15 19:39:16 2014] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/gpasswd -d www-data vu2102
- [Sat Feb 15 19:39:16 2014] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
- [Sat Feb 15 19:39:16 2014] [debug] iMSCP::SystemUser::removeFromGroup: Removing user www-data from group vu2102
- [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
- [Sat Feb 15 19:39:16 2014] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
- [Sat Feb 15 19:39:16 2014] [debug] iMSCP::SystemUser::delSystemUser: userdel: vu2102 mail spool (/var/mail/vu2102) not found
Code
- [15-Feb-2014 17:55:36] NOTICE: ready to handle connections
- [15-Feb-2014 19:39:17] NOTICE: Reloading in progress ...
- [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"})
- [15-Feb-2014 19:39:17] ERROR: [pool vafe-computacion.com.ar] cannot get uid for user 'vu2102'
- [15-Feb-2014 19:39:17] ERROR: [pool vafe-computacion.com.ar] cannot get uid for user 'vu2102'
- [15-Feb-2014 19:39:17] ERROR: FPM initialization failed
- [15-Feb-2014 19:39:17] ERROR: FPM initialization failed
[/feedquote]