cannot create new sites in 3.5.0.2 Debian 6

Discussion in 'Installation/Configuration' started by WesB, Jul 31, 2013.

  1. WesB

    WesB New Member

    I cannot create new sites in 3.5.0.2 Debian 6 x86_64
    Only broken symlink gets created in clientX directory

    For example I am adding test.test.xx in ISPconfig then run:

    backup:/var/www/clients/client0# /usr/local/ispconfig/server/server.sh
    31.07.2013-11:09 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    31.07.2013-11:09 - DEBUG - Found 1 changes, starting update process.
    31.07.2013-11:09 - DEBUG - Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_insert'.
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31/ssl
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31/ssl
    31.07.2013-11:09 - DEBUG - Calling function 'insert' from plugin 'apache2_plugin' raised by event 'web_domain_insert'.
    31.07.2013-11:09 - DEBUG - Adding the user: web31
    31.07.2013-11:09 - DEBUG - Action aborted, target is a symlink: /var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31/web
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31/web
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31/web
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31/web
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31/web/error
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31/web/error
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31/ssl
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31/ssl
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31/cgi-bin
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31/cgi-bin
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31/tmp
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31/tmp
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31/webdav
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31/webdav
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31/private
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31/private
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/private
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/private
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/private
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31/log
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/clients/client0/web31/log
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/log
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/log
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/log
    mount: mount point /var/www/clients/client0/web31/log does not exist
    31.07.2013-11:09 - DEBUG - Action aborted, target is a symlink: /var/www/clients/client0/web31
    31.07.2013-11:09 - DEBUG - Creating symlink: ln -s /var/www/clients/client0/web31/ /var/www/test.test.xx
    31.07.2013-11:09 - DEBUG - Creating symlink: ln -s /var/www/clients/client0/web31/ /var/www/clients/client0/test.test.xx
    cp: target `/var/www/clients/client0/web31/web/error/' is not a directory
    chmod: cannot access `/var/www/clients/client0/web31/web/error/': No such file or directory
    cp: cannot create regular file `/var/www/clients/client0/web31/web/index.html': No such file or directory
    cp: cannot create regular file `/var/www/clients/client0/web31/web/': No such file or directory
    cp: cannot create regular file `/var/www/clients/client0/web31/web/': No such file or directory
    cp: cannot create regular file `/var/www/clients/client0/web31/web/': No such file or directory
    chmod: cannot access `/var/www/clients/client0/web31/web/': No such file or directory
    31.07.2013-11:09 - DEBUG - exec: chown -R web31:client0 /var/www/clients/client0/web31/web
    chown: cannot access `/var/www/clients/client0/web31/web': No such file or directory
    31.07.2013-11:09 - DEBUG - exec: chown web31:client0 /var/www/clients/client0/web31/web
    chown: cannot access `/var/www/clients/client0/web31/web': No such file or directory
    31.07.2013-11:09 - DEBUG - Action aborted, target is a symlink: /var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/private
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/web
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/webdav
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/private
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/ssl
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/tmp
    31.07.2013-11:09 - DEBUG - exec: usermod --groups sshusers web31 2>/dev/null
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/cgi-bin
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/cgi-bin
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/ssl
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/ssl
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/tmp
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/tmp
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/web
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/web
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/web/error
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/web/error
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/web/stats
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/web/stats
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/webdav
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/webdav
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/private
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/private
    31.07.2013-11:09 - DEBUG - Action aborted, target is a symlink: /var/www/clients/client0/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/php-fcgi-scripts/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/php-fcgi-scripts/web31
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/php-fcgi-scripts/web31/
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: //var/www/php-fcgi-scripts/web31/
    31.07.2013-11:09 - DEBUG - Creating fastcgi starter script directory: /var/www/php-fcgi-scripts/web31/
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/php-fcgi-scripts/web31/
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/php-fcgi-scripts/web31/
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/php-fcgi-scripts/web31/.php-fcgi-starter
    31.07.2013-11:09 - DEBUG - Creating fastcgi starter script: /var/www/php-fcgi-scripts/web31/.php-fcgi-starter
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/php-fcgi-scripts/web31/.php-fcgi-starter
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/php-fcgi-scripts/web31/.php-fcgi-starter
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/php-fcgi-scripts/web31/.php-fcgi-starter
    31.07.2013-11:09 - DEBUG - Writing the vhost file: /etc/apache2/sites-available/test.test.xx.vhost
    31.07.2013-11:09 - DEBUG - Creating symlink: /etc/apache2/sites-enabled/100-test.test.xx.vhost->/etc/apache2/sites-available/test.test.xx.vhost
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/web/stats
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/web/stats/.htaccess
    31.07.2013-11:09 - WARNING - Action aborted, file is a symlink: /var/www/clients/client0/web31/web/stats/.htaccess
    31.07.2013-11:09 - DEBUG - Apache status is: 1
    31.07.2013-11:09 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
    31.07.2013-11:09 - DEBUG - Apache online status after restart is: 1
    31.07.2013-11:09 - DEBUG - Processed datalog_id 628
    31.07.2013-11:09 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    finished.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Ensure that /var/www is a directory and not a symlink. If /var/www is a symlink to a different directory, then delete the symlink and replca eit with a bind mount in /etc/fstab
     
  3. WesB

    WesB New Member

    Hello Till,

    Your advice helped

    ls -l /var/www
    lrwxrwxrwx 1 root root 11 Jun 10 09:01 /var/www -> /backup/www
    rm -f /var/www
    mkdir /var/www
    echo "/backup/www /var/www none bind,nobootwait 0 0" >> /etc/fstab
    mount /var/www

    Thank you very much
     

Share This Page