aix_install_11.2.0.4.6_add_note

前几天进行添加rac节点时遇到报错,简单记录下

export IGNORE_PREADDNODE_CHECKS=Y
$ORACLE_HOME/oui/bin/addNode.sh  -silent "cluster_new_nodes={tsouyt}" "cluster_new_virtual_hostnames={tsouyt-vip}"
 
Starting Oracle Universal Installer...
 
Checking swap space: must be greater than 500 MB.   Actual 16384 MB    Passed
Oracle Universal Installer, Version 11.2.0.4.0 Production
Copyright (C) 1999, 2013, Oracle. All rights reserved.
 
----------------------------------------------------------------------------------
tsouyt:
    PRCF-2023 : The following contents are not transferred as they are non-readable.
Directories:
   1) /u01/app/11.2.0/grid/crs/utl
Files:
   1) /u01/app/11.2.0/grid/bin/oradaemonagent
   2) /u01/app/11.2.0/grid/srvm/admin/logging.properties

这里遇到报错,有些文件不能被访问

ls -l  /u01/app/11.2.0/grid/crs/utl
ls -l  /u01/app/11.2.0/grid/bin/oradaemonagent
ls -l  /u01/app/11.2.0/grid/srvm/admin/logging.properties

查看后发现文件的宿主是root:system,grid用户当然没有权限读
修改权限

chmod 777 /u01/app/11.2.0/grid/crs/utl
chmod -R o+r /u01/app/11.2.0/grid/crs/utl
chmod -R o+r /u01/app/11.2.0/grid/bin/oradaemonagent
chmod -R o+r /u01/app/11.2.0/grid/srvm/admin/logging.properties

在次执行添加节点正常

Instantiating scripts for add node (Sunday, April 26, 2015 9:31:49 PM CST)
.                                                                 1% Done.
Instantiation of add node scripts complete
 
Copying to remote nodes (Sunday, April 26, 2015 9:31:53 PM CST)
...............................................................................................                                 96% Done.
Home copied to new nodes
 
Saving inventory on nodes (Sunday, April 26, 2015 9:55:39 PM CST)
.                                                               100% Done.
Save inventory complete
WARNING:A new inventory has been created on one or more nodes in this session. However, it has not yet been registered as the central inventory of this system.
To register the new inventory please run the script at '/u01/app/oraInventory/orainstRoot.sh' with root privileges on nodes 'tsouyt'.
If you do not register the inventory, you may not be able to update or patch the products you installed.
The following configuration scripts need to be executed as the "root" user in each new cluster node. Each script in the list below is followed by a list of nodes.
/u01/app/oraInventory/orainstRoot.sh #On nodes tsouyt
/u01/app/11.2.0/grid/root.sh #On nodes tsouyt
To execute the configuration scripts:
    1. Open a terminal window
    2. Log in as "root"
    3. Run the scripts in each cluster node
 
The Cluster Node Addition of /u01/app/11.2.0/grid was successful.
Please check '/tmp/silentInstall.log' for more details.
此条目发表在 AIX, Oracle RAC 分类目录。将固定链接加入收藏夹。

评论功能已关闭。