All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] mount gnenerates an error : "Unable to access cluster service while starting heartbeat"
@ 2007-03-28  8:28 Andy Johnson
  2007-03-28  8:53 ` Jeff Mahoney
  2007-03-28  9:23 ` Srinivas Eeda
  0 siblings, 2 replies; 10+ messages in thread
From: Andy Johnson @ 2007-03-28  8:28 UTC (permalink / raw)
  To: ocfs2-devel

Hello,
I have ocfs2-tools-1.2.3. ( built from sources)
I try:
 mount /dev/vg1/cluster /mnt/ocfs2/
and get:
ocfs2_hb_ctl: Unable to access cluster service while starting heartbeat
mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: "Operation not
permitted"

What can be the cause of this error ? Any ideas?

(I tried it after service heartbeat stop)

Regards,
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-devel/attachments/20070328/8e58374a/attachment.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Ocfs2-devel] mount gnenerates an error : "Unable to access cluster service while starting heartbeat"
  2007-03-28  8:28 [Ocfs2-devel] mount gnenerates an error : "Unable to access cluster service while starting heartbeat" Andy Johnson
@ 2007-03-28  8:53 ` Jeff Mahoney
  2007-03-28  9:23 ` Srinivas Eeda
  1 sibling, 0 replies; 10+ messages in thread
From: Jeff Mahoney @ 2007-03-28  8:53 UTC (permalink / raw)
  To: ocfs2-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andy Johnson wrote:
> Hello,
> I have ocfs2-tools-1.2.3. ( built from sources)
> I try:
>  mount /dev/vg1/cluster /mnt/ocfs2/
> and get:
> ocfs2_hb_ctl: Unable to access cluster service while starting heartbeat
> mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: "Operation
> not permitted"
> 
> What can be the cause of this error ? Any ideas?
> 
> (I tried it after service heartbeat stop)

Check in your dmesg output - there's usually a message indicating why
heartbeat configuration has failed.

- -Jeff

- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGCo93LPWxlyuTD7IRAs5uAKCeBKih68JtrczHY/gCGhhOmaAEHACggqKm
aX8HXSI+NorpQA6dcNT6Kpo=
=of+E
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Ocfs2-devel] mount gnenerates an error : "Unable to access cluster service while starting heartbeat"
  2007-03-28  8:28 [Ocfs2-devel] mount gnenerates an error : "Unable to access cluster service while starting heartbeat" Andy Johnson
  2007-03-28  8:53 ` Jeff Mahoney
@ 2007-03-28  9:23 ` Srinivas Eeda
  2007-03-28  9:32   ` Sunil Mushran
  2007-03-28 10:29   ` Andy Johnson
  1 sibling, 2 replies; 10+ messages in thread
From: Srinivas Eeda @ 2007-03-28  9:23 UTC (permalink / raw)
  To: ocfs2-devel

That might because you have configured user mode dlm. What does "|cat 
/sys/o2cb/heartbeat_mode" show, "user"?. If so run, /etc/init.d/o2cb 
configure and answer "n" for the following
||Use user-space driven heartbeat? (y/n) [y] n

thanks,
--Srini
||

