How to start the database manually?
Hi,
Recently I installed Oracle10g database in my laptop. I want to change the services from autostartup to manual. So that I can start the database whenver I want.
After very first installation, I tried to do this exercise. Later I was not able to restart my database.
Can anybody give me correct steps to do this exercise?
Thanks,
Viswa
I'm surprised no-one has responded to this. Anyway, below are a bunch of shortcuts I use to start and stop my Oracle 10g. Note, I have to start the Listener AND Database for things to work. Note: you will have to check Control Panel - Services to find the Oracle.... and OracleService.... names as your's will be different.
Start Listener:
%windir%\System32\net.exe start OracleOraDb10g_home1TNSListener
Start Database:
%windir%\System32\net.exe start OracleServiceORADB10G
Stop Listener:
%windir%\System32\net.exe stop OracleOraDb10g_home1TNSListener
Stop Database:
%windir%\System32\net.exe stop OracleServiceORADB10G
Hope this helps :)
Similar Messages
-
Oracle Upgrade interrupted inbetween, How to start the database?
Hi All,
Oracle upgrade is interrupted in between during the migration.
could you please provide me with the detail steps to start the database again with the 9i.
Thanks,
Anu.Where is "in the middle"? Using dbua? During filesystem copy? Without specifying where it broke the only thing one can suggest is to restore everything from before the upgrade (Oracle binaries and database).
Markus -
Hi,
i have installed oracle database 11gr1 in oel5(32 bit).How to start the database?
Solution neededDear user8818950 Muvendran!
Have you created a database yet? If yes then you could do the following steps to start it:
1.) Execute the oraenv script. It should be located in the /usr/local/bin directory
. oranev
ORACLE_SID = [ORCL] ? Please fill in your Oracle SID after the questionmark.
2.) Start your listener
lsnrctl start3.) Start SQL*Plus and connect as sysdba
sqlplus sys/password as sysdba4.) Type in startup to start your database
startupAfter that everything should be fine.
Yours sincerely
Florian W.
Edited by: Florian W. on 05.11.2009 13:54
P.S. If you don't know the name of your database (ORACLE_SID) than you may look into the file /etc/oratab. E. g,
ORCL:/u01/app/oracle/product/10.2.0:NThe first column shows your ORACLE_SID. If you want to start your database everytime your sever starts than you may change the N in the last column to Y.
Best Regards -
I am really new in Oracle and i dont know how to start the database (i only know that the Oracle is installed...) Please Help !
From the DOS prompt, perform the following:
svrmgrl
==once you get svrmgrl> prompt then type
connect internal
startup
== once you get database started message
exit
now your database is up and running.
if you have any basic question and need good examples as well as good explanation, then, search at, http://asktom.oracle.com site.
SJH
OCP DBA -
How to recover the database when some of the archive log file get deleted.
I am facing a problem with Oracle database, which is related to archivelogs.
Our development database is running in archivelog mode, but we don't have backups scheduled and have no recovery catalog.
When the database was in running condition, disk got full, so some archivelogs were deleted manually.
After this they restarted the DB, and now DB is not coming up. Errors are as follows:
SQL> startup
ORACLE instance started.
Total System Global Area 1444383504 bytes
Fixed Size 731920 bytes
Variable Size 486539264 bytes
Database Buffers 956301312 bytes
Redo Buffers 811008 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: '/export/home/oracle/dev/ADVFRW/ADVFRW.system'
SQL> recover datafile '/export/home/oracle/dev/ADVFRW/ADVFRW.system'
ORA-00283: recovery session canceled due to errors
ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
SQL> recover database using backup controlfile;
ORA-00279: change 215548705 generated at 09/02/2008 17:06:10 needed for thread
1
ORA-00289: suggestion :
/export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC
ORA-00280: change 215548705 for thread 1 is in sequence #1107
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
/export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC
ORA-00308: cannot open archived log
'/export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
CANCEL
Media recovery cancelled.
SQL>
1. How to recover the database and bring it online
Any help will be highly appreciated.
With Regards
Hemant Joshi
Edited by: hem_Kec on Sep 7, 2008 9:07 AMHi,
Archive log files are the copies of redolog files.As redo log files are circularly overwritten,oracle generates archive log file of the corresponding redo logfiles being overwritten.So if you have a backup that dates back to 10 am in the morning and if your database creashed at 3 pm,you cannot use the redo log files alone as they have incomplete information.To completely recover the database upto 3 pm,you need archive log files generated between 10 am to 3 pm. In your case since you are missing one archive log file,you cannot perform complete recovery and hence would suffer data loss. -
Starting the database in standalone installation.
hello all,
In my office server I cannot access oracle tables via SQL * plus unless I start the database via the server manager utility, ie, svrmgrl> startup etc.
However, in my stand alone home machine I have installed oracle 9i. The database, it seems is automatically started when the machine is booting. I have searched for the svrmgrl/svrmgr30/svrmgr80 utilities, but in vain.
In this scenario, how can i manually start and shutdown the database in my stand alone installation.
Can any body help me...?
thanks in advance
thomaskprakashHi,
which os and oracle version you are using ? i guess it's windows 2000 server anyway if my guess is right then start - setting - ctlpanel - adminstrative tools - service - open and right click and to the service choose properties and then choose manual in startup mode. you can also create a service for that ..
first delete the service for your db
oradim -delete -sid name of the service
now create the service with the same name
oradim -new -sid name of the service which you delte -startmode manual.
thanks
Alok. -
Error while starting the Database
Hi,
I am getting the following error while starting the Database instance.
ORA-03113: end-of-file on communication channel.
How to fix this issue? i tried some of the options mentioned in docs in metalink. But still i am not able to fix.
Anypointers on this is appreciated.
Thanks & Regards,
SrikanthCan you paste lines from alertlog file..
-
How to specify the database file path when create FDM application
Dear All,
How to specify the database file path (MSSQL) when create FDM application?
Right now, all data file are placed in the D:\ . I want to specify the database files (log and mdf file) in other place. How to do it?
Thanks.Where is the highS2.xml located on the disk? If you add it to your project you should set its Build Action to Content and its Copy To Output Directory to Always in Visual Studio:
Please remember to close your threads by marking helpful posts as answer once your issue has been solved and then start a new thread if you have a new question. -
How to recovery the database from a complete backup
I have a 10.2.0.3 database with archive log enabled.
I do a cold backup of database every Sunday night.
I shutdown the database, copy all the database files, control files and redo logs to a backup disk.
Then the database started and running again.
I am trying to test my backup and make sure I can recovery the database to the most current stage using the Sunday backup and the archive logs.
for example: use the backup from 4/01/2012, recover the database to today 4/04/2012 9:00am.
What's the steps of doing this?
I tried to copy all the Sunday backup files to the correct location, start the database, the database is started successfully. However, I don't know how to apply the logs from since the Sunday backup upto now.
Thanks a lot!hi,
rman is your friend to do backups, restores and recovers of database.
to do a full recover of database, for example to do a test on your current test database (no in crash):
rman time:
startup nomount;
restore controlfile;
alter database mount;
sql now
select archivelog_change#-1 from v$database;
then go back to rman and do the following :
RMAN> run{
2> set until scn xxxxxx;
3> restore database;
4> recover database;
5> alter database open resetlogs;
6> }
**where xxxxx is the result of your sql query
HTH
--edit:
forgot to told that You will need to set your ORACLE_HOME and ORACLE_SID env variables
Edited by: Me_101 on 04-abr-2012 8:41 -
How to start the Oracle 8i client in redhat 7.2?
I have installed properly oracle 81 client and server properly.
I wanna access anothe linux server. But I don't know how to
start the clent ?..And what are should be done to access the
remote oracle server?
Thanksapusumit wrote:
please provide me details steps of start/stop oracle 9i database . we have four nodes .So i would like to know the steps of shutting down database including all nodes & also starting up and any prerequisite?
Edited by: apusumit on Jun 10, 2011 5:32 AMrefer the link:-
http://www.puschitz.com/InstallingOracle9iRAC.shtml#StartingAndStoppingOracle9iClusterManager
also,
please post the question in
Forum Home » Grid Computing » Real Application Clusters
Good Luck. -
How to start the server. Urgent.
I mistakenly deleted the icon from the Start menu, to start the SAP IDES server in my laptop. How to start the server from any other path.
I installed it in E drive (2003 server). Database path is F drive.Hi,
Check the following path
E:\Program Files\SAP\FrontEnd\SapGui
Here the actual Logon Pad file would be stored with name "SAPLOGON" or "SAPLGPAD".
Create another shortcut for above file on your desktop.
Best regards,
Prashant -
Creating the database manually
Hi,
I have installed oracle database 10g in OEL5
Now i need to create the database manually.
How to create it,pls provide me some helpAsif and Pavan are bad guys na? One has given doc link and another is saying for search in google.... Oaf now you have to read the dos/google and then create database command.... Really its very hard and time consuming task to learn oracle right? Can'nt they give you a direct copy paste steps, so that you may learn create database without going into docs?
@Pavan and Asif,
Just kidding with OP.... :) -
How to start the jms service?
I have installed the oracle9ias on linux 7.2. I start the EM web manager, and start other component in the component list. and I found that the 9127 port not open.
how can i start the jms service. the rmi port is already open.
thanks in advance.Hello Xiaofeng,
The 9127 port is only used by the standalone OC4J J2EE Container (i.e. when you run OC4J outside of Oracle9iAS). When you run OC4J as part of Oracle9iAS, the JMS port is allocated by OPMN (Oracle Process Manager and Notification Server) dynamically that's why you don't see anything on 9127, if you go to the EM Web Manager, click on Server Properties of your OC4J instance, you should be able to see a configuration parameter that specifies the range of JMS port, OPMN will use a port number in the range for the JMS server. When you start Oracle9iAS (with embedded OC4J), the JMS server will start automatically.
Another thing to point out is that the JMS service in OC4J is a light-weight, memory based messaging server and it doesn't support persistence. If you want to deploy production JMS application, please use OracleJMS instead, which is based on Oracle Database Advanced Queuing, in that case, you start the JMS service by starting the database.
Regards,
Chen. -
Automatically start the database
I could not automatically start the database recently. My OS is windows XP. I set all the OracleServiceSID to be automatic in the windows service and the ora_sid_autostart to be true in the registry. It automatically started before. I have not changed anything except that the network encryption was added recently. Can anybody give me a hint? Thank you very much for your help.
XiaoyunThank you for your reply. I can still manually start the database. The only thing uncommon from the alert log is
Thu Jul 10 16:36:58 2003
Beginning crash recovery of 1 threads
Thu Jul 10 16:36:58 2003
Started first pass scan
Thu Jul 10 16:36:58 2003
Completed first pass scan
3685 redo blocks read, 65 data blocks need recovery
Thu Jul 10 16:36:58 2003
Started recovery at
Thread 1: logseq 302, block 145778, scn 0.0
Recovery of Online Redo Log: Thread 1 Group 1 Seq 302 Reading mem 0
Mem# 0 errs 0: C:\ORACLE\ORADATA\SID\REDO01.LOG
Thu Jul 10 16:36:59 2003
Ended recovery at
Thread 1: logseq 302, block 149463, scn 0.75826787
65 data blocks read, 65 data blocks written, 3685 redo blocks read
Crash recovery completed successfully
Thu Jul 10 16:37:00 2003
Do I have to do the recovery? Thank you for your help. -
Do I need start the database before installing Oracle 9iAS portal?
I found the Oracle white paper which talks about installing
Oracle8i EE and Oracle 9iAS portal on windows 2000. Based this
document, after Oracle 8i installaion but before installing
Oracle 8.1.7.1.1 path, all the Oracle database related services
startup type have been changed to 'Manual'.
Based on my understanding, there are some objects will be
created in this database during the installation of 9iAS portal
repository. But this oracle white paper didn't say that I need
have the database ruuning during the 9iAS installation. Do I
need to start the database before installing 9iAS?
Thankshi,
Even i am new to oracle application server and had the same doubt that you have.
When you install Application Server there would be two tiers installed, application tier and middle tier, these tiers can be running from the same machine or different machines.
These tiers will have a meta data repository to store application server related data, this database will be installed along with application server.
It is upto you to install "oracle database 10gR2 " before or after installaion of application server, this will be an independent database which will have its own home, but after this installation you will have three homes, ex: infra_home,mid_home and 10gR2_home.
by default oracle_home is set to the last installation that happens so if you install the database 10gR2 after installing application server it will point to 10gR2_home, but if you install 10gR2 before and application server later then the oracle home will be infra_home(if both the middle tier and infratier are on the same machine)
you can always change the oracle home by using set ORACLE_HOME=path/to/oracle/home( in windows)
or export ORACLE_HOME=path/to/oracle/home (in unix)
hope this helps....
regards
Maybe you are looking for
-
JInternalFrame not opening in JAR file, but works when not in JAR
I have a folder that contains multiple .class files. I make all the class files into one jar file with this command: jar cmf mainClass.txt myapplication.jar *.class The mainClass.txt contains the following: Main-Class: myapplication class-path: myapp
-
How to photoshop migrate license? Guideline does´t work
I have sold my Photoshop Extended 3 CS. The Guideline on the Transfer of License Form does´t work since the steps shown on the form do not correspond to the website. How would I have to procede in order to mange the license transfer?
-
How can i download the Gotham font family fort AI?
How can i download the Gotham font family fort AI? I can not find Gotham in the Font Styles.
-
Why does MMS work only after turning the iPhone off and on for iOS6?
I got the new iPhone 5. When sending/recieving pictures i have to turn the phone off and then on. For sending, it works for about 5 minutes and then i can't send anymore. I tried turning wifi off and leaving data on, turning LTE and wifi off with dat
-
Rollback fault thrown while invoking a Proxy Service
Hi, I am getting strange problem while invoking a proxy service. the operation on the service takes a list of customer numbers in the input. When the number of customer numbers is 10-20 it works fine but when I increase the customer numbers in the li