Beetal Oracle DB Startup: Difference between revisions
Appearance
Created page with " Login into the System where oracle is Installed ### su - oracle To Start Oracle server Now, use the lsnrctl command to start service (located at /home/oracle/oracle/produ..." |
No edit summary |
||
| Line 3: | Line 3: | ||
Login into the System where oracle is Installed | Login into the System where oracle is Installed | ||
su - oracle | |||
To Start Oracle server | To Start Oracle server | ||
Now, use the lsnrctl command to start service (located at /home/oracle/oracle/product/10.2.0/db_1/bin directory): | Now, use the lsnrctl command to start service (located at /home/oracle/oracle/product/10.2.0/db_1/bin directory): | ||
lsnrctl start | |||
You can replace "start" with "status" to check the current status | You can replace "start" with "status" to check the current status | ||
| Line 14: | Line 14: | ||
Next start database | Next start database | ||
dbstart | |||
If above is not working try to login as sysdba using below command | If above is not working try to login as sysdba using below command | ||
sqlplus sys as sysdba | |||
(give the password of sysdba when prompt) | (give the password of sysdba when prompt) | ||
| Line 30: | Line 30: | ||
To stop Oracle service type following two commands: | To stop Oracle service type following two commands: | ||
lsnrctl stop | |||
dbshut | |||
OR you can login as sysdba user: | OR you can login as sysdba user: | ||
sqlplus sys as sysdba | |||
At SQL> type shutdown command: | At SQL> type shutdown command: | ||
SQL> shutdown | |||
| Line 46: | Line 46: | ||
Cause : Oracle server down | Cause : Oracle server down | ||
Revision as of 04:51, 23 November 2017
Login into the System where oracle is Installed
su - oracle
To Start Oracle server
Now, use the lsnrctl command to start service (located at /home/oracle/oracle/product/10.2.0/db_1/bin directory):
lsnrctl start
You can replace "start" with "status" to check the current status
Next start database
dbstart
If above is not working try to login as sysdba using below command
sqlplus sys as sysdba
(give the password of sysdba when prompt)
At SQL> type startup command:
SQL> startup