近期在HP 870小机刀片上安装11GRAC,发现了一些问题,自我总结了一下。
安装环境:OS 11.3.1 数据库 11.1.0.6 使用VERTIAS FOUNDATION 5.0V2版本做并发VG卷组
安装CRS检查的时候报错,错误原因出自于操作系统问题。
报错信息如下:
Checking Network Configuration File Permissions ...
Check complete. The overall result of this check is: Failed <<<<
Problem: The network configuration file nswitch.conf is not world readable. It needs to have world read permissions in order for hostnames to resolve properly.
Recommendation: Set the permissions on the file nswitch.conf to 444.
========================================================
错误原因:
HP OS 11.3.1和以前的版本11.2.3有比较大的改动。以前11.2.3在/etc/目录下有一个叫“nsswitch.conf"文件,但是在11.3.1版本没有这个文件。
解决办法:
1# cp -r /etc/nsswitch.files /tmp/nsswitch.conf //修改nsswitch.files为nsswitch.conf
2. cp -r /tmpnsswitch.conf /etc/nsswitch.conf //将修改过的NSSWITCH,CONF文件拷回/etc目录下。
3. # chown bin:bin nsswitch.conf
4. # chmod 444 nsswitch.conf //修改相应权限,问题解决。
附录:
nsswitch.conf 的内容:
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/8334342/viewspace-607049/ ,如需转载,请注明出处,否则将追究法律责任。