本文共 1501 字,大约阅读时间需要 5 分钟。
the warning can be avoided by creating the
following script and renaming it to "/usr/sbin/crash":
#!/bin/ksh
read input
if [ X"$input" = Xle ]; then
echo lke | /usr/sbin/kdb |
/usr/bin/awk '/^ *[0-9]+/ {printf("LoadList entry at 0x%sn Name:
%snn",$2,$6)}
fi
2)执行runinstaller时,报错:
$
Error in writing to directory /tmp/OraInstall. Please ensure that this directory
is writable and has atleast 25 MB of disk space. Installation cannot continue.
: Bad file number
解决办法:确认/tmp权限是777,同时在runinstaller之前清空/tmp/OraInstall目录.
3)安装完成8.1.7.0后,要打补丁到8.1.7.4,按照官方文档的说法,在$ORACLE_HOME/bin目录下运行runInstaller,但找不到这个命令。
解决办法:直接在光盘中执行runInstaller,然后选择8.1.7.4patch set的product.jar就可以了。
4)创建完库后,启动监听失败,报下面的错误:
TNS-12538: TNS:no such protocol adapter
TNS-12560: TNS:protocol adapter error
TNS-00508: No such protocol adapter
解决办法:
屏蔽掉listener中的ipc协议。
关闭所有实例,在目录 $ORACLE_HOME/NETWORK/LIB下
a. make -f ins_net_client.mk ntcontab.o
在作这一步时,提示我编译出错,我检查了一下,发现$ORACLE_HOME下没有temp目录,而环境变量tmp要求指向该目录,我就建了这个目录,将其属性改为777。启动实例,尝试启动listener,还是不成功。关闭实例,编译倒是成功了。
b. make -f ins_net_server.mk install
这一步成功了。
c. make -f ins_client_server.mk install
这一步不成功,告诉我ins_client_server.mk找不到。我在目录下也没有发现ins_client_server.mk。
最后,输入以下命令
$ adapters
Installed Net8 Tranport Protocols are:
IPC
TCP/IP
BEQueath
SSL
RAW
Installed Net8 Naming Adapters are:
TNSnames
OracleNames
LDAP
Hostname
Installed Oracle Advanced Security option/Security products are:
$ adapters tnslsnr
Executable does not exist! Goodbye...
然后,启动实例和listener,可以将listener启动起来。加上ipc方式,也可启起来。
转载地址:https://blog.csdn.net/weixin_33960567/article/details/116542609 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!