免费注册 查看新帖 |

Chinaunix

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

我的ORACLE有点问题,高手麻烦帮看看 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-08-10 22:03 |只看该作者 |倒序浏览
"/home/oracle/product/10g/bin" $ >./dbstart

SQL*Plus: Release 10.1.0.2.0 - Production on Wed Aug 5 03:51:08 2009

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

SQL> Connected to an idle instance.
SQL> ORACLE instance started.

Total System Global Area  134217728 bytes
Fixed Size                   777776 bytes
Variable Size              74457552 bytes
Database Buffers           58720256 bytes
Redo Buffers                 262144 bytes
Database mounted.
Database opened.
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options

Database "ORA10G" warm started.

LSNRCTL for Linux: Version 10.1.0.2.0 - Production on 05-AUG-2009 03:51:25

Copyright (c) 1991, 2004, Oracle.  All rights reserved.

Starting /home/oracle/product/10g/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 10.1.0.2.0 - Production
System parameter file is /home/oracle/product/10g/network/admin/listener.ora
Log messages written to /home/oracle/product/10g/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 10.1.0.2.0 - Production
Start Date                05-AUG-2009 03:51:25
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /home/oracle/product/10g/network/admin/listener.ora
Listener Log File         /home/oracle/product/10g/network/log/listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
Services Summary...
Service "ORA10G" has 1 instance(s).
  Instance "ORA10G", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully






这回我倒腾了一会敲dbstart没反应了

"/home/oracle" $ >dbshut

LSNRCTL for Linux: Version 10.1.0.2.0 - Production on 05-AUG-2009 05:37:52

Copyright (c) 1991, 2004, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
  TNS-00511: No listener
   Linux Error: 111: Connection refused
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
  TNS-00511: No listener
   Linux Error: 2: No such file or directory

SQL*Plus: Release 10.1.0.2.0 - Production on Wed Aug 5 05:37:52 2009

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

SQL> Connected to an idle instance.
SQL> ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
SQL> Disconnected
Database "ORA10G" shut down.
"/home/oracle" $ >ps ux
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
oracle    6149  0.0  2.7 48396 7072 ?        Ss   03:58   0:00 /home/oracle/product/10g/bin/ocssd.bin
oracle    6151  0.0  2.7 48396 7072 ?        S    03:58   0:00 /home/oracle/product/10g/bin/ocssd.bin
oracle    6152  0.0  2.7 48396 7072 ?        S    03:58   0:00 /home/oracle/product/10g/bin/ocssd.bin
oracle    6153  0.0  2.7 48396 7072 ?        S    03:58   0:00 /home/oracle/product/10g/bin/ocssd.bin
oracle    6154  0.0  2.7 48396 7072 ?        S    03:58   0:00 /home/oracle/product/10g/bin/ocssd.bin
oracle    6155  0.0  2.7 48396 7072 ?        S    03:58   0:00 /home/oracle/product/10g/bin/ocssd.bin
oracle    6156  0.0  2.7 48396 7072 ?        S    03:58   0:00 /home/oracle/product/10g/bin/ocssd.bin
oracle    6157  0.0  2.7 48396 7072 ?        S    03:58   0:00 /home/oracle/product/10g/bin/ocssd.bin
oracle    6158  0.0  2.7 48396 7072 ?        S    03:58   0:01 /home/oracle/product/10g/bin/ocssd.bin
oracle    6160  0.0  2.7 48396 7072 ?        S    03:58   0:00 /home/oracle/product/10g/bin/ocssd.bin
oracle    6161  0.0  2.7 48396 7072 ?        S    03:58   0:00 /home/oracle/product/10g/bin/ocssd.bin
oracle    6162  0.0  2.7 48396 7072 ?        S    03:58   0:00 /home/oracle/product/10g/bin/ocssd.bin
oracle    6163  0.0  2.7 48396 7072 ?        S    03:58   0:01 /home/oracle/product/10g/bin/ocssd.bin
oracle    6164  0.0  2.7 48396 7072 ?        S    03:58   0:00 /home/oracle/product/10g/bin/ocssd.bin
oracle    6165  0.0  2.7 48396 7072 ?        S    03:58   0:01 /home/oracle/product/10g/bin/ocssd.bin
oracle    7014  0.3  0.5  5856 1424 pts/1    S    05:37   0:00 -bash
oracle    7075  0.0  0.3  3836  768 pts/1    R+   05:37   0:00 ps ux
"/home/oracle" $ >


问题可能很菜,发到新手里面有位大哥说这里解决的可能性要大点,懂的指点一下喽

论坛徽章:
34
亥猪
日期:2015-03-20 13:55:11戌狗
日期:2015-03-20 13:57:01酉鸡
日期:2015-03-20 14:03:56未羊
日期:2015-03-20 14:18:30子鼠
日期:2015-03-20 14:20:14丑牛
日期:2015-03-20 14:20:31辰龙
日期:2015-03-20 14:35:34巳蛇
日期:2015-03-20 14:35:56操作系统版块每日发帖之星
日期:2015-11-06 06:20:00操作系统版块每日发帖之星
日期:2015-11-08 06:20:00操作系统版块每日发帖之星
日期:2015-11-19 06:20:00黄金圣斗士
日期:2015-11-24 10:43:13
2 [报告]
发表于 2009-08-11 08:35 |只看该作者
你是不是不小心把系统变量弄掉了? 系统提示找不到工作目录。

论坛徽章:
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
3 [报告]
发表于 2009-11-24 10:32 |只看该作者
看看你的启动和停止的脚本再说啊。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP