[Ocfs2-users] Unable to access cluster service

Paul Mathews pmathews at heritagewebdesign.com
Tue Oct 28 13:25:42 PDT 2008


On Tuesday 28 October 2008 1:44:53 pm Joel Becker wrote:
> On Tue, Oct 28, 2008 at 01:10:46PM -0600, Paul Mathews wrote:
> > I'm running Debian stable on a custom 2.6.27.3 kernel. So far, whenever I
> > try to start the cluster service, it throws a "o2cb_ctl: Unable to access
> > cluster service Cannot initialize cluster" error. I have compiled
> > ocfs2-tools 1.4.1 from source, and have tried ocfs2 both as modules, and
> > compiled into the kernel. As of now, I have been unable to get the
> > cluster service started.
> >
> > Currently, ocfs2 is compiled into the kernel, and the o2cb init script
> > does not run on startup:
> >
> > root at debian1:~# /etc/init.d/o2cb start
> > Mounting ocfs2_dlmfs filesystem at /dlm: OK
> > Starting Oracle cluster ocfs2: Failed
> > o2cb_ctl: Unable to access cluster service Cannot initialize cluster
>
> 	Hmm, it doesn't say 'mounting configfs'.  Is configfs mounted
> (at /sys/kernel/config)?  Is sysfs mounted?
> 	If configfs is *not* mounted, can you run 'sh -x
> /etc/init.d/o2cb start' and send us the output?  That way we know why it
> isn't mounted.  OTOH, if it is mounted, we want the strace(1) of
> o2cb_ctl.
>
> > root at debian1:~# sudo cat /etc/ocfs2/cluster.conf
>
> 	Why do you need sudo to cat this file?  Are you not running with
> root privileges?
>
> Joel

Sorry. I found the problem - my error. I accidentally removed the configfs 
mount load action when I was commenting out the ocfs2 modules. Adding it in 
fixed the problem :)

Thanks!

Paul



More information about the Ocfs2-users mailing list