Website hasn't been created

Discussion in 'ISPConfig 3 Priority Support' started by tlove, Aug 21, 2022.

  1. tlove

    tlove Member HowtoForge Supporter

    mkdir: cannot create directory ‘/var/www/clients/client1/test’: Operation not permitted
    No hard drive failure and it is specific to /var/www/clients/client1
    just checked I can create test directories in / /var /var/www /var/www/clients
     
    Last edited: Aug 21, 2022
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, so here we have the issue, there is no site because no folders can be created on the hard disk by the root user. This means there is no issue in ISPConfig, it's a general server problem. Now we have to find out what's wrong with the folder or hard disk or mount point.

    please run these commands:

    lsattr /var/www/clients/
    lsattr /var/www/
    mount -l
    df -h
     
  3. tlove

    tlove Member HowtoForge Supporter

    root@mail:/var/www/clients/client1# lsattr /var/www/clients/
    --------------e----- /var/www/clients/test4
    ----i---------e----- /var/www/clients/client1
    --------------e----- /var/www/clients/client2
    root@mail:/var/www/clients/client1# lsattr /var/www/
    --------------e----- /var/www/apps
    lsattr: Operation not supported While reading flags on /var/www/idoccc.org
    --------------e----- /var/www/php-fcgi-scripts
    lsattr: Operation not supported While reading flags on /var/www/mail.alkhayyam.org
    lsattr: Operation not supported While reading flags on /var/www/loveservices.org
    --------------e----- /var/www/conf
    lsattr: Operation not supported While reading flags on /var/www/lovewebservers.com
    --------------e----- /var/www/html
    lsattr: Operation not supported While reading flags on /var/www/sr-data.org
    lsattr: Operation not supported While reading flags on /var/www/love-cloud.org
    lsattr: Operation not supported While reading flags on /var/www/idesignthinking.com
    --------------e----- /var/www/test3
    lsattr: Operation not supported While reading flags on /var/www/wa-cpted-awards.org
    lsattr: Operation not supported While reading flags on /var/www/securedbydesign.com.au
    lsattr: Operation not supported While reading flags on /var/www/lovewebservices.com
    lsattr: Operation not supported While reading flags on /var/www/loveservices.com.au
    lsattr: Operation not supported While reading flags on /var/www/ispconfig
    lsattr: Operation not supported While reading flags on /var/www/alkhayyam.org
    --------------e----- /var/www/clients
    --------------e----- /var/www/webalizer

    root@mail:/var/www/clients/client1# mount -l
    sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
    proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
    udev on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=3749352k,nr_inodes=937338,mode=755)
    devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
    tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=758928k,mode=755)
    /dev/sdb2 on / type ext4 (rw,relatime)
    securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
    tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
    tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
    cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime)
    cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
    pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
    none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
    cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
    cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
    cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
    cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
    cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
    cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
    cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
    cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
    cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
    cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
    cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
    systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14985)
    mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
    debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
    hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
    tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
    fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
    configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
    tracefs on /sys/kernel/debug/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
    /dev/sdb2 on /var/www/clients/client1/web10/log type ext4 (rw,relatime)
    /dev/sdb2 on /var/www/clients/client1/web11/log type ext4 (rw,relatime)
    /dev/sdb2 on /var/www/clients/client1/web12/log type ext4 (rw,relatime)
    /dev/sdb2 on /var/www/clients/client1/web15/log type ext4 (rw,relatime)
    /var/lib/snapd/snaps/core_13425.snap on /snap/core/13425 type squashfs (ro,nodev,relatime,x-gdu.hide)
    /dev/sdb2 on /var/www/clients/client1/web17/log type ext4 (rw,relatime)
    /dev/sdb2 on /var/www/clients/client1/web18/log type ext4 (rw,relatime)
    /dev/sdb2 on /var/www/clients/client1/web2/log type ext4 (rw,relatime)
    /var/lib/snapd/snaps/core_13308.snap on /snap/core/13308 type squashfs (ro,nodev,relatime,x-gdu.hide)
    /var/lib/snapd/snaps/core18_2409.snap on /snap/core18/2409 type squashfs (ro,nodev,relatime,x-gdu.hide)
    /var/lib/snapd/snaps/lxd_22753.snap on /snap/lxd/22753 type squashfs (ro,nodev,relatime,x-gdu.hide)
    /var/lib/snapd/snaps/core20_1593.snap on /snap/core20/1593 type squashfs (ro,nodev,relatime,x-gdu.hide)
    /dev/sdb2 on /var/www/clients/client1/web4/log type ext4 (rw,relatime)
    /var/lib/snapd/snaps/core20_1611.snap on /snap/core20/1611 type squashfs (ro,nodev,relatime,x-gdu.hide)
    /var/lib/snapd/snaps/core18_2538.snap on /snap/core18/2538 type squashfs (ro,nodev,relatime,x-gdu.hide)
    /dev/sdb2 on /var/www/clients/client1/web7/log type ext4 (rw,relatime)
    /var/lib/snapd/snaps/lxd_22526.snap on /snap/lxd/22526 type squashfs (ro,nodev,relatime,x-gdu.hide)
    /dev/sdb2 on /var/www/clients/client1/web8/log type ext4 (rw,relatime)
    /dev/sdb2 on /var/www/clients/client2/web16/log type ext4 (rw,relatime)
    /dev/sda1 on /media/seconddrive type ext4 (rw,relatime,errors=remount-ro)
    lxcfs on /var/lib/lxcfs type fuse.lxcfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)
    tmpfs on /run/snapd/ns type tmpfs (rw,nosuid,nodev,noexec,relatime,size=758928k,mode=755)
    nsfs on /run/snapd/ns/lxd.mnt type nsfs (rw)
    tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=758924k,mode=700,uid=1000,gid=1000)
    root@mail:/var/www/clients/client1#

    root@mail:/var/www/clients/client1# df -h
    Filesystem Size Used Avail Use% Mounted on
    udev 3.6G 0 3.6G 0% /dev
    tmpfs 742M 1.6M 740M 1% /run
    /dev/sdb2 3.6T 592G 2.9T 17% /
    tmpfs 3.7G 24K 3.7G 1% /dev/shm
    tmpfs 5.0M 4.0K 5.0M 1% /run/lock
    tmpfs 3.7G 0 3.7G 0% /sys/fs/cgroup
    /dev/loop1 114M 114M 0 100% /snap/core/13425
    /dev/loop0 114M 114M 0 100% /snap/core/13308
    /dev/loop2 56M 56M 0 100% /snap/core18/2409
    /dev/loop4 68M 68M 0 100% /snap/lxd/22753
    /dev/loop6 62M 62M 0 100% /snap/core20/1593
    /dev/loop5 62M 62M 0 100% /snap/core20/1611
    /dev/loop3 56M 56M 0 100% /snap/core18/2538
    /dev/loop7 68M 68M 0 100% /snap/lxd/22526
    /dev/sda1 3.6T 1.1T 2.4T 32% /media/seconddrive
    tmpfs 742M 0 742M 0% /run/user/1000
    root@mail:/var/www/clients/client1#
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Seems as if you added the immutable attribute to the client1 directory. run:

    chattr -i /var/www/clients/client1

    and then change something in the website in ispconfig, save it, run server.sh and check if the folders are created now.
     
  5. tlove

    tlove Member HowtoForge Supporter

    Brilliant! Folders and website are created as normal. Thanks a million.
    I see the date on the client1 directory was the time I last had problems, so it must have been me that made that change.
    Hopefully I can keep running now without troubling your time again. Thanks to both yourself and Thom
     
    Last edited: Aug 21, 2022

Share This Page