You are on page 1of 3

Restarting Database 10.51.51.

11

LOG ON 10.51.51.10 AND STOP TSM

1. Login as Oracle

2. Stop Listener by typing the command below;

3. lsnrctl stop

4. the message below will appear

LSNRCTL for IBM/AIX RISC System/6000: Version 11.2.0.4.0 - Production


on 22-SEP-
2017 11:04:32

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

Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=TestServer)(PORT=1521)))
The command completed successfully

5. Next stop Enterprise Manager by typing the command below

6. emctl stop dbconsole

7. the message below will appear

Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0


Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
https://T24Database:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 11g Database Control ... Stopped.

8. connect to the database

9. sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Wed Feb 17 20:04:22 2016


Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to

Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit


Production With the Partitioning, OLAP, Data Mining and Real Application
Testing options

10. Type shutdown immediate on the SQL prompt as below (this may take a
while observe until it gives the message Oracle instance shutdown)

SQL> shutdown immediate


Database closed.
Database dismounted.
ORACLE instance shut down.
SQL > type exit
Go to No 21 if you are also rebooting the Operating System

11. To start the Database follow the following steps (login as oracle)
12. Start listener which was stopped in step 1
13. lsnrctl start
14. the following message will be displayed

Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.51.51.11)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for IBM/AIX RISC System/6000: Version
11.2.0.4.0 - Production
Start Date 17-FEB-2016 20:09:01
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP ON
Listener Parameter File
/oracle_home/app/oracle/T24/network/admin/listener.ora
Listener Log File
/oracle_home/app/oracle/diag/tnslsnr/T24Database/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.51.51.11)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
The listener supports no services

The command completed successfully

15. Start the Database connect using the following


16. sqlplus /as sysdba
17. on SQL prompt type startup the following message will be displayed

SQL> startup

ORACLE instance started.


Total System Global Area 3.7413E+10 bytes
Fixed Size 2254176 bytes
Variable Size 2.1609E+10 bytes
Database Buffers 1.5703E+10 bytes
Redo Buffers 98394112 bytes
Database mounted.

Ensure that you get the message Database mounted else report the error.
18. Start Enterprise Manager
19. emctl start dbconsole

20. the following message will be displayed

Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0


Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
https://T24Database:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ..... started.
------------------------------------------------------------------

21. Rebooting the operating system


22. Change user to root
23. On the command prompt type reboot
24. #reboot
25. Note once successful you will lose connection open another session
26. Follow step 11 to 20 to start the Database
RESTART JBOSS

You might also like