[Ocfs2-users] OCFS2 from 1.2.4 -> 1.2.7 - Failed dependencies

Marcos E. Matsunaga Marcos.Matsunaga at oracle.com
Sat Dec 8 04:38:00 PST 2007


Rich,

When you change the o2cb configuration, you have to do it on all nodes.
They have to be the same or it will complain. Just copy the
/etc/sysconfig/o2cb file from one machine to the other and it should
work. Also, make sure /etc/ocfs2/cluster.conf is exactly the same on all
nodes.

Regards,

Marcos Eduardo Matsunaga

Oracle USA
Linux Engineering





Rich Amick wrote:
> I changed parameters in /etc/sysconfig/o2cb to those suggested:
> > >  FROM: 
> O2CB_HEARTBEAT_THRESHOLD=46 
> O2CB_IDLE_TIMEOUT_MS= 
> O2CB_KEEPALIVE_DELAY_MS= 
> O2CB_RECONNECT_DELAY_MS=
> > >  TO: 
> O2CB_HEARTBEAT_THRESHOLD = 31 
> O2CB_IDLE_TIMEOUT_MS = 30000 
> O2CB_KEEPALIVE_DELAY_MS = 2000 
> O2CB_RECONNECT_DELAY_MS = 2000
>  
> /etc/init.d/o2cb load 
> /etc/init.d/o2cb online
>  
> And tried to mount the volumes:
> /bin/mount -at ocfs2
>  
> Now, I get:
> mount.ocfs2: Transport endpoint is not connected while mounting
> /dev/sda1 on /u01. Check 'dmesg' for more information on this error.
>  
> dmesg says:
> (409,3):o2hb_check_slot:881 ERROR: Node 0 on device sda1 has a dead
> count of 92000 ms, but our count is 62000 ms.
> Please double check your configuration values for
> 'O2CB_HEARTBEAT_THRESHOLD'
> (27024,0):o2net_check_handshake:1181 node oracle0 (num 0) at
> 192.168.0.1:7777 uses a network idle timeout of 10000 ms, but we use
> 30000 ms locally.  disconnecting
> (407,2):dlm_request_join:901 ERROR: status = -107
> (407,2):dlm_try_to_join_domain:1049 ERROR: status = -107
> (407,2):dlm_join_domain:1321 ERROR: status = -107
> (407,2):dlm_register_domain:1514 ERROR: status = -107
> (407,2):ocfs2_dlm_init:2024 ERROR: status = -107
> (407,2):ocfs2_mount_volume:1133 ERROR: status = -107
> ocfs2: Unmounting device (8,1) on (node 1)
>  
> What now?
>  
>
> ------------------------------------------------------------------------
> *From:* ocfs2-users-bounces at oss.oracle.com
> [mailto:ocfs2-users-bounces at oss.oracle.com] *On Behalf Of *Rich Amick
> *Sent:* Friday, December 07, 2007 9:11 PM
> *To:* Marcos.Matsunaga at oracle.com
> *Cc:* ocfs2-users at oss.oracle.com
> *Subject:* RE: [Ocfs2-users] OCFS2 from 1.2.4 -> 1.2.7 - Failed
> dependencies
>
> That did it - thanks.
>
> ------------------------------------------------------------------------
> *From:* Marcos E. Matsunaga [mailto:Marcos.Matsunaga at oracle.com]
> *Sent:* Friday, December 07, 2007 9:04 PM
> *To:* Rich Amick
> *Cc:* ocfs2-users at oss.oracle.com
> *Subject:* Re: [Ocfs2-users] OCFS2 from 1.2.4 -> 1.2.7 - Failed
> dependencies
>
> Rich,
>
> Try:
> /bin/rpm -Uvh /usr/local/src/ocfs2-tools-1.2.7-1.el4.x86_64.rpm /usr/local/src/ocfs2console-1.2.7-1.el4.x86_64.rpm usr/local/src/ocfs2-tools-devel-1.2.7-1.el4.x86_64.rpm
>
>
> That should do it.
>   
>
> Regards,
>
> Marcos Eduardo Matsunaga
>
> Oracle USA
> Linux Engineering
>
>
>   
>
>
> Rich Amick wrote:
>> [root at oracle1 ~]# uname -a
>> Linux oracle1 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:56:28 EST 2006 x86_64 x86_64 x86_64 GNU/Linux
>>
>> [root at oracle1 ~]# rpm -qa | grep ocfs
>> ocfs2-tools-devel-1.2.4-1
>> ocfs2-2.6.9-34.ELsmp-1.2.5-2
>> ocfs2-tools-1.2.4-1
>> ocfs2console-1.2.4-1
>>
>> [root at oracle1 ~]# /etc/init.d/o2cb status
>> Module "configfs": Not loaded
>> Filesystem "configfs": Not mounted
>> Module "ocfs2_nodemanager": Not loaded
>> Module "ocfs2_dlm": Not loaded
>> Module "ocfs2_dlmfs": Not loaded
>> Filesystem "ocfs2_dlmfs": Not mounted
>>
>> However, I get:
>> /bin/rpm -Uvh /usr/local/src/ocfs2-tools-1.2.7-1.el4.x86_64.rpm /usr/local/src/ocfs2console-1.2.7-1.el4.x86_64.rpm 
>> error: Failed dependencies:
>>         ocfs2-tools = 1.2.4 is needed by (installed) ocfs2-tools-devel-1.2.4-1.x86_64
>>
>> If I try to upgrade ocfs2-tools-devel, I get:
>> [root at oracle1 ~]# /bin/rpm -Uvh /usr/local/src/ocfs2-tools-devel-1.2.7-1.el4.x86_64.rpm
>> error: Failed dependencies:
>>         ocfs2-tools = 1.2.7 is needed by ocfs2-tools-devel-1.2.7-1.el4.x86_64
>>
>> What am I doing wrong?
>>
>>
>> _______________________________________________
>> Ocfs2-users mailing list
>> Ocfs2-users at oss.oracle.com
>> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20071208/1a73b878/attachment-0001.html


More information about the Ocfs2-users mailing list