How do I start Oracle service in UNIX?

by nixcraft on July 29, 2006 · 9 comments

Q. I am using Solaris UNIX. How can I start Oracle service / server in UNIX from a shell prompt?

A. In order to start Oracle service in UNIX you need to login as a Oracle user.

Use su - command to login as oracle user.

Start Oracle server in UNIX

Type the following command, enter:
$ su - oracle
Now use lsnrctl command to start service (usually located at /home/oracle/oracle/product/10.2.0/db_1/bin directory):
$ lsnrctl start
Next start database:
$ dbstart

Stop Oracle service in UNIX

To stop Oracle servuice type following two commands:
$ lsnrctl stop
$ dbshut

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

{ 9 comments… read them below or add one }

1 Carros Brasília June 2, 2008

I’m traying to start oracle but it is consuming 90% of a quad core server.
Any tip to solve this problem?

Reply

2 Markus June 5, 2008

I ran these commands in Fedora 9 (Oracle 11g), but it’s saying:

ORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net Listener
Usage: /u01/app/oracle/product/11.1.0/db_1/bin/dbstart ORACLE_HOME

Reply

3 shrish awasthi April 5, 2009

hi
i am a system eng. and i missing some script so plz let me know i have a linur server and 10g 0racle databasse and its for flight information display system so i add a new display system and configured it after that i used a commend cd /solids/Disckonmodule/UPT_TFT then enter
after that i update the that one tft who is new one
#./TFTupd.sh PDD011 whatever name but display not come and befour it i updated same type display

so plz help me
thanks and waiting fo rrespons

Reply

4 Mohammed Arif September 16, 2009

su – oracle

It is saying su-oracle not found. Please help in this.

Reply

5 Mohammed Arif September 16, 2009

# su – oracle

I enter the above su – oracle in # prompt. then it’s giving message like this

3004-500 User “oracle” does not exist.

Reply

6 Anonymous May 12, 2010

means your id your id in not in that group or may not in sudo fentry.

Reply

7 wmohs May 12, 2010

hi
this means your id is not under oracle group or may be not in sudo entry.

Reply

8 Mohammed Arif September 17, 2009

Thanks for this site. I got some help from this site. Last time I got error, I enter su – oracle.
Later I found the oracle installed oracle8 directory. su – oracle8 it success. Working fine.
Thanks.

Reply

9 rakesh January 6, 2011

su -oracle
Here oracle is a user.
you need to create a oracle user first,then try the above command,it works

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 15 + 6 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: