View Single Post
  #12  
Old 18th January 2012, 16:00
spynode spynode is offline
Junior Member
 
Join Date: Jan 2012
Posts: 8
Thanks: 0
Thanked 1 Time in 1 Post
Default

Please watch this video. It shows exactly what happens. And note that this was on updated ISPConfig installation. I will post log soon.

edit: looks like it only happens to already existing vhosts which have non -1 traffic quota. Newly created vhosts have traffic quota set to -1 by default and changing it to some value and then changing it back to -1 does not cause this.


This is output of server.sh when the files get deleted:

Quote:
[root@main nosite.tld]# /usr/local/ispconfig/server/server.sh
PHP Warning: PHP Startup: apc: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
PHP Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
18.01.2012-19:38 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
18.01.2012-19:38 - DEBUG - Found 2 changes, starting update process.
18.01.2012-19:38 - DEBUG - Calling function 'update' from plugin 'ftpuser_base_plugin' raised by event 'ftp_user_update'.
18.01.2012-19:38 - DEBUG - FTP User directory '/var/www/clients/client0/web35' does not exist. Creating it now.
18.01.2012-19:38 - DEBUG - Added ftpuser_dir: /var/www/clients/client0/web35
18.01.2012-19:38 - DEBUG - Processed datalog_id 1875
18.01.2012-19:38 - DEBUG - Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
18.01.2012-19:38 - DEBUG - Calling function 'update' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
18.01.2012-19:38 - DEBUG - Removed symlink: rm -f /var/www/rabbit.lv
18.01.2012-19:38 - DEBUG - Removed symlink: rm -f /var/www/clients/client5/rabbit.lv
18.01.2012-19:38 - DEBUG - Moving site to new document root: mv /var/www/clients/client5/web35 /var/www/clients/client0
18.01.2012-19:38 - DEBUG - Creating symlink: ln -s /var/www/clients/client0/web35/ /var/www/rabbit.lv
18.01.2012-19:38 - DEBUG - Creating symlink: ln -s /var/www/clients/client0/web35/ /var/www/clients/client0/rabbit.lv
18.01.2012-19:38 - DEBUG - exec: chmod 751 /var/www/clients/client0/web35
18.01.2012-19:38 - DEBUG - exec: chmod 751 /var/www/clients/client0/web35/*
18.01.2012-19:38 - DEBUG - exec: chmod 710 /var/www/clients/client0/web35/web
18.01.2012-19:38 - DEBUG - exec: chmod 777 /var/www/clients/client0/web35/tmp
18.01.2012-19:38 - DEBUG - exec: chmod 755 /var/www/clients/client0/web35/log
18.01.2012-19:38 - DEBUG - exec: usermod --groups sshusers web35
18.01.2012-19:38 - DEBUG - exec: chown web35:client0 /var/www/clients/client0/web35
18.01.2012-19:38 - DEBUG - exec: chown web35:client0 /var/www/clients/client0/web35/cgi-bin
18.01.2012-19:38 - DEBUG - exec: chown web35:client0 /var/www/clients/client0/web35/log
18.01.2012-19:38 - DEBUG - exec: chown web35:client0 /var/www/clients/client0/web35/ssl
18.01.2012-19:38 - DEBUG - exec: chown web35:client0 /var/www/clients/client0/web35/tmp
18.01.2012-19:38 - DEBUG - exec: chown -R web35:client0 /var/www/clients/client0/web35/web
18.01.2012-19:38 - DEBUG - exec: chown web35:client0 /var/www/clients/client0/web35/log/error.log
18.01.2012-19:38 - DEBUG - Writing the vhost file: /etc/httpd/conf/sites-available/rabbit.lv.vhost
18.01.2012-19:38 - DEBUG - Creating symlink: /etc/httpd/conf/sites-enabled/100-rabbit.lv.vhost->/etc/httpd/conf/sites-available/rabbit.lv.vhost
18.01.2012-19:38 - DEBUG - Apache status is: 1
18.01.2012-19:38 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
Warning: DocumentRoot [/var/www/kiurgz.ihack.lv/web] does not exist
Warning: DocumentRoot [/var/www/nosite.lv/web] does not exist
[Wed Jan 18 17:38:32 2012] [warn] NameVirtualHost 85.31.99.200:443 has no VirtualHosts
[Wed Jan 18 17:38:32 2012] [warn] NameVirtualHost 85.31.99.199:443 has no VirtualHosts
18.01.2012-19:38 - DEBUG - Apache online status after restart is: 1
18.01.2012-19:38 - DEBUG - Calling function 'ssl' from plugin 'nginx_plugin' raised by event 'web_domain_update'.
18.01.2012-19:38 - DEBUG - Calling function 'update' from plugin 'nginx_plugin' raised by event 'web_domain_update'.
18.01.2012-19:38 - DEBUG - Removed symlink: rm -f /var/www/rabbit.lv
mv: cannot stat `/var/www/clients/client5/web35': No such file or directory
18.01.2012-19:38 - DEBUG - Moving site to new document root: mv /var/www/clients/client5/web35 /var/www/clients/client0
18.01.2012-19:38 - DEBUG - Creating symlink: ln -s /var/log/ispconfig/httpd/rabbit.lv /var/www/clients/client0/web35/log
PHP Warning: unlink(/var/www/rabbit.lv): No such file or directory in /usr/local/ispconfig/server/plugins-available/nginx_plugin.inc.php on line 431
18.01.2012-19:38 - DEBUG - Creating symlink: ln -s /var/www/clients/client0/web35/ /var/www/clients/client0/rabbit.lv
18.01.2012-19:38 - DEBUG - exec: chmod 751 /var/www/clients/client0/web35
18.01.2012-19:38 - DEBUG - exec: chmod 751 /var/www/clients/client0/web35/*
18.01.2012-19:38 - DEBUG - exec: chmod 710 /var/www/clients/client0/web35/web
18.01.2012-19:38 - DEBUG - exec: chmod 777 /var/www/clients/client0/web35/tmp
18.01.2012-19:38 - DEBUG - exec: chmod 755 /var/www/clients/client0/web35/log
18.01.2012-19:38 - DEBUG - exec: usermod --groups sshusers web35
18.01.2012-19:38 - DEBUG - exec: chown web35:client0 /var/www/clients/client0/web35
18.01.2012-19:38 - DEBUG - exec: chown web35:client0 /var/www/clients/client0/web35/cgi-bin
18.01.2012-19:38 - DEBUG - exec: chown web35:client0 /var/www/clients/client0/web35/log
18.01.2012-19:38 - DEBUG - exec: chown web35:client0 /var/www/clients/client0/web35/ssl
18.01.2012-19:38 - DEBUG - exec: chown web35:client0 /var/www/clients/client0/web35/tmp
18.01.2012-19:38 - DEBUG - exec: chown -R web35:client0 /var/www/clients/client0/web35/web
18.01.2012-19:38 - DEBUG - exec: chown web35:client0 /var/www/clients/client0/web35/log/error.log
18.01.2012-19:38 - DEBUG - SSL Disabled.
PHP Warning: file_put_contents(/etc/nginx/sites-available/rabbit.lv.vhost): failed to open stream: No such file or directory in /usr/local/ispconfig/server/plugins-available/nginx_plugin.inc.php on line 889
18.01.2012-19:38 - DEBUG - Writing the vhost file: /etc/nginx/sites-available/rabbit.lv.vhost
PHP Warning: symlink(): No such file or directory in /usr/local/ispconfig/server/plugins-available/nginx_plugin.inc.php on line 919
18.01.2012-19:38 - DEBUG - Creating symlink: /etc/nginx/sites-enabled/100-rabbit.lv.vhost->/etc/nginx/sites-available/rabbit.lv.vhost
18.01.2012-19:38 - DEBUG - nginx status is: 1
18.01.2012-19:38 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
Warning: DocumentRoot [/var/www/kiurgz.ihack.lv/web] does not exist
Warning: DocumentRoot [/var/www/nosite.lv/web] does not exist
Warning: DocumentRoot [/var/www/rabbit.lv/web] does not exist
[Wed Jan 18 17:38:37 2012] [warn] NameVirtualHost 85.31.99.200:443 has no VirtualHosts
[Wed Jan 18 17:38:37 2012] [warn] NameVirtualHost 85.31.99.199:443 has no VirtualHosts
18.01.2012-19:38 - DEBUG - nginx online status after restart is: 1
18.01.2012-19:38 - DEBUG - Processed datalog_id 1876
18.01.2012-19:38 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
finished.
[root@main nosite.tld]#

Last edited by spynode; 18th January 2012 at 16:48.
Reply With Quote