免费注册 查看新帖 |

Chinaunix

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

Oracle Application Server 10服务器重起后的操作 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-03-10 17:53 |只看该作者 |倒序浏览

设置环境变量:
[oracle@supxmen.cublog.cn root]$ cd /home/oracle/infra1012/bin/
[oracle@supxmen.cublog.cn bin]$ pwd
/home/oracle/infra1012/bin
[oracle@supxmen.cublog.cn bin]$ export ORACLE_HOME=/home/oracle/infra1012
[oracle@supxmen.cublog.cn bin]$ export ORACLE_SID=supxmen
[oracle@supxmen.cublog.cn bin]$ echo $ORACLE_HOME
/home/oracle/infra1012
[oracle@supxmen.cublog.cn bin]$ echo $ORACLE_SID
supxmen

启动数据库链接:
[oracle@supxmen.cublog.cn bin]$ ./sqlplus /nolog

SQL*Plus: Release 10.1.0.4.2 - Production on Wed Feb 8 12:52:51 2006

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

SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup
ORACLE instance started.

Total System Global Area  281018368 bytes
Fixed Size                   778968 bytes
Variable Size             229645608 bytes
Database Buffers           50331648 bytes
Redo Buffers                 262144 bytes
Database mounted.
Database opened.
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 - Production
With the Partitioning, OLAP and Data Mining options
[oracle@supxmen.cublog.cn bin]$


启动数据库监听:
[oracle@supxmen.cublog.cn bin]$
[oracle@supxmen.cublog.cn bin]$ ./lnsrctl start
bash: ./lnsrctl: 没有那个文件或目录
[oracle@supxmen.cublog.cn bin]$ ./lsnrctl start

LSNRCTL for Linux: Version 10.1.0.4.2 - Production on 08-FEB-2006 12:56:28

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

Starting /home/oracle/infra1012/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 10.1.0.4.2 - Production
System parameter file is /home/oracle/infra1012/network/admin/listener.ora
Log messages written to /home/oracle/infra1012/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hirisun-linux)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hirisun-linux)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 10.1.0.4.2 - Production
Start Date                08-FEB-2006 12:56:28
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /home/oracle/infra1012/network/admin/listener.ora
Listener Log File         /home/oracle/infra1012/network/log/listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hirisun-linux)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@supxmen.cublog.cn bin]$

启动基础架构服务控制台:(用一样的方法启动Portal服务控制台)
[oracle@supxmen.cublog.cn bin]$ pwd
/home/oracle/infra1012/bin
[oracle@supxmen.cublog.cn bin]$ ./emctl start iasconsole
TZ set to PRC
Oracle Enterprise Manager 10g Application Server Control Release 10.1.2.0.2  
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
http://hirisun-linux:1156/emd/console/aboutApplication
Starting Oracle Enterprise Manager 10g Application Server Control ....... started successfully.
[oracle@supxmen.cublog.cn bin]$

启动基础架构服务:(用一样的方法启动Portal服务)
[oracle@supxmen.cublog.cn opmn]$ cd bin
[oracle@supxmen.cublog.cn bin]$ pwd
/home/oracle/infra1012/opmn/bin
[oracle@supxmen.cublog.cn bin]$ ./opmnctl startall
opmnctl: starting opmn and all managed processes...
[oracle@supxmen.cublog.cn bin]$ ./opmnctl status

Processes in Instance: infra1012.hirisun-linux
-------------------+--------------------+---------+---------
ias-component      | process-type       |     pid | status  
-------------------+--------------------+---------+---------
DSA                | DSA                |     N/A | Down   
LogLoader          | logloaderd         |     N/A | Down   
dcm-daemon         | dcm-daemon         |    3599 | Alive   
OC4J               | oca                |    3536 | Alive   
OC4J               | OC4J_SECURITY      |    3538 | Alive   
HTTP_Server        | HTTP_Server        |    3355 | Alive   
OID                | OID                |    3380 | Alive   

[oracle@supxmen.cublog.cn bin]$


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/12347/showart_83479.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP