[Pacemaker] nginx OCF script - strange syslog output
Dejan Muhamedagic
dejanmm at fastmail.fm
Wed Oct 12 19:23:15 UTC 2011
Hi,
On Wed, Oct 12, 2011 at 05:28:47PM +0200, Amar Prasovic wrote:
> Hello everyone,
>
> I've found one nginx OCF script online and decided to use it since no
> default script is provided.
> Here is the script I am using:
>
> http://pastebin.com/CCApckew
You can always get the latest nginx release from our repository
https://github.com/ClusterLabs/resource-agents
> The good news is, the script is functional, I get nginx running.
> The sort of a bad news is, every ten seconds I got some strange log output.
>
> Here is the extract from my syslog:
>
> http://pastebin.com/ybPi0VMp
>
> I suppose the problem is somewhere with monitor operator but I cannot figure
> out where.
> I used this script with Debian 5 some half a year ago and I didn't have this
> output. It appeared on Debian 6.0.3
No idea what's going on. But it doesn't look good. In particular
as it looks like as if it's trying to execute something it
shouldn't. You can add at the top of the RA 'set -x' in between
monitors then take look at the logs. Beware: you should probably
disable monitor while editing the RA. Or best to try it out on a
test cluster.
Thanks,
Dejan
> Now, this is not some essential problem since logrotate is in place and the
> file is not getting that big, but still it kind of makes reading the file
> difficult since I have to scroll through thousands of unnecessary lines.
>
> --
> Amar Prasovic
> Gaißacher Straße 17
> D - 81371 München
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
More information about the Pacemaker
mailing list