On Tue, Dec 7, 2010 at 5:56 AM, Antonio Óscar Balmaseda
<[email protected]> wrote:
> Hello, again,
>
> Alex, thanks for your response. I rechecked all the permissions and
> everything was fine.
>
> 2010/12/6 David Birdsong <[email protected]>
>>
>> If you put that open inside of metric_init, start gmond as root, then
>> the filehandle will be created before gmond drops it's privileges to
>> the user configured.
>>
>> >
>> > ------------------------------------------------------------------------------
>> > What happens now with your Lotus Notes apps - do you make another costly
>> > upgrade, or settle for being marooned without product support? Time to
>> > move
>> > off Lotus Notes and onto the cloud with Force.com, apps are easier to
>> > build,
>> > use, and manage than apps on traditional platforms. Sign up for the
>> > Lotus
>> > Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
>> > _______________________________________________
>> > Ganglia-general mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/ganglia-general
>
> The David's solution is correct, I only had to change the open line in
> metric_init. Anyway, I don't understand this very well, because in the
> examples, the open is done where I put first. If anyone knows why, I'd like
> to know it.
The examples have the open somewhere else which neither correct or
incorrect.  It just requires that you understand the loss of
privileges that the gmond process undergoes as it daemonizes itself.
Any resource, ie. access_log file, that you want gmond to read or
write to must have the necessary privileges to do so.

By opening the file while root, you avoid some hassle there, but it's
not necessarily correct--it's what I do myself.

>
> Nevertheless, it has been very useful, I was really stuck. Thank you very
> much.
>
> Greetings,
> Antonio.
>

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to