Deleting webs with vhostsubdomains
Check if deleting a web with vhostsubdomains is working. Just got this when I did it:
root@v677:/var/www/test5.de/web# /usr/local/ispconfig/server/server.sh
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0
13.02.2013-16:34 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
13.02.2013-16:34 - DEBUG - Found 7 changes, starting update process.
13.02.2013-16:34 - DEBUG - Calling function 'ssl' from plugin 'nginx_plugin' raised by event 'web_domain_delete'.
13.02.2013-16:34 - DEBUG - Calling function 'delete' from plugin 'nginx_plugin' raised by event 'web_domain_delete'.
umount: /var/www/clients/client24/web27/log/sub1.test23.de: not found
13.02.2013-16:34 - DEBUG - Removing symlink: /etc/nginx/sites-enabled/100-sub1.test23.de.vhost->/etc/nginx/sites-available/sub1.test23.de.vhost
13.02.2013-16:34 - DEBUG - Removing vhost file: /etc/nginx/sites-available/sub1.test23.de.vhost
13.02.2013-16:34 - DEBUG - Removed PHP-FPM config file: /etc/php5/fpm/pool.d/web28.conf
13.02.2013-16:34 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'.
13.02.2013-16:34 - DEBUG - Removing website: /var/www/clients/client24/web27
13.02.2013-16:34 - DEBUG - Removing symlink: /var/www/sub1.test23.de
13.02.2013-16:34 - DEBUG - Removing symlink: /var/www/clients/client24/sub1.test23.de
13.02.2013-16:34 - DEBUG - Removing website logfile directory: /var/log/ispconfig/httpd/sub1.test23.de
13.02.2013-16:34 - DEBUG - Processed datalog_id 3181
13.02.2013-16:34 - DEBUG - Calling function 'ssl' from plugin 'nginx_plugin' raised by event 'web_domain_delete'.
13.02.2013-16:34 - DEBUG - Calling function 'delete' from plugin 'nginx_plugin' raised by event 'web_domain_delete'.
13.02.2013-16:34 - WARNING - document_root not set
13.02.2013-16:34 - DEBUG - Action aborted, target is a symlink:
13.02.2013-16:34 - DEBUG - Processed datalog_id 3182
13.02.2013-16:34 - DEBUG - Calling function 'ssl' from plugin 'nginx_plugin' raised by event 'web_domain_delete'.
13.02.2013-16:34 - DEBUG - Calling function 'delete' from plugin 'nginx_plugin' raised by event 'web_domain_delete'.
13.02.2013-16:34 - WARNING - document_root not set
13.02.2013-16:34 - DEBUG - Action aborted, target is a symlink:
13.02.2013-16:34 - DEBUG - Processed datalog_id 3183
13.02.2013-16:34 - DEBUG - Calling function 'ssl' from plugin 'nginx_plugin' raised by event 'web_domain_delete'.
13.02.2013-16:34 - DEBUG - Calling function 'delete' from plugin 'nginx_plugin' raised by event 'web_domain_delete'.
13.02.2013-16:34 - WARNING - document_root not set
13.02.2013-16:34 - DEBUG - Action aborted, target is a symlink:
13.02.2013-16:34 - DEBUG - Processed datalog_id 3184
13.02.2013-16:34 - DEBUG - Calling function 'ssl' from plugin 'nginx_plugin' raised by event 'web_domain_delete'.
13.02.2013-16:34 - DEBUG - Calling function 'delete' from plugin 'nginx_plugin' raised by event 'web_domain_delete'.
13.02.2013-16:34 - WARNING - document_root not set
13.02.2013-16:34 - DEBUG - Action aborted, target is a symlink:
13.02.2013-16:34 - DEBUG - Processed datalog_id 3185
13.02.2013-16:34 - DEBUG - Calling function 'ssl' from plugin 'nginx_plugin' raised by event 'web_domain_delete'.
13.02.2013-16:34 - DEBUG - Calling function 'delete' from plugin 'nginx_plugin' raised by event 'web_domain_delete'.
13.02.2013-16:34 - WARNING - document_root not set
13.02.2013-16:34 - DEBUG - Action aborted, target is a symlink:
13.02.2013-16:34 - DEBUG - Processed datalog_id 3186
13.02.2013-16:34 - DEBUG - Calling function 'ssl' from plugin 'nginx_plugin' raised by event 'web_domain_delete'.
13.02.2013-16:34 - DEBUG - Calling function 'delete' from plugin 'nginx_plugin' raised by event 'web_domain_delete'.
umount: /var/www/clients/client24/web27/log: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
13.02.2013-16:34 - DEBUG - Removing symlink: /etc/nginx/sites-enabled/100-test23.de.vhost->/etc/nginx/sites-available/test23.de.vhost
13.02.2013-16:34 - DEBUG - Removing vhost file: /etc/nginx/sites-available/test23.de.vhost
rm: cannot remove /var/www/clients/client24/web27/log/sub1': Device or resource busy 13.02.2013-16:34 - DEBUG - Removed PHP-FPM config file: /etc/php5/fpm/pool.d/web27.conf 13.02.2013-16:34 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'. 13.02.2013-16:34 - DEBUG - Removing website: /var/www/clients/client24/web27 13.02.2013-16:34 - DEBUG - Removing symlink: /var/www/test23.de 13.02.2013-16:34 - DEBUG - Removing symlink: /var/www/clients/client24/test23.de rm: cannot remove
/var/log/ispconfig/httpd/test23.de/sub1': Device or resource busy
13.02.2013-16:34 - DEBUG - Removing website logfile directory: /var/log/ispconfig/httpd/test23.de
13.02.2013-16:34 - DEBUG - Processed datalog_id 3187
13.02.2013-16:34 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
13.02.2013-16:34 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
finished.
root@v677:/var/www/test5.de/web#
root@v677:/var/www/test5.de/web# /usr/local/ispconfig/server/server.sh PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0 13.02.2013-17:11 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock 13.02.2013-17:11 - DEBUG - Found 4 changes, starting update process. 13.02.2013-17:11 - DEBUG - Calling function 'ssl' from plugin 'nginx_plugin' raised by event 'web_domain_delete'. 13.02.2013-17:11 - DEBUG - Calling function 'delete' from plugin 'nginx_plugin' raised by event 'web_domain_delete'. umount: /var/www/clients/client20/web23/log/sub1.test19.de: not found 13.02.2013-17:11 - DEBUG - Removing symlink: /etc/nginx/sites-enabled/100-sub1.test19.de.vhost->/etc/nginx/sites-available/sub1.test19.de.vhost 13.02.2013-17:11 - DEBUG - Removing vhost file: /etc/nginx/sites-available/sub1.test19.de.vhost 13.02.2013-17:11 - DEBUG - Removed PHP-FPM config file: /etc/php5/fpm/pool.d/web24.conf 13.02.2013-17:11 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'. 13.02.2013-17:11 - DEBUG - Removing website: /var/www/clients/client20/web23 13.02.2013-17:11 - DEBUG - Removing symlink: /var/www/sub1.test19.de 13.02.2013-17:11 - DEBUG - Removing symlink: /var/www/clients/client20/sub1.test19.de 13.02.2013-17:11 - DEBUG - Removing website logfile directory: /var/log/ispconfig/httpd/sub1.test19.de 13.02.2013-17:11 - DEBUG - Processed datalog_id 3188 13.02.2013-17:11 - DEBUG - Processed datalog_id 3189 13.02.2013-17:11 - DEBUG - Calling function 'delete' from plugin 'aps_plugin' raised by event 'aps_instance_delete'. 13.02.2013-17:11 - DEBUG - Processed datalog_id 3190 13.02.2013-17:11 - DEBUG - Calling function 'ssl' from plugin 'nginx_plugin' raised by event 'web_domain_delete'. 13.02.2013-17:11 - DEBUG - Calling function 'delete' from plugin 'nginx_plugin' raised by event 'web_domain_delete'. 13.02.2013-17:11 - DEBUG - Removing symlink: /etc/nginx/sites-enabled/100-test19.de.vhost->/etc/nginx/sites-available/test19.de.vhost 13.02.2013-17:11 - DEBUG - Removing vhost file: /etc/nginx/sites-available/test19.de.vhost 13.02.2013-17:11 - DEBUG - Removed PHP-FPM config file: /etc/php5/fpm/pool.d/web23.conf 13.02.2013-17:11 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'. 13.02.2013-17:11 - DEBUG - Removing website: /var/www/clients/client20/web23 13.02.2013-17:11 - DEBUG - Removing symlink: /var/www/test19.de 13.02.2013-17:11 - DEBUG - Removing symlink: /var/www/clients/client20/test19.de rm: cannot remove `/var/log/ispconfig/httpd/test19.de/sub1': Device or resource busy 13.02.2013-17:11 - DEBUG - Removing website logfile directory: /var/log/ispconfig/httpd/test19.de 13.02.2013-17:11 - DEBUG - Processed datalog_id 3191 13.02.2013-17:11 - DEBUG - Calling function 'restartHttpd' from module 'web_module'. 13.02.2013-17:11 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock finished. root@v677:/var/www/test5.de/web#