[Solved]Starting up the database

Hi Gurus,
I have installed Oracle 10g Release2 in my Windows XP machine.
I created 2 databases A and B.
Now I would like to start the database manually.
I set the ORACLE_SID=A. If I want to use the OS authentication I can go with
sqlplus /nolog
SQL> connect / as sysdba.
Now I get connected to an ideal instance and it goes good from there. But if I want to use the encrypted File autherntication (connecting from remote machine) what should I do while connecting?
Thanks in advance.

You need to statically configure your database with the listener. See this example :
[oracle@linux5_10 admin]$ cat listener.ora
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
SID_LIST_LISTENER =
  (SID_LIST =
(SID_DESC =
(SID_NAME = db102)
(ORACLE_HOME = /home/oracle/base/OraHome10)    )
[oracle@linux5_10 admin]$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 16-JUL-2008 17:14:00
Copyright (c) 1991, 2006, Oracle.  All rights reserved.
Starting /home/oracle/base/OraHome10/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.3.0 - Production
System parameter file is /home/oracle/base/OraHome10/network/admin/listener.ora
Log messages written to /home/oracle/base/OraHome10/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 10.2.0.3.0 - Production
Start Date                16-JUL-2008 17:14:01
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /home/oracle/base/OraHome10/network/admin/listener.ora
Listener Log File         /home/oracle/base/OraHome10/network/log/listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
Services Summary...
Service "db102" has 1 instance(s).
  Instance "db102", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@linux5_10 admin]$
C:\>sqlplus sys/manager@db102 as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jul 16 17:14:31 2008
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area  239075328 bytes
Fixed Size                  1261104 bytes
Variable Size             201327056 bytes
Database Buffers           33554432 bytes
Redo Buffers                2932736 bytes
Database mounted.
Database opened.
SQL>