|Andy Johnson wrote:
> Hello,
> I have ocfs2-tools-1.2.3. ( built from sources)
> I try:
>  mount /dev/vg1/cluster /mnt/ocfs2/
> and get:
> ocfs2_hb_ctl: Unable to access cluster service while starting heartbeat
> mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: 
> "Operation not permitted"
>
> What can be the cause of this error ? Any ideas?
>
> (I tried it after service heartbeat stop)
>
> Regards,
> Andy
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ocfs2-devel mailing list
> Ocfs2-devel@oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Ocfs2-devel] mount gnenerates an error : "Unable to access cluster service while starting heartbeat"
  2007-03-28  9:23 ` Srinivas Eeda
@ 2007-03-28  9:32   ` Sunil Mushran
  2007-03-28 10:29   ` Andy Johnson
  1 sibling, 0 replies; 10+ messages in thread
From: Sunil Mushran @ 2007-03-28  9:32 UTC (permalink / raw)
  To: ocfs2-devel

Or, he could just want to use the userspace hb. :)
In that case, check that setup.

Srinivas Eeda wrote:
> That might because you have configured user mode dlm. What does "|cat 
> /sys/o2cb/heartbeat_mode" show, "user"?. If so run, /etc/init.d/o2cb 
> configure and answer "n" for the following
> ||Use user-space driven heartbeat? (y/n) [y] n
>
> thanks,
> --Srini
> ||
>
> |Andy Johnson wrote:
>> Hello,
>> I have ocfs2-tools-1.2.3. ( built from sources)
>> I try:
>>  mount /dev/vg1/cluster /mnt/ocfs2/
>> and get:
>> ocfs2_hb_ctl: Unable to access cluster service while starting heartbeat
>> mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: 
>> "Operation not permitted"
>>
>> What can be the cause of this error ? Any ideas?
>>
>> (I tried it after service heartbeat stop)
>>
>> Regards,
>> Andy
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Ocfs2-devel mailing list
>> Ocfs2-devel@oss.oracle.com
>> http://oss.oracle.com/mailman/listinfo/ocfs2-devel
>
>
> _______________________________________________
> Ocfs2-devel mailing list
> Ocfs2-devel@oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Ocfs2-devel] mount gnenerates an error : "Unable to access cluster service while starting heartbeat"
  2007-03-28  9:23 ` Srinivas Eeda
  2007-03-28  9:32   ` Sunil Mushran
@ 2007-03-28 10:29   ` Andy Johnson
  2007-03-28 10:31     ` Jeff Mahoney
  2007-03-28 10:33     ` Sunil Mushran
  1 sibling, 2 replies; 10+ messages in thread
From: Andy Johnson @ 2007-03-28 10:29 UTC (permalink / raw)
  To: ocfs2-devel

Hello,
NO such thing as /sys/o2cb/heartbeat_mode !
I tried :

 /etc/init.d/o2cb load
Loading module "configfs": OK
Mounting configfs filesystem at /sys/kernel/config: OK
Loading module "ocfs2_nodemanager": OK
Loading module "ocfs2_dlm": OK
Loading module "ocfs2_dlmfs": OK
Mounting ocfs2_dlmfs filesystem at /dlm: OK

 :/root# ls /sys/o2cb
interface_revision  logmask
and

ls  /sys/o2cb/logmask
ls /sys/o2cb/logmask -al
total 0
drwxr-xr-x 2 root root    0 Mar 28 19:28 .
drwxr-xr-x 3 root root    0 Mar 28 19:26 ..
-rw-r--r-- 1 root root 4096 Mar 28 19:28 AIO
-rw-r--r-- 1 root root 4096 Mar 28 19:28 BH_IO
-rw-r--r-- 1 root root 4096 Mar 28 19:28 CONN
-rw-r--r-- 1 root root 4096 Mar 28 19:28 DCACHE
-rw-r--r-- 1 root root 4096 Mar 28 19:28 DISK_ALLOC
-rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM
-rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_DOMAIN
-rw-r--r-- 1 root root 4096 Mar 28 19:28 DLMFS
-rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_GLUE
-rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_MASTER
-rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_RECOVERY
-rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_THREAD
-rw-r--r-- 1 root root 4096 Mar 28 19:28 ENTRY
-rw-r--r-- 1 root root 4096 Mar 28 19:28 ERROR
-rw-r--r-- 1 root root 4096 Mar 28 19:28 EXIT
-rw-r--r-- 1 root root 4096 Mar 28 19:28 EXPORT
-rw-r--r-- 1 root root 4096 Mar 28 19:28 EXTENT_MAP
-rw-r--r-- 1 root root 4096 Mar 28 19:28 FILE_IO
-rw-r--r-- 1 root root 4096 Mar 28 19:28 HB_BIO
-rw-r--r-- 1 root root 4096 Mar 28 19:28 HEARTBEAT
-rw-r--r-- 1 root root 4096 Mar 28 19:28 INODE
-rw-r--r-- 1 root root 4096 Mar 28 19:28 JOURNAL
-rw-r--r-- 1 root root 4096 Mar 28 19:28 KTHREAD
-rw-r--r-- 1 root root 4096 Mar 28 19:28 MSG
-rw-r--r-- 1 root root 4096 Mar 28 19:28 NAMEI
-rw-r--r-- 1 root root 4096 Mar 28 19:28 NOTICE
-rw-r--r-- 1 root root 4096 Mar 28 19:28 QUORUM
-rw-r--r-- 1 root root 4096 Mar 28 19:28 SOCKET
-rw-r--r-- 1 root root 4096 Mar 28 19:28 SUPER
-rw-r--r-- 1 root root 4096 Mar 28 19:28 TCP
-rw-r--r-- 1 root root 4096 Mar 28 19:28 UPTODATE
-rw-r--r-- 1 root root 4096 Mar 28 19:28 VOTE

