Home  >  Article  >  Database  >  CentOS系统安装Oracle数据库出现的错误总结

CentOS系统安装Oracle数据库出现的错误总结

WBOY
WBOYOriginal
2016-06-07 17:34:291382browse

错误1:[INS-06101] IP address of localhost could not be determined 图:如下 解决方法:是因为你的主机名与IP地址不一至,在

错误1:[INS-06101] IP address of localhost could not be determined
图:如下

解决方法:是因为你的主机名与IP地址不一至,在/etc/hosts文件对应就行了
              vim /etc/hosts
                    IP地址    主机名
错误2:at Oracle.install.ivwdb.dirver.DBinstaller.main(DBinstaller.java:132)
图:如下

解决方法:在root用户终端下执行xhost +就行了
错误3:Error in invoking target 'client_sharedlib' of makefile '/oracle/u01/app/oracle/product/10.2.0/db_1/network/lib/ins_net_client.mk'
图:如下

解决方法:查看oracle是多少位的系统,一般32位系统装32位oracle软件,64位系统可以装32位和64位的oracle。打开下载oracle的软件包,里面有一个网页,,打开那个网页就可以看到。
错误4:查看监听(lsnrctl)或者是命令(sqlplus)提示:
    -bash: lsnrctl: command not found
图:如下

解决方法:查找oracle的命令安装目录,我的是(/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin)添加到环境变量中。
vim ~/.bash_profile    --是oracle用户根目录的文件,修改这一行
        export PATH=$PATH:/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin
source  ~/.bash_profile      --配置文件生效

推荐阅读:

RedHat Linux 5 & CentOS 5下Oracle 10g安装详解

CentOS 6.3(x32)下安装Oracle 10g R2

Linux-6-64下安装Oracle 12C笔记

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn