not installed on my servers. and now? Thanks again..<br><br><div class="gmail_quote">2011/6/11 Vladislav Bogdanov <span dir="ltr"><<a href="mailto:bubble@hoster-ok.com">bubble@hoster-ok.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">11.06.2011 20:13, Alfredo Parisi wrote:<br>
> Thanks again for the response.<br>
> Actually these are my permissions on /var/run/mysqld<br>
><br>
> root@server1:/var/run# ls -l | grep mysql<br>
> drwxr-xr-x 2 mysql      root         40 2011-06-11 19:06<br>
><br>
> they are correct for mysql on pacemaker?thanks<br>
<br>
</div>Yes.<br>
Please check selinux state (run getenforce as root).<br>
<div class="im"><br>
><br>
> 2011/6/11 Vladislav Bogdanov <<a href="mailto:bubble@hoster-ok.com">bubble@hoster-ok.com</a><br>
</div>> <mailto:<a href="mailto:bubble@hoster-ok.com">bubble@hoster-ok.com</a>>><br>
<div><div></div><div class="h5">><br>
>     11.06.2011 19:01, Alfredo Parisi wrote:<br>
>     > Hi and thanks for the reply.<br>
>     > I've found the problem, pacemaker haven't the privileges for<br>
>     create the<br>
>     > file mysqld.sock, infact if I stop one server and create mysqld.sock<br>
>     > with 777 and own mysql:mysql, after restart corosync, it works...<br>
>     > but this is only a temporary solution because when corosync is stopped<br>
>     > on that machine, it delete the file socks and I have again the error.<br>
>     > Someone can help me for resolve this problem with the privileges.<br>
><br>
>     Resources are run by lrmd under root permissions, so mysqld is started<br>
>     by root. It then switches to mysql user and then creates that unix<br>
>     socket. Please verify that directory it use for socket is writable by<br>
>     mysql user. F.e. not /var/run which is only root-writable, but<br>
>     /var/run/mysql which has correct ownership and permissions. Then mysqld<br>
>     has enough power to create any file there if only DAC security model is<br>
>     in use.<br>
><br>
>     This is not necessary true for other security models like selinux,<br>
>     grsecurity or RBAC. They require additional settings to be done. Most<br>
>     common one is selinux, it is enabled by default on at least Fedora and<br>
>     RHEL setups. Unfortunately there is no selinux policy module for<br>
>     pacemaker yet, so selinux should be disabled for it to run.<br>
><br>
>     Don't you have it enabled BTW?<br>
><br>
>     If yes, then try to disable it (permanently).<br>
><br>
><br>
>     Best,<br>
>     Vladislav<br>
><br>
>     _______________________________________________<br>
>     Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
</div></div>>     <mailto:<a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a>><br>
<div><div></div><div class="h5">>     <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
><br>
>     Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
>     Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
>     Bugs:<br>
>     <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
> <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
><br>
> Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
> Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
> Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
<br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
</div></div></blockquote></div><br>