Error When Attempting To Run Sbin Ocfs2_hb_ctl
SLES10SP2 using user level heartbeat. Here is my configuration.ocfs2-tools-1.4.0-0.3**user level heartbeat**-> lsmod | grep ocfsocfs2_user_heartbeat 20992 1 ocfs2_dlmfs 37776 1ocfs2_dlm 204456 1 ocfs2_dlmfsocfs2_nodemanager 223384 6 ocfs2_user_heartbeat,ocfs2_dlmfs,ocfs2_dlmconfigfs 44700 3 ocfs2_user_heartbeat,ocfs2_nodemanagermounted filesystem list contains following two lines which are required for o2cb. configfs on /sys/kernel/config type configfs (rw)ocfs2_dlmfs on /dlm type ocfs2_dlmfs (rw)/etc/ocfs2/cluster.conf file is created on one node using ocfs2console and then propogated changes to other host. ->/etc/init.d/o2cb statusModule "configfs": LoadedFilesystem "configfs": MountedModule "ocfs2_nodemanager": LoadedModule "ocfs2_dlm": LoadedModule "ocfs2_dlmfs": Loaded Filesystem "ocfs2_dlmfs": MountedChecking O2CB cluster ocfs2: OnlineNetwork idle timeout: 30000Network keepalive delay: 2000Network reconnect delay: 2000Checking O2CB heartbeat: Not active Everything looks fine till this point. I am able to configure and start o2cb successfully.Now when I try to mount a ocfs2 filesystem, it give me following error.->mount /dev/mapper/360a980004334637558344a7863755656 /hdmnt1 ocfs2_hb_ctl: Unable to access cluster service while starting heartbeatmount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: "Operation not permitted"As per my opnion, I have followed proper stepts to configure. (I had done same with kernel level heartbeat successfully.) Is user level heartbeat supported in sles10sp2? Can somebody please give me some direction?Thanks Nand _______________________________________________ Ocfs2-users mailing list Ocfs2-users@xxxxxxxxxxxxxx http://oss.oracle.com/mailman/listinfo/ocfs2-users Thread at a glance: Previous Message by Date: Re: Ocfs2-users Digest, Vol 57, Issue 8 Hi, I think it is quite normal to see only a small number of parameters in the configuration file on a new install. If you run "/etc/init.d/o2cb configure" it will populate the file with (at least) any non-default responses. Regards, Richard. ocfs2-users-request@xxxxxxxxxxxxxx wrote: > Send Ocfs2-users mailing list submissions to > ocfs2-users@xxxxxxxxxxxxxx > > To subscribe or unsubscribe via the World Wide Web, visit > http://oss.oracle.com/mailman/listinfo/ocfs2-users > or, via email, send a message with subject or body 'help' to > ocfs2-users-request@xxxxxxxxxxxxxx > > You can reach the person managing the list at > ocfs2-users-owner@xxxxxxxxxxxxxx > >
vs Devil 【Tags】 OCFS2 error:Error when attempting to run /sbin/ocfs2_hb_ctl: "Operation not permitted" By Adamhuan | 2014年9月18日 0 Comment 今天,在做OCFS2的操作的时候遇到了如题所示的报错,具体的现象如下: [root@oel2 ~]# mount.ocfs2 -o datavolume,nointr /dev/sdb1 /ocfs2/ ocfs2_hb_ctl: Unable to access cluster service while starting heartbeat mount.ocfs2: Error when attempting to run http://osdir.com/ml/file-systems.ocfs2.user/2008-09/msg00022.html /sbin/ocfs2_hb_ctl: "Operation not permitted" [root@oel2 ~]# 1234 [root@oel2 ~]# mount.ocfs2 -o datavolume,nointr /dev/sdb1 /ocfs2/ocfs2_hb_ctl: Unable to access cluster service while starting heartbeatmount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: "Operation not http://d-prototype.com/archives/1038 permitted"[root@oel2 ~]# 产生上述问题的原因是涉及到OCFS2挂载的节点间的O2CB的状态不一致。 即,在挂载OCFS2之前,没有将o2cb configure设为一致的状态。 具体如下: 在上述报错发生的时候,我的各个节点的O2CB的状态如下: 节点一) [root@oel1 /]# /etc/init.d/o2cb status Module "configfs": Loaded Filesystem "configfs": Mounted Module "ocfs2_nodemanager": Loaded Module "ocfs2_dlm": Loaded Module "ocfs2_dlmfs": Loaded Filesystem "ocfs2_dlmfs": Mounted Checking O2CB cluster ocfs2: Online Heartbeat dead threshold: 31 Network idle timeout: 30000 Network keepalive delay: 2000 Network reconnect delay: 2000 Checking O2CB heartbeat: Not active [root@oel1 /]# 1234567891011121314 [root@oel1 /]# /etc/init.d/o2cb statusModule "configfs": LoadedFilesystem "configfs": MountedModule "ocfs2_nodemanager": LoadedModule "ocfs2_dlm": LoadedModule "ocfs2_dlmfs": LoadedFilesystem "ocfs2_dlmfs": MountedChecking O2CB cluster ocfs2: OnlineHeartbeat dead threshold: 31Network idle timeout: 30000Network keepalive delay: 2000Network r
04-29-2010 03:26 PM directory corrupted while reading uuid Dears,, I am trying to mount directory but i faced error as following. . . [root@rac2 /]# mount -t ocfs2 -o datavolume,nointr /dev/sdb1 /ocfs ocfs2_hb_ctl: OCFS2 directory corrupted http://www.linuxquestions.org/questions/linux-software-2/directory-corrupted-while-reading-uuid-805041-print/ while reading uuid mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: "Operation http://marc.info/?l=ocfs2-users&m=122113707413688 not per mitted" Leave the above command (I tried another command as following ) . . . [root@rac2 /]# mount -t ocfs2 /dev/sdb1 /ocfs/ mount.ocfs2: Invalid argument while mounting /dev/sdb1 on /ocfs/. Check 'dmesg' for more information on this error. Why this ? error when and how solve? brucehinrichs 05-01-2010 12:01 AM And what did 'dmesg' say? eng_mohammedmostafa 05-03-2010 07:09 AM I executed the command again . . . [root@rac2 ~]# mount -t ocfs2 -o datavolume,nointr /dev/sdb1 /ocfs ocfs2_hb_ctl: OCFS2 directory corrupted while reading uuid mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: "Operation not per mitted" dmesg is big as error when attempting following . . . I have little experience in Linux. Sorry for attaching all of it , but i cannot find the problem *********************************************** Linux version 2.6.9-67.0.0.0.1.ELhugemem (mockbuild@ca-build15.us.oracle.com) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)) #1 SMP Sun Nov 18 0 0:31:12 EST 2007 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009f800 (usable) BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved) BIOS-e820: 00000000000ca000 - 00000000000cc000 (reserved) BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000003e6f0000 (usable) BIOS-e820: 000000003e6f0000 - 000000003e6ff000 (ACPI data) BIOS-e820: 000000003e6ff000 - 000000003e700000 (ACPI NVS) BIOS-e820: 000000003e700000 - 000000003e800000 (usable) BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved) 0MB HIGHMEM available. 1000MB LOWMEM available. found SMP MP-table at 000f6cd0 NX (Execute Disable) protection: active On node 0 totalpages: 256000 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 251904 pages, LIFO batch:16 HighMem zone: 0 pages, LIFO batch:1 DMI present. Using APIC driver default ACPI: RSDP (v000 PTLTD ) @ 0x000f6c60 ACPI: RSDT (v001 PTL
Message-ID: 1a2c86f10809110519p4289d9acw251aeee592a9fd5b () mail ! gmail ! com [Download message RAW] [Attachment #2 (multipart/alternative)] Hi Nand, I'sorry. I'm a novice with the system of files OCFS2. My system's work over RHEL 4.6 (two nodes) and storage iSCSI (Celerra EMC). Your error was identical to one reported in my installation. But I do not use " to user heartbeat". :-( ---------- Forwarded message ---------- From: Nandkumar Mane