I just noticed something weird on some dev sites I have created. No log files exist in the /log/ directory of that site, example full path: /var/www/clients/client3/web38/log/ What those sites that have no log files have in common is that they are set to listen to a different lan IP and not the asterisk *. All the ones that use the asterisk do have logs. I cannot think of anything right now, any hint what I should check ? This is a debian wheezy x64 setup. Thanks
I dont know. ispconfig writes the mounts to /etc/fstab and also runs the mount command to set the mount when it gets created.
Unexpected, once I haven't changed anything. Worst thing is that I just rebooted the server now and they disappeared again !
Any help on this appreciated, I still have to do "mount -a" after each reboot until I fix it. First I don't understand why it happened, second, where to apply the fix. Thanks ! George
I did not had that problem yet n any server, so I cant tell you why it happens on yours. What you can try is that you add: maount -a in /etc/rc.local
till, in /etc/rc.local do I add it before "exit 0" ? another question, in /etc/fstab shall I comment out this line ? /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 Thanks.
This is what it looks like: Code: # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> /dev/mapper/xxxxxx--xxxxxx-root / ext4 errors=remount-ro,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 0 1 # /boot was on /dev/sda1 during installation UUID=f90916ba-adac-4619-9b75-fcef9ec0db23 /boot ext2 defaults 0 2 /dev/mapper/xxxxx--xxxxxx-swap_1 none swap sw 0 0 /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 /var/log/ispconfig/httpd/xxxxxxx.xxx /var/www/xxxxxxx/xxxxxxx/xxxx/log none bind,nobootwait 0 0 /var/log/ispconfig/httpd/xxxxxxx.xxx /var/www/xxxxxxx/xxxxxxx/xxxx/log none bind,nobootwait 0 0 /var/log/ispconfig/httpd/xxxxxxxxxxxxxxxxx.xxx /var/www/xxxxxxx/xxxxxxx/xxxx/log none bind,nobootwait 0 0 /var/log/ispconfig/httpd/xxxxx.xxxxxxxxxxxxxxxxx.xxx /var/www/xxxxxxx/xxxxxxx/xxxx/log none bind,nobootwait 0 0 /var/log/ispconfig/httpd/xxxxxxxxxxxxxxx.xxx /var/www/xxxxxxx/xxxxxxx/xxxx/log none bind,nobootwait 0 0 /var/log/ispconfig/httpd/xxxxxxxxxxxxxxxxx.xxx /var/www/xxxxxxx/xxxxxxx/xxxx/log none bind,nobootwait 0 0 /var/log/ispconfig/httpd/xxxxxxxxxxxx.xxx /var/www/xxxxxxx/xxxxxxx/xxxx/log none bind,nobootwait 0 0 /var/log/ispconfig/httpd/xxxxxxxxxxxx.xxx /var/www/xxxxxxx/xxxxxxx/xxxx/log none bind,nobootwait 0 0 /var/log/ispconfig/httpd/xxxxxxxx.xxx /var/www/xxxxxxx/xxxxxxx/xxxx/log none bind,nobootwait 0 0 /var/log/ispconfig/httpd/xxxxx.xxxxxxxxxxxxxxx.xxx /var/www/xxxxxxx/xxxxxxx/xxxx/log none bind,nobootwait 0 0 /var/log/ispconfig/httpd/xxxxx.xxxxxxx.xxx /var/www/xxxxxxx/xxxxxxx/xxxx/log none bind,nobootwait 0 0 /var/log/ispconfig/httpd/xxxxxxxx.xxxxxxx.xxx /var/www/xxxxxxx/xxxxxxx/xxxx/log none bind,nobootwait 0 0 /var/log/ispconfig/httpd/xxxxxxx.xxx /var/www/xxxxxxx/xxxxxxx/xxxx/log none bind,nobootwait,_netdev 0 0 /var/log/ispconfig/httpd/xxxxxxxx.xxxxxxx.xxx /var/www/xxxxxxx/xxxxxxx/xxxx/log none bind,nobootwait,_netdev 0 0 /var/log/ispconfig/httpd/xxxxx.xxxxxxx.xxx /var/www/xxxxxxx/xxxxxxx/xxxx/log none bind,nobootwait,_netdev 0 0 /var/log/ispconfig/httpd/xxxxxxxx.xxx /var/www/xxxxxxx/xxxxxxx/xxxx/log none bind,nobootwait,_netdev 0 0 /var/log/ispconfig/httpd/xxxxxxxx.xxxxxxx.xxx /var/www/xxxxxxx/xxxxxxx/xxxx/log none bind,nobootwait,_netdev 0 0 /var/log/ispconfig/httpd/xxxxxxxxxxxx.xxxxxxx.xxx /var/www/xxxxxxx/xxxxxxx/xxxx/log none bind,nobootwait,_netdev 0 0 /var/log/ispconfig/httpd/xxxx.xxx /var/www/xxxxxxx/xxxxxxx/xxxx/log none bind,nobootwait,_netdev 0 0 /var/log/ispconfig/httpd/xxxxxxxxxxxxxxxxx.xxx /var/www/xxxxxxx/xxxxxxx/xxxx/log none bind,nobootwait,_netdev 0 0 /var/log/ispconfig/httpd/xxxxxxxxxxxx.xxx /var/www/xxxxxxx/xxxxxxx/xxxx/log none bind,nobootwait,_netdev 0 0 the ones to the asterisk (*) IP get mounted, the ones to the other additional IP don't. This is very weird.
do you notice those "_netdev" on some lines ? Those are fake domains line example.dev Could that be it ?
The option _netdev is added to any new or changed domain as thats the new default in curret ispconfig versions. _netdev just means that the mount is created as soon as the network interface is up.
In practice the opposite happens, the ones that don't have "_netdev" get mounted, and all those with it don't. Is it some bug ?