and

cat /sys/o2cb/logmask/HEARTBEAT
off
Regards,
Andy



On 3/28/07, Srinivas Eeda <srinivas.eeda@oracle.com> wrote:
>
> That might because you have configured user mode dlm. What does "|cat
> /sys/o2cb/heartbeat_mode" show, "user"?. If so run, /etc/init.d/o2cb
> configure and answer "n" for the following
> ||Use user-space driven heartbeat? (y/n) [y] n
>
> thanks,
> --Srini
> ||
>
> |Andy Johnson wrote:
> > Hello,
> > I have ocfs2-tools-1.2.3. ( built from sources)
> > I try:
> >  mount /dev/vg1/cluster /mnt/ocfs2/
> > and get:
> > ocfs2_hb_ctl: Unable to access cluster service while starting heartbeat
> > mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl:
> > "Operation not permitted"
> >
> > What can be the cause of this error ? Any ideas?
> >
> > (I tried it after service heartbeat stop)
> >
> > Regards,
> > Andy
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Ocfs2-devel mailing list
> > Ocfs2-devel@oss.oracle.com
> > http://oss.oracle.com/mailman/listinfo/ocfs2-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-devel/attachments/20070328/a74b6e27/attachment.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Ocfs2-devel] mount gnenerates an error : "Unable to access cluster service while starting heartbeat"
  2007-03-28 10:29   ` Andy Johnson
@ 2007-03-28 10:31     ` Jeff Mahoney
  2007-03-28 10:33     ` Sunil Mushran
  1 sibling, 0 replies; 10+ messages in thread
From: Jeff Mahoney @ 2007-03-28 10:31 UTC (permalink / raw)
  To: ocfs2-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andy Johnson wrote:
> Hello,
> NO such thing as /sys/o2cb/heartbeat_mode !

Yeah, that's a SUSE-specific extension to enable switching heartbeat modes.

- -Jeff

- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGCqZ/LPWxlyuTD7IRAromAKCHHnzoYcmEynkC5mRIvkQyEocfxQCeL80f
i5OOSxEiFN61EPHZCWmwLJU=
=jUL/
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Ocfs2-devel] mount gnenerates an error : "Unable to access cluster service while starting heartbeat"
  2007-03-28 10:29   ` Andy Johnson
  2007-03-28 10:31     ` Jeff Mahoney
@ 2007-03-28 10:33     ` Sunil Mushran
  2007-03-28 11:10       ` Andy Johnson
  1 sibling, 1 reply; 10+ messages in thread
From: Sunil Mushran @ 2007-03-28 10:33 UTC (permalink / raw)
  To: ocfs2-devel

He meant... cat /etc/sysconfig/o2cb
If you are using novell's userspace hb, then it will be listed there.

Andy Johnson wrote:
> Hello,
> NO such thing as /sys/o2cb/heartbeat_mode !
> I tried :
>
>  /etc/init.d/o2cb load
> Loading module "configfs": OK
> Mounting configfs filesystem at /sys/kernel/config: OK
> Loading module "ocfs2_nodemanager": OK
> Loading module "ocfs2_dlm": OK
> Loading module "ocfs2_dlmfs": OK
> Mounting ocfs2_dlmfs filesystem at /dlm: OK
>
>  :/root# ls /sys/o2cb
> interface_revision  logmask
> and
>
> ls  /sys/o2cb/logmask
> ls /sys/o2cb/logmask -al
> total 0
> drwxr-xr-x 2 root root    0 Mar 28 19:28 .
> drwxr-xr-x 3 root root    0 Mar 28 19:26 ..
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 AIO
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 BH_IO
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 CONN
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 DCACHE
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 DISK_ALLOC
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_DOMAIN
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLMFS
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_GLUE
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_MASTER
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_RECOVERY
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_THREAD
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 ENTRY
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 ERROR
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 EXIT
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 EXPORT
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 EXTENT_MAP
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 FILE_IO
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 HB_BIO
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 HEARTBEAT
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 INODE
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 JOURNAL
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 KTHREAD
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 MSG
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 NAMEI
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 NOTICE
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 QUORUM
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 SOCKET
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 SUPER
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 TCP
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 UPTODATE
> -rw-r--r-- 1 root root 4096 Mar 28 19:28 VOTE
>
> and
>
> cat /sys/o2cb/logmask/HEARTBEAT
> off
> Regards,
> Andy
>
>
>
> On 3/28/07, *Srinivas Eeda* < srinivas.eeda@oracle.com 
> <mailto:srinivas.eeda@oracle.com>> wrote:
>
>     That might because you have configured user mode dlm. What does "|cat
>     /sys/o2cb/heartbeat_mode" show, "user"?. If so run, /etc/init.d/o2cb
>     configure and answer "n" for the following
>     ||Use user-space driven heartbeat? (y/n) [y] n
>
>     thanks,
>     --Srini
>     ||
>
>     |Andy Johnson wrote:
>     > Hello,
>     > I have ocfs2-tools-1.2.3. ( built from sources)
>     > I try:
>     >  mount /dev/vg1/cluster /mnt/ocfs2/
>     > and get:
>     > ocfs2_hb_ctl: Unable to access cluster service while starting
>     heartbeat
>     > mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl:
>     > "Operation not permitted"
>     >
>     > What can be the cause of this error ? Any ideas?
>     >
>     > (I tried it after service heartbeat stop)
>     >
>     > Regards,
>     > Andy
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Ocfs2-devel mailing list
>     > Ocfs2-devel@oss.oracle.com <mailto:Ocfs2-devel@oss.oracle.com>
>     > http://oss.oracle.com/mailman/listinfo/ocfs2-devel
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ocfs2-devel mailing list
> Ocfs2-devel@oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Ocfs2-devel] mount gnenerates an error : "Unable to access cluster service while starting heartbeat"
  2007-03-28 10:33     ` Sunil Mushran
