mount log files not working on install with nginx

Discussion in 'General' started by Nikola Stojanoski, Jan 24, 2016.

  1. Nikola Stojanoski

    Nikola Stojanoski New Member

    Hello,

    I got 2 servers with nginx as a web server and one with apache, The mount of the log files on both nginx servers is not working even when i type mount -a. I can't see anything in logs or any other error message.
    I had older server with nginx where i has some modifications in my fstab file added tmpfs lines so i was thinking it could be those lines, then install ispconfig with apache as web server and the mount of tmp files was OK, now i installed a new ispconfig with nginx as web server and mount of log files is not working again.
    My /etc/fstab:

    root@vh2 ~ # cat /etc/fstab
    proc /proc proc defaults 0 0
    /dev/md/0 none swap sw 0 0
    /dev/md/1 /boot ext3 defaults 0 0
    /dev/md/2 / ext4 defaults,commit=60,noatime 0 0
    /var/log/ispconfig/httpd/web1.com /var/www/clients/client3/web35/log none bind,nobootwait,_netdev 0 0
    /var/log/ispconfig/httpd/web2.com /var/www/clients/client3/web36/log none bind,nobootwait,_netdev 0 0
    /var/log/ispconfig/httpd/web3.com /var/www/clients/client3/web39/log none bind,nobootwait,_netdev 0 0
    /var/log/ispconfig/httpd/web4.com /var/www/clients/client3/web41/log none bind,nobootwait,_netdev 0 0
    /var/log/ispconfig/httpd/web5.com /var/www/clients/client16/web50/log none bind,nobootwait,_netdev 0 0
    /var/log/ispconfig/httpd/web6.com /var/www/clients/client19/web63/log none bind,nobootwait,_netdev 0 0

    root@vh2 ~ # mount -a
    root@vh2 ~ # df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/md2 204G 98G 96G 51% /
    udev 10M 0 10M 0% /dev
    tmpfs 6.3G 257M 6.1G 4% /run
    tmpfs 16G 98M 16G 1% /dev/shm
    tmpfs 5.0M 0 5.0M 0% /run/lock
    tmpfs 16G 0 16G 0% /sys/fs/cgroup
    /dev/md1 488M 36M 427M 8% /boot
    tmpfs 3.2G 0 3.2G 0% /run/user/0


    Any ideas where to find the error?

    root@vh2 ~ # cat /etc/debian_version
    8.2

    Regards,
    Nikola
     

Share This Page