Centos 6.4系统安装oracle 11G RAC出现的错误总结

1.系统缺少依赖包

Centos 6.4系统安装oracle 11G RAC出现的错误总结

解决方法:

Centos 6.4系统安装oracle 11G RAC出现的错误总结

2.安装界面是乱码

Centos 6.4系统安装oracle 11G RAC出现的错误总结

解决方法:

Centos 6.4系统安装oracle 11G RAC出现的错误总结

测试:

Centos 6.4系统安装oracle 11G RAC出现的错误总结

3.ssh服务没有相互信任出现的问题

Centos 6.4系统安装oracle 11G RAC出现的错误总结

解决方法:

RAC1中的SSH服务互相信任

[root@rac1 ~]# ssh-keygen -t rsa      --在rac1中生成密钥
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
b4:d1:db:49:d4:27:2c:f9:6d:85:cd:cf:e8:2b:53:72 root@rac1
The key‘s randomart image is:
+--[ RSA 2048]----+
|            .+ + |
|         . .o = =|
|        o . .o *o|
|       . o + .o =|
|        S . o. . |
|            . E  |
|             + . |
|            o .  |
|             o   |
+-----------------+
[root@rac1 ~]# scp  /root/.ssh/id_rsa.pub  3.3.3.100:/root/.ssh/authorized_keys       --把rac1的公钥上传到rac2服务器上
root@3.3.3.100‘s password:
id_rsa.pub                                                                                                                                                              100%  391     0.4KB/s   00:00
[root@rac1 ~]#

RAC2中的SSH服务互相信任

[root@rac2 Packages]# ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
bc:d2:00:ed:4f:60:a2:bd:bc:4d:da:34:68:fe:5a:27 root@rac2
The key‘s randomart image is:
+--[ RSA 2048]----+
|                 |
|     .           |
|    o +          |
|   o = o         |
|  . . o S        |
|   . o = .       |
|    = E =        |
|   o O =         |
|    =o+          |
+-----------------+
[root@rac2 Packages]# scp /root/.ssh/id_rsa.pub  3.3.3.99:/root/.ssh/authorized.keys
The authenticity of host ‘3.3.3.99 (3.3.3.99)‘ can‘t be established.
RSA key fingerprint is ee:eb:9c:70:83:0b:d1:25:0e:84:73:f2:fa:27:4d:7f.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘3.3.3.99‘ (RSA) to the list of known hosts.
root@3.3.3.99‘s password:
id_rsa.pub                                                                                                                                                              100%  391     0.4KB/s   00:00
[root@rac2 Packages]#

还有就是ssh和rsh服务都是要互相信任

 

 

本文出自 “一起走过的日子” 博客,谢绝转载!

Centos 6.4系统安装oracle 11G RAC出现的错误总结

上一篇:使用java连接Mysql 和Using JDBC Statement Objects to Execute SQL


下一篇:java spring mvc+mysql 整合写的一个简单的登录