@ 2007-03-28 11:10       ` Andy Johnson
  2007-03-28 11:15         ` Sunil Mushran
  2007-03-28 11:15         ` Jeff Mahoney
  0 siblings, 2 replies; 10+ messages in thread
From: Andy Johnson @ 2007-03-28 11:10 UTC (permalink / raw)
  To: ocfs2-devel

Sunil Mushran,
  Are you sure ?

Before and **after**
"service hearbeat start"
I have the **same** results; heartbeat user space is not mentioned; This is
on fedora core 6.

here is what I get:
cat /etc/sysconfig/o2cb
#
# This is a configuration file for automatic startup of the O2CB
# driver.  It is generated by running /etc/init.d/o2cb configure.
# Please use that method to modify this file
#

# O2CB_ENABELED: 'true' means to load the driver on boot.
O2CB_ENABLED=false

# O2CB_BOOTCLUSTER: If not empty, the name of a cluster to start.
O2CB_BOOTCLUSTER=

# O2CB_HEARTBEAT_THRESHOLD: Iterations before a node is considered dead.
O2CB_HEARTBEAT_THRESHOLD=

Regards,
Andy


On 3/28/07, Sunil Mushran <Sunil.Mushran@oracle.com> wrote:
>
> He meant... cat /etc/sysconfig/o2cb
> If you are using novell's userspace hb, then it will be listed there.
>
> Andy Johnson wrote:
> > Hello,
> > NO such thing as /sys/o2cb/heartbeat_mode !
> > I tried :
> >
> >  /etc/init.d/o2cb load
> > Loading module "configfs": OK
> > Mounting configfs filesystem at /sys/kernel/config: OK
> > Loading module "ocfs2_nodemanager": OK
> > Loading module "ocfs2_dlm": OK
> > Loading module "ocfs2_dlmfs": OK
> > Mounting ocfs2_dlmfs filesystem at /dlm: OK
> >
> >  :/root# ls /sys/o2cb
> > interface_revision  logmask
> > and
> >
> > ls  /sys/o2cb/logmask
> > ls /sys/o2cb/logmask -al
> > total 0
> > drwxr-xr-x 2 root root    0 Mar 28 19:28 .
> > drwxr-xr-x 3 root root    0 Mar 28 19:26 ..
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 AIO
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 BH_IO
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 CONN
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 DCACHE
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 DISK_ALLOC
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_DOMAIN
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLMFS
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_GLUE
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_MASTER
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_RECOVERY
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_THREAD
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 ENTRY
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 ERROR
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 EXIT
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 EXPORT
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 EXTENT_MAP
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 FILE_IO
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 HB_BIO
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 HEARTBEAT
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 INODE
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 JOURNAL
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 KTHREAD
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 MSG
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 NAMEI
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 NOTICE
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 QUORUM
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 SOCKET
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 SUPER
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 TCP
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 UPTODATE
> > -rw-r--r-- 1 root root 4096 Mar 28 19:28 VOTE
> >
> > and
> >
> > cat /sys/o2cb/logmask/HEARTBEAT
> > off
> > Regards,
> > Andy
> >
> >
> >
> > On 3/28/07, *Srinivas Eeda* < srinivas.eeda@oracle.com
> > <mailto:srinivas.eeda@oracle.com>> wrote:
> >
> >     That might because you have configured user mode dlm. What does
> "|cat
> >     /sys/o2cb/heartbeat_mode" show, "user"?. If so run, /etc/init.d/o2cb
> >     configure and answer "n" for the following
> >     ||Use user-space driven heartbeat? (y/n) [y] n
> >
> >     thanks,
> >     --Srini
> >     ||
> >
> >     |Andy Johnson wrote:
> >     > Hello,
> >     > I have ocfs2-tools-1.2.3. ( built from sources)
> >     > I try:
> >     >  mount /dev/vg1/cluster /mnt/ocfs2/
> >     > and get:
> >     > ocfs2_hb_ctl: Unable to access cluster service while starting
> >     heartbeat
> >     > mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl:
> >     > "Operation not permitted"
> >     >
> >     > What can be the cause of this error ? Any ideas?
> >     >
> >     > (I tried it after service heartbeat stop)
> >     >
> >     > Regards,
> >     > Andy
> >     >
> >
> ------------------------------------------------------------------------
> >     >
> >     > _______________________________________________
> >     > Ocfs2-devel mailing list
> >     > Ocfs2-devel@oss.oracle.com <mailto:Ocfs2-devel@oss.oracle.com>
> >     > http://oss.oracle.com/mailman/listinfo/ocfs2-devel
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Ocfs2-devel mailing list
> > Ocfs2-devel@oss.oracle.com
> > http://oss.oracle.com/mailman/listinfo/ocfs2-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-devel/attachments/20070328/ebe22e52/attachment-0001.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Ocfs2-devel] mount gnenerates an error : "Unable to access cluster service while starting heartbeat"
  2007-03-28 11:10       ` Andy Johnson
