Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: How to startup oracle9i without using windows services

Re: How to startup oracle9i without using windows services

From: Vlad Sadilovskiy <vlovsky_at_gmail.com>
Date: Fri, 8 Jul 2005 11:57:11 -0400
Message-ID: <df9f25d5050708085773aa4f4e@mail.gmail.com>


Hi,

Actually you can run it without the starting the service. If you can peek inside the service you'd see what command line it uses to start Oracle. The command is:

%ORACLE_%HOME%\bin\ORACLE.EXE <ORACLE_SID>

Wait for "Hit any key to exit server:"

If it finds corresponding registry key and you have autostart configured, then it'll bring your DB up. Otherwise, you'll need to do following from the other CMD window.

set ORACLE_SID=<ORACLE_SID>
sqlplus "/ as sysdba"
startup
exit

On 7/8/05, Mercadante, Thomas F (LABOR)
<Thomas.Mercadante_at_labor.state.ny.us> wrote:
> I don't think this will work. Sqlplus will not work without the services running.
>
> GBA, another way to do this:
>
> When the database is up, do the following:
>
> Net start | more
>
> Look for the name of the Oracle service that is running. It will be something like OracleServiceSID.
>
> From the Dos prompt, you can:
>
> Net start OracleServiceSID
>
> You can also
>
> Net stop OracleServiceSID.
>
> Hope this helps.
>
> Tom
>
>
> -----Original Message-----
> From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Vajrala, Madhusudana R.
> Sent: Friday, July 08, 2005 10:43 AM
> To: 'GBA-DBA '; 'oracle-l-bounce_at_freelists.org '; 'oracle-l_at_freelists.org '
> Subject: RE: How to startup oracle9i without using windows services
>
> Hi,
>
> 1. Set ORACLE_SID and ORACLE_HOME on command prompt
> 2. sqlplus
> 3. startup pfile='/path/to/oracle/prameter/file.ora'
>
>
> Its been a while i worked on windows database, but i guess this should allow
> you to start the database.
>
> PS: Try "tnsping <tns-alias-to-your-oraclesid>" to see if your TNS setup is fine.
>
> Regards,
> Madhu
>
>
> -----Original Message-----
> From: oracle-l-bounce_at_freelists.org
> To: oracle-l_at_freelists.org
> Sent: 7/7/2005 11:56 PM
> Subject: How to startup oracle9i without using windows services
>
> Hi list, i would like to know how you guys do to startup oracle9i in
> winxp without using the windows services. I'm trying with a cmd window
> using:
>
> sqlplus / nolog -- That's ok
>
> connect / as sysdba -- Getting this error
> ERROR:
> ORA-12560: TNS:protocol adapter error
>
> I've noticed that once the db is running (started with services) i can
> connect īn a cmd window using the above command.
>
> Any clues??
>
> Regards
> GBA
> --
> http://www.freelists.org/webpage/oracle-l
> --
> http://www.freelists.org/webpage/oracle-l
>

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Jul 08 2005 - 10:59:11 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US