重启EBS应用服务器和数据库

1) 先停掉应用服务

[appltest@ol6-ap scripts]$ cd $ADMIN_SCRIPTS_HOME

[appltest@ol6-ap scripts]$ adstpall.sh

2)停数据库

FTP到数据库服务器

[oratest@ol6-db ~]$ sqlplus / as sysdba

SQL> shutdown immediate;  

暴力方法是:shutdown abort;

Database closed.

Database dismounted.

ORACLE instance shut down.

3)停掉以后,稍等1分钟,再重启数据库

SQL> startup

ORACLE instance started.

Total System Global Area 4275781632 bytes

Fixed Size                  2260088 bytes

Variable Size             1090519944 bytes

Database Buffers         3170893824 bytes

Redo Buffers               12107776 bytes

Database mounted.

Database opened.

4)数据库启动以后,检查监听是否起起来:

[oratest@ol6-db ~]$ lsnrctl start TEST

LSNRCTL for Linux: Version 11.2 .0.4.0 - Production on 09-DEC -2015 11:35 :56

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

TNS-01106: Listener using listener name TEST has already been started

5)最后再重启应用服务

[appltest@ol6-ap scripts]$ adstrtal.sh

操作完后,去界面检查并发管理器是否起来。如果并发没起来,FTP到应用服务器

[appltest@ol6-ap scripts]$ cd $ADMIN_SCRIPTS_HOME

[appltest@ol6-ap scripts]$ adcmctl.sh stop

[appltest@ol6-ap scripts]$ adcmctl.sh start

然后去界面刷新并发管理器。此时需要多等一会。

猜你喜欢

转载自ronaldoly.iteye.com/blog/2272396