Unix Technical Forum

how to restart oracle 10g on linux

This is a discussion on how to restart oracle 10g on linux within the Oracle Database forums, part of the Database Server Software category; --> hello everyone, I'm new to linux as well as oracle 10g. Yesterday I installed 10g on my virtual machine. ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2008, 04:49 AM
ms.parul@gmail.com
 
Posts: n/a
Default how to restart oracle 10g on linux

hello everyone,

I'm new to linux as well as oracle 10g. Yesterday I installed 10g on
my virtual machine. Everything was working fine but when I restarted
my machine, I dont know how to start the database now. Can anybody
help me in this regard? Thank you so much.

Regards
Parul

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-26-2008, 04:49 AM
joel garry
 
Posts: n/a
Default Re: how to restart oracle 10g on linux

On Jan 30, 10:46 am, ms.pa...@gmail.com wrote:
> hello everyone,
>
> I'm new to linux as well as oracle 10g. Yesterday I installed 10g on
> my virtual machine. Everything was working fine but when I restarted
> my machine, I dont know how to start the database now. Can anybody
> help me in this regard? Thank you so much.
>
> Regards
> Parul


See metalink Note:222813.1 for some ideas on how to automate oracle
startup on linux. Some people don't like to automate the startup.

For simply starting up Oracle, log in as the oracle owner and type
in:

sqlplus "/ as sysdba"
startup
exit

lsnrctl startup

Poke around on oracle.com for Oracle By Example, and check
the docs for 2-Day DBA.

Also see http://www.dbaoracle.net/readme-cdos.htm

jg
--
@home.com is bogus.
http://www.dba-oracle.com/images/mot...leadership.jpg


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-26-2008, 04:49 AM
ms.parul@gmail.com
 
Posts: n/a
Default Re: how to restart oracle 10g on linux

hi thank you so much for your response but unfortunately it says
"bash : sqlplus : Command not found"

In windows, we used to do it using services/Administrative tools . So
in linux do we have such kind of utility?

Thank you

Regards
Parul

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-26-2008, 04:49 AM
joel garry
 
Posts: n/a
Default Re: how to restart oracle 10g on linux

On Jan 30, 12:17 pm, ms.pa...@gmail.com wrote:
> hi thank you so much for your response but unfortunately it says
> "bash : sqlplus : Command not found"
>
> In windows, we used to do it using services/Administrative tools . So
> in linux do we have such kind of utility?
>


Maybe, but for the most part I only know command lines.

In bash, the shell searches your path for what you tell it to
execute. If the command is not found, that means something
is missing from your path.

Look for a file called oraenv and execute it (might be in /usr/local/
bin,
I don't have a linux around to check). Basically, what you
need to do is set the environment variables ORACLE_SID
and ORACLE_HOME, and add the place that has the
executables to your path, probably $ORACLE_HOME/bin.

You may want to add the setups for these in your .profile or
/etc/profile or whatever your particular shell uses. If you don't
remember what they are, search for the exact file name oracle
(that's the executable, not a directory: find / -name "oracle" -type
f),
and that will be in $ORACLE_HOME/bin. You may see things
like spfileORCL.ora in the $ORACLE_HOME/dbs directory,
which would clue you in that ORCL is your ORACLE_SID.

Be sure and always post your exact version of Oracle and your
operating system/platform (and other relevant things like the
version of which virtual machine).

You might also find http://www.dizwell.com/prod/node/3 helpful.

jg
--
@home.com is bogus.
select fz_reference from albums
intersect
select fz_reference from mst3k
http://home.epix.net/~eichler/mst3k/fzmst3k.htm

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-26-2008, 04:51 AM
NetComrade
 
Posts: n/a
Default Re: how to restart oracle 10g on linux

On 30 Jan 2007 12:17:29 -0800, ms.parul@gmail.com wrote:

>hi thank you so much for your response but unfortunately it says
>"bash : sqlplus : Command not found"
>
>In windows, we used to do it using services/Administrative tools . So
>in linux do we have such kind of utility?
>
>Thank you
>

RTFM
or at least google your (very common) error(s)
........
We run Oracle 9iR2,10gR1/2 on RH4/RH3 and Solaris 10 (Sparc)
remove NSPAM to email
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-26-2008, 04:51 AM
gazzag
 
Posts: n/a
Default Re: how to restart oracle 10g on linux

On 30 Jan, 20:17, ms.pa...@gmail.com wrote:
> hi thank you so much for your response but unfortunately it says
> "bash : sqlplus : Command not found"
>
> In windows, we used to do it using services/Administrative tools . So
> in linux do we have such kind of utility?
>
> Thank you
>
> Regards
> Parul


When logged in as the Oracle software owner ("oracle" presumably),
type:

$ . oraenv

And respond to the ORACLE_SID prompt. If the SID exists in /etc/
oratab, your ORACLE_HOME and PATH environment variables will then be
set accordingly. Then, simply:

$ sqlplus / as sysdba

SQL> startup;

HTH

-g

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:52 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com