[Linux-cluster] GNBD: cannot connect to cluster manager ...Operation not permitted

Benjamin Marzinski bmarzins at redhat.com
Tue Jul 20 17:12:35 UTC 2004


On Mon, Jul 19, 2004 at 05:40:40PM +0200, Christian Zoffoli wrote:
> 
> Hi to all.
> I have compiled and installed all the stuff in cvs on a vanilla 2.6.7, 
> but I have a big problem when I try to export a device with GNBD:
> 
> 
> ...I've done all the steps in 
> https://open.datacore.ch/DCwiki.open/Wiki.jsp?page=GFS.GNBD.Usage
> 
> 
> ...but when I try
> 
> gnbd_export -v -e export1 -d /dev/sdb1
> 
> it fails with:
> 
> ---
> receiver: ERROR cannot connect to cluster manager : Operation not permitted
> gnbd_export: ERROR gnbd_clusterd failed
> ---
> 
> looking at the log I have found this message:
> ---
> Jul 19 20:28:13 gfs1 receiver[22551]: ERROR [gnbd_clusterd.c:53] cannot 
> connect to cluster manager : Operation not permitted
> ---

If you do not want to enable multipathing or run GFS on the gnbd server,
you can just add a -c to your export line.

Here's a guess at what you might be seeing.  The behaviour that you are seeing
looks like it could be caused by not having the correct magma plugins.

In the cluster/magma/tests directory there is a cluster plugin test program,
cpt, run

# cpt null

if you get something like

Connect failure: Operation not permitted

then either cman isn't running on the node, or magma cannot connect to it.
If cman is running correctly (check you logs) Then look in
/usr/lib/magma/plugins. You should have a sm.so file there. If not, you need
to install the magma plugins, which are located in /cluster/magma-plugins.

-Ben
 
> What can I do?
> Where can I find a little explanation of the cluster.xml file ?
> 
> 
> Thanks,
> Christian
> 
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> http://www.redhat.com/mailman/listinfo/linux-cluster




More information about the Linux-cluster mailing list