免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3150 | 回复: 4
打印 上一主题 下一主题

gentoo安装oracle xe遇到的问题! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-06-14 11:29 |只看该作者 |倒序浏览
本帖最后由 chengliye 于 2011-06-25 07:30 编辑

$ sqlplus "/as sysdba"

SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jun 14 11:27:28 2011

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup
ORA-27078: unable to determine limit for open files
Linux Error: 1: Operation not permitted
Additional information: 1
Additional information: 1
Additional information: -1027188
SQL>

论坛徽章:
59
2015七夕节徽章
日期:2015-08-24 11:17:25ChinaUnix专家徽章
日期:2015-07-20 09:19:30每周论坛发贴之星
日期:2015-07-20 09:19:42ChinaUnix元老
日期:2015-07-20 11:04:38荣誉版主
日期:2015-07-20 11:05:19巳蛇
日期:2015-07-20 11:05:26CU十二周年纪念徽章
日期:2015-07-20 11:05:27IT运维版块每日发帖之星
日期:2015-07-20 11:05:34操作系统版块每日发帖之星
日期:2015-07-20 11:05:36程序设计版块每日发帖之星
日期:2015-07-20 11:05:40数据库技术版块每日发帖之星
日期:2015-07-20 11:05:432015年辞旧岁徽章
日期:2015-07-20 11:05:44
2 [报告]
发表于 2011-06-14 12:46 |只看该作者
权限问题。当前用户支文件的读写权限是否都有。

论坛徽章:
0
3 [报告]
发表于 2011-06-14 16:16 |只看该作者
果然是权限问题。
不好意思,我才学习oracle,刚开始安装好,对很多问题还不明白,谢谢!

论坛徽章:
0
4 [报告]
发表于 2011-06-25 07:31 |只看该作者
不好意思,再次出现这一问题。
oraclexe@ghost ~ $ sqlplus "/as sysdba"
                        
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jun 25 07:19:58 2011
                        
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
                        
Connected to an idle instance.
                        
SQL> show user         
USER is "SYS"           
SQL> startup            
ORA-27078: unable to determine limit for open files
Linux Error: 1: Operation not permitted
Additional information: 1
Additional information: 1
Additional information: -2958340
SQL> startup force      
ORA-27078: unable to determine limit for open files
Linux Error: 1: Operation not permitted
Additional information: 1
Additional information: 1
Additional information: -3378372
SQL> startup            
ORA-03113: end-of-file on communication channel
SQL> exit               
Disconnected

论坛徽章:
0
5 [报告]
发表于 2011-06-29 10:40 |只看该作者
发现一个奇怪现象:
1、如果
@ghost:~]$ ll $ORACLE_HOME/bin/oracle -rwxr-x--x 1 oraclexe dba 74016852 Feb 20 2006 /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle
则用户oraclexe可以正常用sqlplus启动或停止数据库。

oraclexe@ghost ~ $ sqlplus '/as sysdba'

SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jun 29 10:36:32 2011

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production

SQL> startup
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.

Total System Global Area  771751936 bytes
Fixed Size                  1261252 bytes
Variable Size             201326908 bytes
Database Buffers          566231040 bytes
Redo Buffers                2932736 bytes
Database mounted.
Database opened.
SQL>

如果设置$ORACLE_HOME/bin/oracle文件的权限的S位则会出现前述错误。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP