12
返回列表 发新帖
楼主: jxil82214

aix 5.3安装完oracle 10后的问题

[复制链接]
招聘 : Linux运维
论坛徽章:
5
ITPUB新首页上线纪念徽章
日期:2007-10-20 08:38:442010新春纪念徽章
日期:2010-01-04 08:33:08奥运会纪念徽章:马术
日期:2012-10-17 13:30:222014年新春福章
日期:2014-02-18 16:42:02马上有房
日期:2014-02-18 16:42:02
11#
 楼主| 发表于 2008-3-24 15:47 | 只看该作者
id
uid=213(oracle) gid=213(dba) groups=214(oinstall)

$ ls -l $ORACLE_BASE
total 104
drwxr-sr-x   3 oracle   dba             512 Mar 20 17:48 10.2.0
drwxr-s---   3 oracle   dba             512 Mar 24 10:53 admin
-rw-r--r--   1 oracle   dba            6804 Mar 24 16:39 alert_oracle.log
drwxr-s---   3 oracle   dba             512 Mar 24 10:56 flash_recovery_area
drwxrws---   6 oracle   dba             512 Mar 24 10:39 oraInventory
-rw-r--r--   1 oracle   dba             759 Mar 24 16:04 smit.log
-rw-r--r--   1 oracle   dba               0 Mar 24 15:41 smit.script
-rw-r--r--   1 oracle   dba               0 Mar 24 15:41 smit.transaction
-rw-r--r--   1 oracle   dba           24518 Mar 24 16:39 sqlnet.log

$ ls -l $ORACLE_HOME
total 544
drwxr-s---   4 oracle   dba             512 Mar 24 10:24 OPatch
drwxr-S---   3 oracle   dba             512 Mar 24 15:42 aixhost_oracle
-rw-r--r--   1 oracle   dba             367 Mar 24 12:53 alert_oracle.log
drwxr-s---   7 oracle   dba             512 Mar 24 10:10 assistants
drwxr-s---   3 oracle   dba             512 Mar 24 10:10 bali
drwxr-sr-x   2 oracle   dba            5632 Mar 24 16:07 bin
drwxr-s---   3 oracle   dba             512 Mar 24 10:25 cdata
drwxr-s---   6 oracle   dba             512 Mar 24 10:51 cfgtoollogs
drwxr-s---   4 oracle   dba             512 Mar 24 10:10 clone
drwxr-s---   2 oracle   dba             512 Mar 24 10:25 config
drwxr-s---   6 oracle   dba             512 Mar 24 10:10 crs
drwxr-s---   7 oracle   dba             512 Mar 24 10:25 css
drwxr-s---  10 oracle   dba             512 Mar 24 10:25 ctx
drwxr-s---   2 oracle   dba             512 Mar 24 16:07 dbs
drwxr-s---   3 oracle   dba             512 Mar 24 10:10 demo
drwxr-s---   3 oracle   dba             512 Mar 24 10:10 diagnostics
drwxr-s---   3 oracle   dba             512 Mar 24 10:10 emdw
drwxr-s---   3 oracle   dba             512 Mar 24 10:10 encryption
drwxr-xr-x   2 oracle   dba             512 Mar 24 10:24 endorsed
drwxr-s---   5 oracle   dba             512 Mar 24 10:10 has
drwxr-s---   7 oracle   dba             512 Mar 24 10:38 hs
drwxr-s---   5 oracle   dba             512 Mar 24 15:42 install
-rw-r-----   1 oracle   dba              38 Mar 24 10:09 install.platform
drwxr-s---  12 oracle   dba             512 Mar 24 10:39 inventory
drwxr-s---   7 oracle   dba             512 Mar 24 10:10 javavm
drwxr-s---   4 oracle   dba             512 Mar 24 10:23 jdbc
drwxr-s---   6 oracle   dba             512 Mar 24 10:23 jdk
drwxr-s---   2 oracle   dba            1536 Mar 24 10:24 jlib
drwxr-s---   3 oracle   dba             512 Mar 24 10:10 jre
drwxr-s---  14 oracle   dba             512 Mar 24 10:25 ldap
drwxr-s---   3 oracle   dba            5632 Mar 24 10:38 lib
drwxr-s---   2 oracle   dba            4096 Mar 24 10:38 lib32
drwxr-sr-x   3 oracle   dba             512 Mar 24 10:48 log
drwxr-s---   6 oracle   dba             512 Mar 24 10:10 md
drwxr-s---   2 oracle   dba             512 Mar 24 10:12 mesg
drwxr-s---   7 oracle   dba             512 Mar 24 10:24 mgw
drwxr-s---  12 oracle   dba             512 Mar 24 10:38 network
drwxr-s---   6 oracle   dba             512 Mar 24 10:10 nls
drwxr-s---  15 oracle   dba             512 Mar 24 10:39 oc4j
drwxr-s---   5 oracle   dba             512 Mar 24 10:10 olap
drwxr-s---   7 oracle   dba             512 Mar 24 10:25 opmn
drwxr-s---   4 oracle   dba             512 Mar 24 10:10 opsm
-rwxr-xr-x   1 oracle   dba              59 Mar 19 12:34 oraInst.loc
drwxr-s---   4 oracle   dba             512 Mar 24 10:10 oracore
drwxr-s---   8 oracle   dba             512 Mar 24 10:10 ord
drwxr-s---   7 oracle   dba             512 Mar 24 10:24 oui
drwxr-s---   4 oracle   dba             512 Mar 24 10:10 owm
drwxr-s---   6 oracle   dba             512 Mar 24 10:10 perl
drwxr-s---   7 oracle   dba             512 Mar 24 10:11 plsql
drwxr-s---   8 oracle   dba             512 Mar 24 10:10 precomp
drwxr-s---   7 oracle   dba             512 Mar 24 10:25 racg
drwxr-s---  14 oracle   dba             512 Mar 24 10:39 rdbms
drwxr-s---   4 oracle   dba             512 Mar 24 10:23 relnotes
-rwxr-xr-x   1 oracle   dba            9494 Mar 24 10:39 root.sh
-rwxr-xr-x   1 oracle   dba               0 Jun 07 2005  root.sh.old
drwxr-s---   3 oracle   dba             512 Mar 24 10:10 slax
drwxr-s---   3 oracle   dba             512 Mar 24 10:10 sqlj
-rw-r--r--   1 oracle   dba            1808 Mar 24 12:53 sqlnet.log
drwxr-s---  10 oracle   dba             512 Mar 24 10:25 sqlplus
drwxr-s---  13 oracle   dba             512 Mar 24 10:25 srvm
drwxr-s---  13 oracle   dba             512 Mar 24 10:25 sysman
drwxr-s---   3 oracle   dba             512 Mar 24 10:10 tg4sybs
drwxr-s---   4 oracle   dba             512 Mar 24 10:10 uix
drwxr-s---   3 oracle   dba             512 Mar 24 10:10 wwg
drwxr-s---   6 oracle   dba             512 Mar 24 10:21 xdk
$
$ cat .profile
export ORACLE_SID=oracle
export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=/opt/oracle/10.2.0/db
export PATH=$PATH:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=/opt/oracle/10.2.0/db/lib

现在报的错误是:
Refer to the SQL*Plus User's Guide and Reference for more information.
$ sqlplus /nolog

SQL*Plus: Release 10.2.0.1.0 - Production on Mon Mar 24 16:44:42 2008

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

SQL> conn /as sysdba
ERROR:
ORA-12547: TNS:lost contact


SQL>

如果oracle启动到open状态时,可以用 sqlplus sys/oracle@oracle as sysdba登录,可刚才我把数据库给shutdown 了,所以现在进不去了

使用道具 举报

回复
论坛徽章:
122
现任管理团队成员
日期:2011-05-07 01:45:08
12#
发表于 2008-3-24 15:50 | 只看该作者
配静态监听就可以@oracle进入了~

使用道具 举报

回复
论坛徽章:
25
ITPUB新首页上线纪念徽章
日期:2007-10-20 08:38:442010世博会纪念徽章
日期:2010-07-30 12:07:232011新春纪念徽章
日期:2011-02-18 11:43:332010广州亚运会纪念徽章:高尔夫球
日期:2011-04-11 18:22:37蜘蛛蛋
日期:2011-08-17 08:44:40ITPUB十周年纪念徽章
日期:2011-11-01 16:21:15复活蛋
日期:2011-12-15 09:06:552012新春纪念徽章
日期:2012-01-04 11:51:22ITPUB 11周年纪念徽章
日期:2012-10-09 18:06:202013年新春福章
日期:2013-02-25 14:51:24
13#
发表于 2008-3-24 15:50 | 只看该作者
echo $ORACLE_HOME;
cd /opt/oracle/10.2.0/db/bin
sqlplus /nolog
conn / as sysdba;

使用道具 举报

回复
论坛徽章:
14
奥运会纪念徽章:拳击
日期:2008-04-24 10:00:15CTO参与奖
日期:2009-02-12 11:45:482012新春纪念徽章
日期:2012-02-07 09:59:35ITPUB季度 技术新星
日期:2012-02-16 14:53:16鲜花蛋
日期:2012-03-19 18:10:462013年新春福章
日期:2013-02-25 14:51:242014年新春福章
日期:2014-02-18 16:41:11马上有车
日期:2014-02-18 16:41:11
14#
发表于 2008-3-24 15:56 | 只看该作者
有防火墙吗

使用道具 举报

回复
招聘 : Linux运维
论坛徽章:
5
ITPUB新首页上线纪念徽章
日期:2007-10-20 08:38:442010新春纪念徽章
日期:2010-01-04 08:33:08奥运会纪念徽章:马术
日期:2012-10-17 13:30:222014年新春福章
日期:2014-02-18 16:42:02马上有房
日期:2014-02-18 16:42:02
15#
 楼主| 发表于 2008-3-24 16:05 | 只看该作者
echo $ORACLE_HOME;
cd /opt/oracle/10.2.0/db/bin
sqlplus /nolog
conn / as sysdba;

这样进不去报相同错误,
没有防火墙

使用道具 举报

回复
论坛徽章:
98
2009日食纪念
日期:2009-07-22 09:30:002010新春纪念徽章
日期:2010-03-01 11:05:012010年世界杯参赛球队:美国
日期:2010-05-02 21:32:232010数据库技术大会纪念徽章
日期:2010-05-13 09:34:23ITPUB季度 技术新星
日期:2010-05-17 15:53:17数据库板块每日发贴之星
日期:2010-05-24 01:01:072010年世界杯参赛球队:意大利
日期:2010-05-31 20:55:432010年世界杯参赛球队:巴拉圭
日期:2010-07-03 13:06:582010世博会纪念徽章
日期:2010-08-18 23:53:44ITPUB9周年纪念徽章
日期:2010-10-08 09:28:51
16#
发表于 2008-3-24 23:07 | 只看该作者
不是path的问题。所以不需要cd /opt/oracle/10.2.0/db/bin

莫非是缺什么包了?或者是需要修改什么参数? 试着删除listener重建看看,或者删除数据库重建看看。

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表