最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 科技 - 知识百科 - 正文

Oracle11gR2安装过程中遇到的报错及解决办法

来源:懂视网 责编:小采 时间:2020-11-09 10:47:19
文档

Oracle11gR2安装过程中遇到的报错及解决办法

Oracle11gR2安装过程中遇到的报错及解决办法:1.提示Check if the DISPLAYvariable is set. Failedlt;lt;lt;lt; 解决方案: #xhost + //切换到root用户输入 #su nda 1.提示Check if the DISPLAYvariable is set. Failed 解决方案: #xhost + //切换到root
推荐度:
导读Oracle11gR2安装过程中遇到的报错及解决办法:1.提示Check if the DISPLAYvariable is set. Failedlt;lt;lt;lt; 解决方案: #xhost + //切换到root用户输入 #su nda 1.提示Check if the DISPLAYvariable is set. Failed 解决方案: #xhost + //切换到root

1.提示Check if the DISPLAYvariable is set. Failedlt;lt;lt;lt; 解决方案: #xhost + //切换到root用户输入 #su nda

1.提示Check if the DISPLAYvariable is set. Failed<<<<

解决方案:

#xhost + //切换到root用户输入

#su – Oracle //切换到oracle用户

$./runInstaller //执行安装程序


xhost 是用来控制X server访问权限的。

通常当你从hostA登陆到hostB上运行hostB上的应用程序时,

做为应用程序来说,hostA是client,但是作为图形来说,

是在hostA上显示的,需要使用hostA的Xserver,所以hostA是

server.因此在登陆到hostB前,需要在hostA上运行xhost +

来使其它用户能够访问hostA的Xserver.

xhost + 是使所有用户都能访问Xserver.

xhost + ip使ip上的用户能够访问Xserver.

xhost + nis:user@domain使domain上的nis用户user能够访问

xhost + inet:user@domain使domain上的inet用户能够访问。

2.报错内容OUI-10035,OUI-10033

1.OUI-10035:You do not have permission to write to the inventory location.

OR

2.OUI-10033:The inventory location /u01/app/oraInventory set by the previousinstallation session is no longer accessible. Do you still want to continue bycreating a new inventory? Note that you may lose the products installed in theearlier session.

2-1 报错原因

导致出现这个问题的原因已经在提示中说得非常明确,原因是“存放inventory的位置权限不足”。

问题处理也同样简单,将/u01/app目录的读写权限授权给oracle用户。

2-2 处理方法

$chown -R oracle:oinstall /u01/app

$chmod -R 755 /u01/app

然后重新启动OUI进行安装即可。

3.安装的过程出现OUI-25031的错误界面

主要是IP地址和主机名不对应,因为oracle不是直接获取IP地址的,而是通过解析主机名来获取IP的

修改2个地方:

#vi /etc/sysconfig/network

hostname=newhostname

#vi /etc/hosts

IP 主机名

4.安装过程中遇到乱码:

这是因为oracle不支持中文造成的。你可以先使用命令

export将环境临时换成英文,然后再安装。这个环境变量的修改只是临时的,重启后或者使用oracle用户登录时会自己换回来的

5.安装过程中出现INS-32031,INS-32033错误:

[INS-32031]Invalid inventorylocation

[INS-32033]Central Inventorylocation is not vritable

解决办法:修改/home/oracle_11的权限

chown -R oracle:oinstall/home/oracle_11就行

6.创建oracle用户,提示useradd: warning: the home directory already exist

在Linux中安装oracle11g R2时:

#groupadd oinstall

#groupadd dba

mkdir -p /home/oracle //oracle安装到此目录下

建立用户:

#useradd -d /home/oracleoracle -g oinstall -G dba

结果报错:

useradd: warning: the homedirectory already exists.

Not copying any file fromskel directory into it.

进入/home/oracle目录,没有.bash_profile',,.bashrc,bash_logout

原因:

系统添加用户的标准步骤

1.编辑/etc/passwd与/etc/group

2.创建用户主目录

3.从/etc/skel拷贝文件与目录

4.让新用户获得其主目录与文件的拥有权限

5.给新用户一个密码

解决办法:

依旧使用上面的命令创建用户,然后手动拷贝配置文件到/home/oracle下。

cp /etc/skel/.bash_profile /home/oracle

cp /etc/skel/.bashrc /home/oracle

cp /etc/skel/.bash_logout /home/oracle

这样既可。

linux

文档

Oracle11gR2安装过程中遇到的报错及解决办法

Oracle11gR2安装过程中遇到的报错及解决办法:1.提示Check if the DISPLAYvariable is set. Failedlt;lt;lt;lt; 解决方案: #xhost + //切换到root用户输入 #su nda 1.提示Check if the DISPLAYvariable is set. Failed 解决方案: #xhost + //切换到root
推荐度:
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top