@ 2007-03-28 11:15         ` Sunil Mushran
  2007-03-28 11:15         ` Jeff Mahoney
  1 sibling, 0 replies; 10+ messages in thread
From: Sunil Mushran @ 2007-03-28 11:15 UTC (permalink / raw)
  To: ocfs2-devel

That means your cluster service has not started. Refer to
the user's guide for more.

Andy Johnson wrote:
> *Sunil Mushran,
>   Are you sure ?
>
> Before and **after**
> " service hearbeat start"
> I have the **same** results; heartbeat user space is not mentioned; 
> This is on fedora core 6.
>
> here is what I get:
> *cat /etc/sysconfig/o2cb
> #
> # This is a configuration file for automatic startup of the O2CB
> # driver.  It is generated by running /etc/init.d/o2cb configure.
> # Please use that method to modify this file
> #
>
> # O2CB_ENABELED: 'true' means to load the driver on boot.
> O2CB_ENABLED=false
>
> # O2CB_BOOTCLUSTER: If not empty, the name of a cluster to start.
> O2CB_BOOTCLUSTER=
>
> # O2CB_HEARTBEAT_THRESHOLD: Iterations before a node is considered dead.
> O2CB_HEARTBEAT_THRESHOLD=
>
> Regards,
> Andy
>
>
> On 3/28/07, *Sunil Mushran* <Sunil.Mushran@oracle.com 
> <mailto:Sunil.Mushran@oracle.com>> wrote:
>
>     He meant... cat /etc/sysconfig/o2cb
>     If you are using novell's userspace hb, then it will be listed there.
>
>     Andy Johnson wrote:
>     > Hello,
>     > NO such thing as /sys/o2cb/heartbeat_mode !
>     > I tried :
>     >
>     >  /etc/init.d/o2cb load
>     > Loading module "configfs": OK
>     > Mounting configfs filesystem at /sys/kernel/config: OK
>     > Loading module "ocfs2_nodemanager": OK
>     > Loading module "ocfs2_dlm": OK
>     > Loading module "ocfs2_dlmfs": OK
>     > Mounting ocfs2_dlmfs filesystem at /dlm: OK
>     >
>     >  :/root# ls /sys/o2cb
>     > interface_revision  logmask
>     > and
>     >
>     > ls  /sys/o2cb/logmask
>     > ls /sys/o2cb/logmask -al
>     > total 0
>     > drwxr-xr-x 2 root root    0 Mar 28 19:28 .
>     > drwxr-xr-x 3 root root    0 Mar 28 19:26 ..
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 AIO
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 BH_IO
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 CONN
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 DCACHE
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 DISK_ALLOC
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_DOMAIN
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLMFS
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_GLUE
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_MASTER
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_RECOVERY
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 DLM_THREAD
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 ENTRY
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 ERROR
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 EXIT
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 EXPORT
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 EXTENT_MAP
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 FILE_IO
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 HB_BIO
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 HEARTBEAT
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 INODE
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 JOURNAL
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 KTHREAD
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 MSG
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 NAMEI
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 NOTICE
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 QUORUM
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 SOCKET
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 SUPER
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 TCP
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 UPTODATE
>     > -rw-r--r-- 1 root root 4096 Mar 28 19:28 VOTE
>     >
>     > and
>     >
>     > cat /sys/o2cb/logmask/HEARTBEAT
>     > off
>     > Regards,
>     > Andy
>     >
>     >
>     >
>     > On 3/28/07, *Srinivas Eeda* < srinivas.eeda@oracle.com
>     <mailto:srinivas.eeda@oracle.com>
>     > <mailto:srinivas.eeda@oracle.com
>     <mailto:srinivas.eeda@oracle.com> >> wrote:
>     >
>     >     That might because you have configured user mode dlm. What
>     does "|cat
>     >     /sys/o2cb/heartbeat_mode" show, "user"?. If so run,
>     /etc/init.d/o2cb
>     >     configure and answer "n" for the following
>     >     ||Use user-space driven heartbeat? (y/n) [y] n
>     >
>     >     thanks,
>     >     --Srini
>     >     ||
>     >
>     >     |Andy Johnson wrote:
>     >     > Hello,
>     >     > I have ocfs2-tools-1.2.3 . ( built from sources)
>     >     > I try:
>     >     >  mount /dev/vg1/cluster /mnt/ocfs2/
>     >     > and get:
>     >     > ocfs2_hb_ctl: Unable to access cluster service while starting
>     >     heartbeat
>     >     > mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl:
>     >     > "Operation not permitted"
>     >     >
>     >     > What can be the cause of this error ? Any ideas?
>     >     >
>     >     > (I tried it after service heartbeat stop)
>     >     >
>     >     > Regards,
>     >     > Andy
>     >     >
>     >    
>     ------------------------------------------------------------------------
>
>     >     >
>     >     > _______________________________________________
>     >     > Ocfs2-devel mailing list
>     >     > Ocfs2-devel@oss.oracle.com
>     <mailto:Ocfs2-devel@oss.oracle.com> <mailto:
>     Ocfs2-devel@oss.oracle.com <mailto:Ocfs2-devel@oss.oracle.com>>
>     >     > http://oss.oracle.com/mailman/listinfo/ocfs2-devel
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Ocfs2-devel mailing list
>     > Ocfs2-devel@oss.oracle.com <mailto:Ocfs2-devel@oss.oracle.com>
>     > http://oss.oracle.com/mailman/listinfo/ocfs2-devel
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ocfs2-devel mailing list
> Ocfs2-devel@oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Ocfs2-devel] mount gnenerates an error : "Unable to access cluster service while starting heartbeat"
  2007-03-28 11:10       ` Andy Johnson
  2007-03-28 11:15         ` Sunil Mushran
