iNFERNiS
29-12-2009, 20:02
I got the same issue. I think its because grsec is restricting proc access. What i would like to know is with what settings grsec was compiled and if OVH specified a special GID that allows proc access in their build.
I'm running a stock OVH install of CentOS and BWM works fine and /proc/net/dev exists and updates.
Not sure if vnstat using proc/net but you could try it? you can get the live view with 'vnstat -l'
turbanator
24-12-2009, 05:19
i am trying to install bandwidth monitoring tools such as cbm, bwm etc that rely on the /proc/net/dev file but that it always shows up as no such directory or file..
even /proc/net shows up as no such file or directory..
Linux version 2.6.31.5-grsec-xxxx-grs-ipv4-64 (gcc version 4.3.2 (Debian 4.3.2-1.1) )
when i type ls -ald /proc/net
i get this -> lrwxrwxrwx 1 root root 8 2009-12-24 05:42 /proc/net -> self/net
when i type ls -ald /proc/self/net
dr-xr-xr-x 2 djx root 0 2009-12-24 05:43 /proc/self/net