刚装的 ORACLE9I不能联接数据库!很急!

发布于 2022-10-01 21:23:17 字数 2739 浏览 18 评论 0

我在redhatAS3.0下按照好好先生的文章装了数据库,可是在打最后两个补丁的时候出现错误:
[oracle@linux 3119415]$ opatch apply
PERL5LIB=/opt/oracle/product/9.2.0/Apache/perl/lib/5.00503:/tmp/patch/OPatch/perl_modules; export PERL5LIB
/opt/oracle/product/9.2.0/Apache/perl/bin/perl /tmp/patch/OPatch/opatch.pl applyperl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "zh_CN.GB18030:zh_CN.GB2312:zh_CN",
LC_ALL = (unset),
LANG = "AMERICAN"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C".

OPatch Version 1.0.0.0.46
Perl Version 5.00503

Oracle Home = /opt/oracle/product/9.2.0
Location of Oracle Inventory = /opt/oracle/oraInventory
Oracle Universal Installer shared library = /opt/oracle/oui/bin/linux/liboraInstaller.so
Path to Java = /opt/oracle/jre/1.3.1/bin/java
Location of Oracle Inventory Pointer = /etc/oraInst.loc
Location of Oracle Universal Installer components = /opt/oracle/oui
Required Jar File under Oracle Universal Installer = lib/OraInstaller.jar

Please shut down Oracle instances running out of this ORACLE_HOME
(Oracle Home = /opt/oracle/product/9.2.0)
Is this system ready for updating?
Please respond Y|N >;
y
Patching...
/tmp/patch/OPatch/opatch.pl version: 1.0.0.0.46
Copyright (c) 2001,2002,2003 Oracle Corporation. All Rights Reserved.

Please re-run this patch script after the problems have been resolved.

There were problems in running the make
commands needed to finish the patch
process. The errors encounted were:
Couldn't create file for the make commands. Error is: Permission denied
file is "/tmp/patch/3119415/3119415_make.txt"

ERROR: OPatch failed during pre-reqs check.
接着我就用sqlplus /nolog命令,没有问题,在实用connect / as sysdba出现下面的 信息
Connected to an idle instance.
我用启动数据库命令startup启动数据库,不行,出现错误信息如下:
SQL>; startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/opt/oracle/product/9.2.0/dbs/inittest.ora'
我在安装的时候没有创建种子数据库,我用dbca创建的时候出现下面的错误退出:
[oracle@linux oracle]$ dbca
/opt/oracle/product/9.2.0/bin/dbca: line 124: 32677 Killed    $JRE_DIR/bin/jre -DORACLE_HOME=$OH -DJDBC_PROTOCOL=thin -mx64m -classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS
请大虾们指教,很急!
我是一个菜鸟,请说详细点,谢谢!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

扎心 2022-10-08 21:23:17

顶一下

清音悠歌 2022-10-08 21:23:17

难道没有人会吗?

墟烟 2022-10-08 21:23:17

$su – root
#touch /etc/rac_on

羁〃客ぐ 2022-10-08 21:23:17

perl: warning: Please check that your locale settings:
LANGUAGE = "zh_CN.GB18030:zh_CN.GB2312:zh_CN",
LC_ALL = (unset),
LANG = "AMERICAN"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C".

again

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文