Similar Messages

  • Starting up the database( Solaris 9 Oracle 9i)

    Hi Gurus,
    I've got a database that has 2 instances running on it. I had shutdown the database for some maintancance but now the problem is that after I startup I then checked this:
    ps -ef |grep pmon it returns only 1
    ora902 24138 24116 0 07:51:50 pts/2 0:00 grep pmon
    ora902 1679 1 0 Dec 08 ? 0:00 ora_pmon_pll01
    whereas it should return 2
    ora902 24138 24116 0 07:51:50 pts/2 0:00 grep pmon
    ora902 1679 1 0 Dec 08 ? 0:00 ora_pmon_pll01
    ora902 2444 1 0 Dec 08 ? 0:00 ora_pmon_DEATDB01
    How do I start this one:
    ora902 2444 1 0 Dec 08 ? 0:00 ora_pmon_DEATDB01
    Thank you.

    The second database apparently didn't start.
    As you don't disclose your startup procedures, only generic advice is possible.
    If you don't use the Oracle provided dbstart (which you should) start up the database manually.
    If you do use dbstart, check the oratab to see whether the database starts up automatically.
    If it should start up automatically, check the alert log why it didn't start.
    Newdba's should read documentation and do not jump to this forum straightaway.
    Learning Oracle should be done by using the documentation, instead of asking volunteers to abstract it.
    Sybrnad Bakker
    Senior Oracle DBA

  • Takes more time to start & shutdown the database

    Hi All,
    I have created a database in oracle9i by following manual steps. Every thing was created successfully and am able to start the database and shutdown also.
    but the problem is while giving the startup command it takes more time to start the database and the same during the shutdown. So anyone help me..
    the follwing are the pfile specifications:
    db_name=practice
    instance_name=practice
    control_files= 'E:\practice\control\control1.ctl',
              'D:\practice\control\control2.ctl'
    db_block_size=2048
    db_cache_size=20m
    shared_pool_size=20m
    background_dump_dest='E:\practice\bdump'
    user_dump_dest='E:\practice\udump'
    Thanks in Advance

    Every thing was created successfully and am able to start the database and > shutdown also.Please restate the above.
    problem is while giving the startup command it takes more time to start the >database and the same during the shutdownHow have you compared? Could it be O/S resources, installation of additional software; you have not mentioned the O/S and complete version of your database.
    You can review the following although I am bit unclear;
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96533/instreco.htm#440322
    Adith

  • How can i solve to secure the database Control ?

    Hello Good Morning !
    I have applied 10.2.0.4 patchset on 10.2.0.1 binary , finally i upgrade my database by DBUA
    When checking upgradation result screen - which was showed by DBUA. (i am confused what i blue marked below)
    i am  pasting following below. please have a look blue marked.
    Some information about the step is available.
    Step Execution Information:
    Post UpgradeEarlier persistent initialization parameter file (spfile) has been renamed to: /u01/app/oracle/product/10.2.0/db_1/dbs/spfileorcltest.ora.bak.
    A persistent initialization parameter file (spfile) has been created at the following location: /u01/app/oracle/product/10.2.0/db_1/dbs/spfileorcltest.ora.
    Enterprise Manager Configuration
    Oracle Enterprise Manager configuration is upgraded.
    Enterprise manager configuration succeeded with the following warning -
    Error securing Database Control, Database Control has been brought up in non-secure mode.
    To secure the Database Control execute the following command(s):
    1) Set the environment variable ORACLE_SID to orcltest
    2) /u01/app/oracle/product/10.2.0/db_1/bin/emctl stop dbconsole
    3) /u01/app/oracle/product/10.2.0/db_1/bin/emctl config emkey -repos -sysman_pwd < Password for SYSMAN user >
    4) /u01/app/oracle/product/10.2.0/db_1/bin/emctl secure dbconsole -sysman_pwd < Password for SYSMAN user >
    5) /u01/app/oracle/product/10.2.0/db_1/bin/emctl start dbconsole
    To secure Em Key, run /u01/app/oracle/product/10.2.0/db_1/bin/emctl config emkey -remove_from_repos -sysman_pwd < Password for SYSMAN user >
    Go to top Initialization Parameter changes
    database upgrade has been completed successfully, and the database is ready to use.
    The following document describes important behavioral changes from previous database releases to the Oracle Database 10g release:
    /u01/app/oracle/product/10.2.0/db_1/assistants/dbua/doc/help/DefaultBehaviorChangesin10g.html
    select comp_name , version, status from dba_registry;
    Initialization Parameter changes
    The following changes have been made in the initialization parameters:Parameters Updated:
    Name                                Old Value                             New Value
    db_recovery_file_dest              /u01/app/oracle/flash_recovery_area    /u01/app/oracle/flash_recovery_area
    db_recovery_file_dest_size        2147483648                              2147483648
    Thanks in advance .

    This means the the URL for database control will use the http protocol. To convert to the https protocol (using the included SSL certificate), use the steps documented above. Before doing so, pl review MOS Doc 1222603.1
    HTH
    Srini

  • Now that I've installed Yosemite, my computer keeps telling me that iPhoto needs to be upgraded.  When it starts "upgrading the database", it gets almost to the end of the progress bar, then sits and spins.  It  won't finish.

    My computer is an iMac that was made in late 2009, and was purchased by me in 2010.  It has a 3.06 GHz Intel Core 2 Duo processor.  I have more than 800 GB of storage available.  Last week I installed the Yosemite OS.  I'm having trouble with the upgrading of iPhoto.  When it says it's upgrading the database, it never finishes.  I've started the process a few times, and the progress line always gets to the same place when it sits and spins for hours at a time without any more progress.  I thought about putting some of my 10,000 + pictures on discs to see if that would help, but I can't open iPhoto to get at them.  Would that help, anyway?  My son thinks this computer is too old to accept all updates.  The hard drive was replaced 2 years ago.
    Thanks for any help.

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • Starting up the database

    Hi, I hav installed oracle database 10g in oel5.I want to know how to start the database?
    pls help me,

    user8818950 wrote:
    I didn't edit any export as you have said,but i went with the following,
    oracle@localhost ~]$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Oct 20 16:40:31 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options At this point, we see you are connected to a running instance.
    >
    SQL> connect system
    Enter password:
    ERROR:
    ORA-01017: invalid username/password; logon denied
    So you were connected to a running instance (as sysdba), now you try to reconnect as SYSTEM and don't know the password.
    >
    Warning: You are no longer connected to ORACLE.
    SQL> connect scott
    Enter password:
    ERROR:
    ORA-28000: the account is locked
    And now you try to connect as SCOTT but the account is locked.
    and did i need any thing to change in my .bash_profile
    # Oracle Settings
    TMP=/tmp; export TMP
    TMPDIR=$TMP; export TMPDIR
    ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1 export ORACLE_HOME
    ORACLE_SID=TSH1; export ORACLE_SID
    ORACLE_TERM=xterm; export ORACLE_TERM
    PATH=/usr/sbin:$PATH; export PATH
    PATH=$ORACLE_HOME/bin:$PATH; export PATH
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
    export CLASSPATH
    if [ $USER = "oracle" ] ; then
    if [ $SHELL = "/bin/ksh" ] ; then
    ulimit -p 16384
    ulimit -n 65536
    else
    ulimit -u 16384 -n 65536
    fi
    fi
    pls sugest me the solution to open with scott and system.SCOTT and SYSTEM do not "open" or "start" the database/instance. Besides, it is already started and open. You are not haveing a problem opening the database, you are having a problem connecting with certain accounts.
    Solution: for SYSTEM, change the password to something you can remember; for SCOTT, unlock the account.
    Edited by: EdStevens on Oct 20, 2009 10:03 AM

  • Don't start up the Database

    I have a personal Oracle Database for practice the Developer (Forms and Reports) and when I start the computer the database start, but now it doesn't wants start. When I try to start, it give that error ORA-01033. I don't know what I do. I can't start sql anything. Somebody help me.
    Joa

    There are three options
    1)Use command prompt and sqlplus
    c:> sqlplus /nolog
    SQL> connect "sys/<password> as sysdba"
    SQL> shutdown abort
    SQL> startup
    The password used while creating the password file can be used here.
    2) Using service manager remove all oracle services. Using task manager click on "end task" for oracle.exe process.
    3) Restart the windows machine.
    Message was edited by:
    motech

  • Aperture crash when start and the database is damaged

    Hello
    I have been playing around with a trial of Aperture
    My mac crashed when i was importing a big library -my fault, because the hot-
    After that Aperture has not been able to start, until i have deleted the database -moved to a different location-
    Is this the normal behaviour when the database is broken?
    Would be nice if Aperture was able to "keep alive" even when the photo database library was broken
    Something like "Sorry it seems the library has a problem, do you want to create a new one or choose one that actually exists?"
    Bruno

    Bruno
    have a read of the articles at these two links
    Aperture 3: Troubleshooting Basics
    http://support.apple.com/kb/HT3805
    Aperture 3: Frequently Asked Questions (FAQ)
    http://support.apple.com/kb/HT4007
    See if these help.
    Tony

  • Problem in starting up the database

    Hi,
    I have fixed the sysdate then changed it to fixed=none..and after that when we get down the database for backup it not getting up...we r using th pfile only and when i am trying wth startup pfile option it is showing like
    LRM-00101 - unknown parameter name 'oracle home'
    LRM-00101 - unknown parameter name 'context file'
    LRM-00116 - syntex error at '>' follwoing 'Hp UX'
    ORA-01078-failure in processing system parameters.
    Kindly guide me the solution
    Thanks.

    Your spfile seems to be corrupted. You didn't use an editor (eg "vi") to edit it did you ? The spfile is a binary file and should be manipulated ONLY through ALTER SYSTEM commands.
    Do you have a backup of it ? Or a pfile backup ?

  • Issue with starting up the database

    Hi,
    I got restored the database files ,control files and logfiles from last backup of same instance.
    Now when i connect with sysdba with connect sys/password as sysdba
    then startup nomount
    it is showing insufficient privileges.
    Kindly suggest on this
    Thanks

    user644122 wrote:
    Hi,
    I got restored the database files ,control files and logfiles from last backup of same instance.
    Now when i connect with sysdba with connect sys/password as sysdba
    then startup nomount
    it is showing insufficient privileges.
    Kindly suggest on this
    First suggestion, post your db version and o/s. The error basically means that you don't have privs to do what ever you trying to do. Are you really sure that you are using a correct password. Try recreating the password file and use a new password stored in it.
    HTH
    Aman....

  • Error while startting up the database

    Hi all,
    I'm getting the following error while i'm starting up the oracle instance.
    QL*Plus: Release 11.1.0.7.0 - Production on Thu Nov 15 13:54:22 2009
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup nomount
    ORA-27504: IPC error creating OSD context
    Thanks

    hard to say ...
    do you experiment this on the ASM instance ? what is up and running in your env ?
    check if the private NIC is not connected to a switch.

  • Error starting up the database

    successfully installed Oracle9i(R2) on Linux9
    and created a database ORCL
    but when i try to startup the database the following error shows up
    ORA-12709 error while loading create database character set
    can anyone help me out, asap?

    Can you post your environment?
    Greets
    Lutz

  • Start up the database

    Hi,
    I got a problem!
    Yesterday i had manully shut down the data base using:
    shut down immediate
    and i had closed the sql editor
    Now when i am trying to connect to the database using sys/manager,i am unable to connect getting an error messge oracle not available.Ofcourse it will not when i my self has shut it down!Now how can i connect to my database???
    Regards,
    Gururaja
    [email protected]

    Hi,
    i got the solution this is just for imformation.
    (I am using windows i dont knw abt unix)
    Go to control pannel\administrative tools\services
    There we wl find the oracle services oracle homeagent,oracle homeclient.etc
    Right click on the OracleserviceOracle service and select the restart option ,the database wl restart .
    Rergards,
    Gururaja
    [email protected]

  • Error in starting up the database . . . .

    Dears,,
    While startup DB, i faced the following error:
    ORA-01190: control file or data file 1 is from before the last resetlogs
    ORA-01110: data file 1: ' /oracle/..../system01.dbf '
    How can solve this please ?

    Dears,,
    I restored system01.dbf and make recovery as following:
    RMAN>RUN{
    sql ' alter database datafile 1 offline ';
    restore datafile 1;
    recover datafile 1;
    sql ' alter database datafile 1 online ';
    But while starting up db , i faced another problem with system02.dbf
    So, i made full restore database from more recent backup as following:
    RMAN> restore database;
    After finishing restoring i made recover as following:
    RMAN> recover database;
    I faced the following errors:
    RMAN-00571: =======================
    RMAN-03002: failure of recover command at 01/14/2010 21:30:53
    ORA-00283: recovery session canceled due to errors
    RMAN-11003: failure during parse/execution of SQL statement:
    alter database recover logfile '/backup/flash_recovery_area/EBS/archivelog/2010_01_13 /o1_mf_1_3_5nv9kzc3_.arc'
    ORA-00283: recovery session canceled due to errors
    ORA-12801: error signaled in parallel query server P000
    ORA-00600: internal error code, arguments: [3020], [392], [2], [1], [4], [52128], [388], []
    ORA-10567: Redo is inconsistent with data block (file# 392, block# 2)
    ORA-10564: tablespace APPS_TS_TX_DATA
    ORA-01110: data file 392: '/oracle/EBS/db/apps_st/data/a_txn_data01.dbf'
    ORA-10560: block type 'KTFB B

  • Error while installing the Database instance in SAP4.7 on Server2003

    Hi All,
    I am trying to install SAP4.7 in server2003 which is installed on VMWare. I have successfully installed SAP instance. Now while creating database instance; i have given all the required detials and check all the paramenters. But when i click to start creating the database i got the error messgae that database instance can not be installed. I have chekced the error log but could not find the resolution.
    Please see the below error log and advice on what should be done.
    =======================================
    INFO 2010-10-10 03:58:07
    Processing of host operation t_HostInfo_SHARED succeeded.
    INFO 2010-10-10 03:58:14
    The 'saploc' share exists at directory 'C:\usr\sap'. Choosing drive C: as SAP System drive.
    INFO 2010-10-10 03:58:17
    The 'saploc' share exists at directory 'C:\usr\sap'. Choosing drive C: as SAP System drive.
    INFO 2010-10-10 04:02:33
    Copying file C:/Documents and Settings/Administrator/Desktop/SAP/EXPORT_DB/disk1/EXPORT1/DB/ORA/DBSIZE.XML to: DBSIZE.XML.
    INFO 2010-10-10 04:02:33
    Creating file C:\SAPinst ORACLE SAPINST\DBSIZE.XML.
    INFO 2010-10-10 04:02:33
    Copying file system node C:\Documents and Settings\Administrator\Desktop\SAP\EXPORT_DB\disk1\EXPORT1/DB/ORA/DBSIZE.XML with type NODE to DBSIZE.XML succeeded.
    INFO 2010-10-10 04:02:33
    Processing of all file system node operations of table tORA_filecopy succeeded.
    INFO 2010-10-10 04:02:34
    Copying file C:/Documents and Settings/Administrator/Desktop/SAP/EXPORT_DB/disk1/EXPORT1/DB/DDLORA.TPL to: DDLORA.TPL.
    INFO 2010-10-10 04:02:34
    Creating file C:\SAPinst ORACLE SAPINST\DDLORA.TPL.
    INFO 2010-10-10 04:02:34
    Copying file system node C:\Documents and Settings\Administrator\Desktop\SAP\EXPORT_DB\disk1\EXPORT1/DB/DDLORA.TPL with type NODE to DDLORA.TPL succeeded.
    INFO 2010-10-10 04:02:34
    Processing of all file system node operations of table tORA_filecopy succeeded.
    INFO 2010-10-10 04:02:47
    Moving file C:/SAPinst ORACLE SAPINST/DDLORA.TPL to: orig_ddl_ora_tmp.tpl.
    INFO 2010-10-10 04:02:47
    Moving file C:/SAPinst ORACLE SAPINST/changed_ddl_ora_tmp.tpl to: DDLORA.TPL.
    INFO 2010-10-10 04:02:47
    Removing file C:/SAPinst ORACLE SAPINST/orig_ddl_ora_tmp.tpl.
    ERROR 2010-10-10 04:03:27
    MSC-01003  ESyException: ESAPinstException: error text undefined
    ERROR 2010-10-10 04:03:27
    FJS-00012  Error when executing script.
    ERROR 2010-10-10 04:03:27
    FCO-00011  The step fillR3loadPackageTable with step key SAPSYSTEM|ind|ind|ind|ind|ind|0|SAPComponent|ind|ind|ind|ind|ind|0|DatabaseLoad|ind|ind|ind|ind|ind|0|fillR3loadPackageTable executed with status ERROR.
    ERROR 2010-10-10 04:03:27
    FSL-02015  Node C:\SAPinst ORACLE SAPINST\and\DATA does not exist.
    =======================================
    Many thanks in advance.
    Regards,
    Anuj Jaglan

    Hi Rajesh,
    Thanks for you reply. I have removed the space with (_) from the folder's name. But still it is throwing the same error. See the below error log.
    ===============
    Moving file C:/SAPinst_ORACLE_SAPINST/changed_ddl_ora_tmp.tpl to: DDLORA.TPL.
    INFO 2010-10-10 20:32:16
    Removing file C:/SAPinst_ORACLE_SAPINST/orig_ddl_ora_tmp.tpl.
    ERROR 2010-10-10 20:33:06
    MSC-01003  ESyException: ESAPinstException: error text undefined
    ERROR 2010-10-10 20:33:06
    FJS-00012  Error when executing script.
    ERROR 2010-10-10 20:33:06
    FCO-00011  The step fillR3loadPackageTable with step key SAPSYSTEM|ind|ind|ind|ind|ind|0|SAPComponent|ind|ind|ind|ind|ind|0|DatabaseLoad|ind|ind|ind|ind|ind|0|fillR3loadPackageTable executed with status ERROR.
    ERROR 2010-10-10 20:33:06
    FSL-02015  Node C:\SAPinst_ORACLE_SAPINST\and\DATA does not exist.
    ==================
    Also let me know if this could be the reason of less space on hard disk or I am installing SAP on the same drive on which server is installed.
    Regards,
    Anuj Jaglan

Maybe you are looking for

  • DB error while running reports in InfoView

    Hi, we are trying to create a report in infoview. however we are facing following error while trying to create new webintelligence document or running existing report: A database error occured. The database error text is: (CS) "DBDriver failed to loa

  • Calling SAP Web Service from BPEL

    Hi I am trying to call a SAP Web Service friom BPEL using the SAP WSDL.It requires a basic authentication (Username/Password) which i am providing as partnerlink properties in bpel.xml. While testing the BPEL Process from the console, it is giving me

  • Excel Formatting in WEBI Report

    Can we able to save the webi report to default excel format. default excel format :- each columns should move to each cell same for rows too. But currently it is placing in proper cells but the blank part is showing in white background without any fo

  • Not enough memory issue while acquiring data

    Hi all, I am trying to acquire audio data @ 50KS/s for 20 sec. using the PXI 4498 card in the PXI system. To acquire data I am using the DAQmx functions. Step1 : Created DAQmx channel Step2: Set the no. of sample to read as 20X50=1000000 to the DAQmx

  • OMG... Time machine deleted ALL the backups, even latest..

    Hey All... I have just experienced a nightmare.  If anyone can help I would be in your debt. Here we go... I was trying to move the backup of old computer ( partition A ) to a new partition ( B ) on same ext. hard drive.   Not enough space in partiti