安装GI最后检查时出现warning - Domain Sockets,PRVG-11750

Red Hat Linux 6.5 ,  Oracle 12.1.0.2 GI , 两节点, 之前安装过GI及RAC数据库, 由于人为异常将目录权限更改混乱,后手工删除,重新装GI及RAC. 

在安装GI时,检查前提条件的步骤,提示 swap不行,这个可以忽略,还有一个 Domain Sockets 出现warning ,  查询detail信息,提示需要删除
/var/tmp/.oracle 下的一些文件或目录, 忽然想起来,可能这个节点没有执行删除 /var/tmp/.oracle 目录, 导致之前安装时的文件还在,所以出现
warning  , 按照错误的action提示删除整个 /var/tmp/.oracle 后, 再次检查发现只剩下swap 一项warning了。   

具体报错: 

Perform Prerequisite Checks 

Domain Sockets  warning .....  

Domain Sockets - This task verifies Clusterware domain sockets
  Check Failed on Nodes: [szxtsp137-or] Check Succeeded On Nodes: [szxtsp138-or]  
Verification result of failed node: szxtsp137-or Details: 
-
PRVG-11750 : File "/var/tmp/.oracle/ora_gipc_szxtsp137-or_DBG_OHASD_lock" exists on node "szxtsp137-or". - Cause: The specified file is not expected to be present on the node. - Action: Remove the specified file from the node. 
-
PRVG-11750 : File "/var/tmp/.oracle/ora_gipc_szxtsp137-or_DBG_CTSSD_lock" exists on node "szxtsp137-or". - Cause: The specified file is not expected to be present on the node. - Action: Remove the specified file from the node. 
-
PRVG-11750 : File "/var/tmp/.oracle/ora_gipc_sszxtsp137-orgridszxtsp1-clusterCRFM_SIPC_lock" exists on node "szxtsp137-or". - Cause: The specified file is not expected to be present on the node. - Action: Remove the specified file from the node. 
-
...... 
-
PRVG-11750 : File "/var/tmp/.oracle/mdnsd.pid" exists on node "szxtsp137-or". - Cause: The specified file is not expected to be present on the node. - Action: Remove the specified file from the node. 
-
PRVG-11750 : File "/var/tmp/.oracle/ora_gipc_szxtsp137-or_DBG_GIPCD_lock" exists on node "szxtsp137-or". - Cause: The specified file is not expected to be present on the node. - Action: Remove the specified file from the node. 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-1873281/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/35489/viewspace-1873281/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
如果在服务端发送信息出现 "The operation is not allowed on non-connected sockets" 错误,这通常意味着您在发送之前没有确保与客户端建立了连接。 在您的代码中,确保在发送信息之前,服务端与客户端成功建立了连接。可以使用`BluetoothListener.AcceptBluetoothClient()` 方法来接受客户端的连接请求,并返回一个`BluetoothClient` 对象。然后,使用该对象的 `GetStream()` 方法获取蓝牙连接的流,并使用流发送信息。 以下是一个示例代码,展示了在服务端发送信息的过程: ```csharp using InTheHand.Net; using InTheHand.Net.Bluetooth; using InTheHand.Net.Sockets; public class BluetoothExample { private BluetoothListener _listener; private BluetoothClient _client; private Guid _serviceGuid = BluetoothService.SerialPort; public void StartListening() { _listener = new BluetoothListener(_serviceGuid); _listener.Start(); // 开始异步接受新的连接请求 _listener.BeginAcceptBluetoothClient(BluetoothCallback, null); } private void BluetoothCallback(IAsyncResult result) { _client = _listener.EndAcceptBluetoothClient(result); _listener.Stop(); // 停止监听 // 处理接收/发送信息 ListenForMessages(); } private void ListenForMessages() { while (_client.Connected) { using (var stream = _client.GetStream()) { byte[] buffer = new byte[1024]; int bytesRead = stream.Read(buffer, 0, buffer.Length); string message = System.Text.Encoding.ASCII.GetString(buffer, 0, bytesRead); // 处理接收到的信息 Console.WriteLine("接收到的信息:" + message); // 发送回复信息 string replyMessage = "回复信息"; byte[] replyBuffer = System.Text.Encoding.ASCII.GetBytes(replyMessage); stream.Write(replyBuffer, 0, replyBuffer.Length); } } } public void Disconnect() { _client.Close(); } public void SendMessage(string message) { if (_client != null && _client.Connected) { using (var stream = _client.GetStream()) { byte[] buffer = System.Text.Encoding.ASCII.GetBytes(message); stream.Write(buffer, 0, buffer.Length); } } else { Console.WriteLine("未连接到客户端"); } } } ``` 在上述代码中,`SendMessage` 方法会首先检查 `_client` 对象是否存在且已连接。如果连接正常,就可以使用 `_client.GetStream()` 方法来获取蓝牙连接的流,并发送信息。否则,会输出 "未连接到客户端" 的提示。 请确保在发送信息之前,服务端与客户端已经成功建立了连接。否则,会出现 "The operation is not allowed on non-connected sockets" 错误。 希望能对您有所帮助!如果您还有其他问题,请随提问。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值