在执行dbca的时候,抛出libclntsh.so.11.1+0x6ef23e的异常。

oracle官方给出的原因是:
If the hostname in the /etc/sysconfig/network config file is set as "localhost",it will generate the error when using DBCA to create Database Instance and then the DBCA will be crashed.
There are more detail infomations in the hs_err_pidxxxxxx.log log file about the getting hostname as bellow:
解决方案:
1、修改主机名
#vi /etc/sysconfig/network
HOSTNAME=new_hostname
2、修改/etc/hosts对应的地址和名称
#vi /etc/hosts
172.24.1.12 new_hostname
重启服务器后,该异常消除。
当使用DBCA创建数据库实例时遇到libclntsh.so.11.1异常,可能是因为主机名设置为'localhost'导致。解决方法包括:修改/etc/sysconfig/network文件中的主机名为新的主机名,如'new_hostname',并更新/etc/hosts文件,确保对应IP和新主机名正确。完成修改后重启服务器,异常即可消除。
6525

被折叠的 条评论
为什么被折叠?



