Not creating clients under /var/www/clients

Discussion in 'General' started by Evothea, Jun 20, 2017.

  1. Evothea

    Evothea New Member

    Hello,
    I'm new to ISPConfig (found the actual config on place) and I seem to have an issue while creating new clients through the panel.
    The new clients are in the remote db as configurated but not created in /var/www/clients...
    Code:
    www-data:x:33:
    ispapps:x:5003:www-data
    ispconfig:x:5004:www-data
    client0:x:5006:www-data
    client4:x:5007:www-data
    client11:x:5008:www-data
    client10:x:5009:www-data
    client13:x:5010:www-data
    And ofc the log goes accordingly:
    Code:
    mardi 20 juin 2017, 09:36:06 (UTC+0200) mount: le point de montage /var/www/clients/client13/web12/log n'existe pas
    mardi 20 juin 2017, 09:36:06 (UTC+0200) ln: impossible de créer le lien symbolique « /var/www/clients/client13/comentousk.com »: Aucun fichier ou dossier de ce type
    mardi 20 juin 2017, 09:36:06 (UTC+0200) cp: la cible « /var/www/clients/client13/web12/web/error/ » n'est pas un répertoire
    mardi 20 juin 2017, 09:36:06 (UTC+0200) chmod: impossible d'accéder à « /var/www/clients/client13/web12/web/error/ »: Aucun fichier ou dossier de ce type
    mardi 20 juin 2017, 09:36:06 (UTC+0200) cp: impossible de créer le fichier standard « /var/www/clients/client13/web12/web/index.html »: Aucun fichier ou dossier de ce type
    mardi 20 juin 2017, 09:36:06 (UTC+0200) cp: impossible de créer le fichier standard « /var/www/clients/client13/web12/web/ »: Aucun fichier ou dossier de ce type
    mardi 20 juin 2017, 09:36:06 (UTC+0200) cp: impossible de créer le fichier standard « /var/www/clients/client13/web12/web/ »: Aucun fichier ou dossier de ce type
    mardi 20 juin 2017, 09:36:06 (UTC+0200) cp: impossible de créer le fichier standard « /var/www/clients/client13/web12/web/ »: Aucun fichier ou dossier de ce type
    mardi 20 juin 2017, 09:36:06 (UTC+0200) chmod: impossible d'accéder à « /var/www/clients/client13/web12/web/ »: Aucun fichier ou dossier de ce type
    mardi 20 juin 2017, 09:36:06 (UTC+0200) chown: impossible d'accéder à « /var/www/clients/client13/web12/web »: Aucun fichier ou dossier de ce type
    mardi 20 juin 2017, 09:36:06 (UTC+0200) chown: impossible d'accéder à « /var/www/clients/client13/web12/web »: Aucun fichier ou dossier de ce type
    mardi 20 juin 2017, 09:36:22 (UTC+0200) mount: le point de montage /var/www/clients/client13/web12/log n'existe pas
    mardi 20 juin 2017, 09:36:22 (UTC+0200) ln: impossible de créer le lien symbolique « /var/www/clients/client13/comentousk.com »: Aucun fichier ou dossier de ce type
    I took the manual but didnt found a clue about my issue.
    What am I missing here?
    Thank you in advance !
     
  2. Evothea

    Evothea New Member

    The problem is that is used a symlink instead of a mount bind for moving the directory to a different location. Using a symlink it is not possible.

    Solution:

    Delete the symlink /var/www

    and add the following line in /etc/fstab:

    /srv/www /var/www none bind,nobootwait 0 0
    /srv/vmail /var/vmail none bind,nobootwait 0 0
    and run:

    mount -a

    Thank you!
     

Share This Page