@ 2007-03-28 11:15         ` Jeff Mahoney
  1 sibling, 0 replies; 10+ messages in thread
From: Jeff Mahoney @ 2007-03-28 11:15 UTC (permalink / raw)
  To: ocfs2-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andy Johnson wrote:
> *Sunil Mushran,
>   Are you sure ?
> 
> Before and **after**
> " service hearbeat start"
> I have the **same** results; heartbeat user space is not mentioned; This
> is on fedora core 6.
> 
> here is what I get:
> * **cat /etc/sysconfig/o2cb
> #
> # This is a configuration file for automatic startup of the O2CB
> # driver.  It is generated by running /etc/init.d/o2cb configure.
> # Please use that method to modify this file
> #
> 
> # O2CB_ENABELED: 'true' means to load the driver on boot.
> O2CB_ENABLED=false
> 
> # O2CB_BOOTCLUSTER: If not empty, the name of a cluster to start.
> O2CB_BOOTCLUSTER=
> 
> # O2CB_HEARTBEAT_THRESHOLD: Iterations before a node is considered dead.
> O2CB_HEARTBEAT_THRESHOLD=

It looks like you haven't actually configured a cluster to use. The
command to configure a cluster is in the header of the file you pasted:
/etc/init.d/o2cb configure

- -Jeff

- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGCrDTLPWxlyuTD7IRAmFgAKCdtiooVVAgAokfb+gh7ifpG6iaRACfXE/1
kriNZ4yJAQhRVEocI6P/kGI=
=4HwK
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-03-28 11:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-28  8:28 [Ocfs2-devel] mount gnenerates an error : "Unable to access cluster service while starting heartbeat" Andy Johnson
2007-03-28  8:53 ` Jeff Mahoney
2007-03-28  9:23 ` Srinivas Eeda
2007-03-28  9:32   ` Sunil Mushran
2007-03-28 10:29   ` Andy Johnson
2007-03-28 10:31     ` Jeff Mahoney
2007-03-28 10:33     ` Sunil Mushran
2007-03-28 11:10       ` Andy Johnson
2007-03-28 11:15         ` Sunil Mushran
2007-03-28 11:15         ` Jeff Mahoney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.