Now running gmond as root, all working as expected.
The kernel is patched by the ISP, must have something to do with it since
all EC2 hosts (and there are quiet a few) are working properly.
Cheers!
------------------------------
Twitter <http://twitter.com/#!/gerhardlazu> Github<https://github.com/gerhard>
Blog <http://gerhardlazu.com/>
On Sat, Jan 21, 2012 at 8:56 PM, Vladimir Vuksan <vli...@veus.hr> wrote:
> Check permissions on /proc/self
>
> Vladimir
>
>
> On Sat, 21 Jan 2012, Gerhard Lazu wrote:
>
> There this one Ubuntu 10.04.3 server which is not reporting any network
>> stats. I keep seeing these errors in the syslog:
>> Jan 21 03:23:14 opteron16 /usr/sbin/gmond[29846]: slurpfile() open()
>> error on file /proc/net/dev: No such file or directory
>> Jan 21 03:23:14 opteron16 /usr/sbin/gmond[29846]: update_file() got an
>> error from slurpfile() reading /proc/net/dev
>>
>> This is what root can see:
>>
>> root@opteron16:/# ls -l | grep proc
>> dr-xr-xr-x 290 root root 0 2012-01-14 02:03 proc
>> root@opteron16:/# ls -l proc | grep net
>> lrwxrwxrwx 1 root root 8 2012-01-21 03:29 net -> self/net
>> root@opteron16:/# ls -l proc/net/ | grep dev
>> -r--r--r-- 1 root root 0 2012-01-14 02:05 dev
>>
>> gmond runs under the ganglia user which is:
>>
>> root@opteron16:/# cat /etc/passwd | grep ganglia
>> ganglia:x:111:119:Ganglia Monitor:/var/lib/ganglia:/bin/**false
>>
>> When I try to access /proc/net/dev with this user:
>>
>> root@opteron16:/# su -s /bin/bash ganglia
>> ganglia@opteron16:/$ ls -l /proc | grep net
>> lrwxrwxrwx 1 root root 8 2012-01-21 19:49 net -> self/net
>> ganglia@opteron16:/$ ls -l /proc/net/
>> ls: reading directory /proc/net/: Invalid argument
>> total 0
>> ganglia@opteron16:/$ cat /proc/net/dev
>> cat: /proc/net/dev: No such file or directory
>>
>> Any pointers will be greatly appreciated, Gerhard.
>>
>> ______________________________**______________________________**
>> ______________________________**______________________________**___
>> Twitter Github Blog
>>
>>
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general