Restore the database back to 10.2.0.1 (should i restore old backed up  oraInventory ) ?

Hello everyone ;
Greeting !  Good morning to all;
If the upgrade process fails ,  should  i restore  old  oraInventory  directory ?
Already i  backed up   $ORACLE_HOME, oraInventory and  consistent copy of datafiles, controlfiles and redo log files.
I have restored  $ORACLE_HOME and  consistent copy of datafiles, controlfiles and redo log files.  
Again , should  i restore (old backed up oraInventory ) directory ?
Thanks in advance ..

Pl provide the steps you performed for the upgrade -
$ emctl stop   dbconsole
TZ  set to  Asia/Calcutta
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
http://oel.linuxserver:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 10g Database Control ...
...  Stopped.
$  isqlplusctl  stop
iSQL*Plus 10.2.0.1.0
Copyright (c) 2003, 2005, Oracle.  All rights reserved.
Stopping iSQL*Plus ...
iSQL*Plus stopped.
$  lsnrctl  stop
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 22-APR-2013 04:45:33
Copyright (c) 1991, 2005, Oracle.  All rights reserved.
Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oel.linuxserver)(PORT=1521)))
The command completed successfully
SQL> SHOW USER;
USER is "SYS"
SQL> shut immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
Take a  backup  of  $ORACLEHOME and   database and oraInventory
$  cd /u01/app/oracle/oradata/
$  tar -czf   /home/oracle/orclbackup.tar.gz   orcl
$  cd /u01/app/oracle/product/10.2.0/
$  tar  -czf   /home/oracle/orclhomebackup.tar.gz    db_1
$  cd  /u01/app/oracle/
$  tar -czf  /home/oracle/oraInv_backup.tar.gz    oraInventory/
$  ls  /home/oracle/
Desktop   oraInv_backup.tar.gz   orclbackup.tar.gz   orclhomebackup.tar.gz
#  xhost +  SI:localuser:oracle
# su - oracle
$  unzip  p6810189_10204_Linux-x86.zip
$  cd  Disk1
$  ./runInstaller
WELCOME SCREEN APPREAD
[ Trimmed]
.  Finally executed root.sh script as '# user'
Then i have used  DBUA to upgrade my database ..
SQL> select comp_name , version , status from dba_registry;
COMP_NAME                             VERSION           STATUS
Oracle Database Catalog Views         10.2.0.4.0       VALID
Oracle Database Packages and Types    10.2.0.4.0       VALID
Oracle Workspace Manager              10.2.0.4.3       VALID
JServer JAVA Virtual Machine          10.2.0.4.0       VALID
Oracle XDK                            10.2.0.4.0       VALID
Oracle Database Java Packages         10.2.0.4.0       VALID
Oracle Expression Filter              10.2.0.4.0       VALID
Oracle Data Mining                    10.2.0.4.0       VALID
Oracle Text                           10.2.0.4.0       VALID
Oracle XML Database                   10.2.0.4.0       VALID
Oracle Rule Manager                   10.2.0.4.0       VALID
Oracle interMedia                     10.2.0.4.0       VALID
OLAP Analytic Workspace               10.2.0.4.0       VALID
Oracle OLAP API                       10.2.0.4.0       VALID
OLAP Catalog                          10.2.0.4.0       VALID
Spatial                               10.2.0.4.0       VALID
Oracle Enterprise Manager             10.2.0.4.0       VALID
17 rows selected.
@ where do you expect to see 10.2.0.4 in the PATH ?
   $ echo $ORACLE_HOME
   /u01/app/oracle/product/10.2.0/db_1
  $ echo $LD_LIBRARY_PATH
  /u01/app/oracle/product/10.2.0/db_1/lib:/lib:/usr/lib
  Where  can i see my 10.2.0.4.0  ORACLE_HOME ?
  Thanks srini ..

Similar Messages

  • Restore the database or tablespace from a old backup piece

    Hi All,
    We have the senerio like this.
    Day 1 : Took the complete database backup in RMAN
    Few changes done in database
    Day 2 : Took the complete database backup in RMAN
    Few changes done in database
    At day 3 if we wanto restore the database to Day 2 backup we can simply use restore database and recover database.
    Supose if we wan to restore the day 1 backup, please let me know if this will work.
    run
    set until time "to_date('10-06-2009 08:00:00','DD-MM-YYYY HH24:MI:SS')";
    restore database;
    recover database;
    Or is there any other way to do that.
    Please advice,
    Thanks & Regards,
    Rakesh

    It will work if you are running in archive mode and you have day 1 backup files available for RMAN.
    I recommend saving the current control file and restoring the original day 1 control file before you issue the resote / recover command.
    Oded
    [www.dbsnaps.com]
    [www.orbiumsoftware.com]

  • Restoring the database from Coldbackup

    Hi Gurus,
    I have a cold back up files belongs to oracle 9i on Solaris 5.10. I wanted to restore the database and need to upgrade the Oracle 10g (10.2.0.3.0) on linux.
    All these process need to handle with out RMAN. What are the prerequisite information need to collect on source and target systems.
    Please guide me.
    Thanks,
    Tippu

    Azar wrote:
    Better install Oracle 10g on the new server and after import oracle 9i database into new server database.I would say that this depends on database size and database downtime that can be accepted: for small database and no short downtime constraint, I agree but for large database and limited downtime constraint this may not be a good choice.

  • RESTORING THE DATABASE AFTER BEING EDITED OR DELETED

    How to restore the database after being edited? I m using sql server 2008 R2, I've done backup with some foolish knowledge and many tables have disappeared from the database. I want to get them back. Please help me.

    Do you have backup which includes data which has been edited/removed by you .If so below query might help.
    use master
    go
    alter database db_name set single_user with rollback immediate
    go
    restore database db_name from disk='locaion of backup'
    with replace,recovery
    If you have transaction lgo backups as well please dont use above method.In such case you will need to  first restore full backup with no recovery like below and then apply all transaction logs with no recovery
    but the last transaction log with recovery( last trn log just before you edited)
    use master
    go
    alter database db_name set single_user with rollback immediate
    go
    restore database db_name from disk='locaion of backup'
    with replace,norecovery
    Hope this helps
    More details in below link
    http://www.karaszi.com/SQLServer/info_minimizing_data_loss.asp
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Restoring the database for the bcm using 2010 office pro

    I running win 7 professional and running the office 2010 professional using the bcm and it's working, but when I try restoring the database it gives me an error saying that I'm not the owner of the file. What's the problem?  I have backed up the from
    win 7 professional x'64' and trying to restore the file on a 32 bit application (office 2010 professional) I am the owner of the file that I'm trying to restore, and trying to avoid keying the transaction into the database on the 32 bit. Also I'm using the
    business contact manager to restore the file. Can anyone help? this is regarding outlook 2010 bcm.
    Mike Horrigan

    Hi Mike
    Try this
    Close Outlook
    Locate Outlook.exe on the file system
    Right-Click on Outlook.exe and select RunAs and Start Outlook as the Machine Administrator
    Then, try restoring the BCM Database
    Hope this helps!
    Larry - MSFT

  • Problem in Restoring the database

    Hi,
    I want to restore the database
    RMAN> startup force mount;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 07/20/2009 17:06:56
    RMAN-04014: startup failed: ORA-12514: TNS:listener does not currently know of s
    ervice requested in connect descriptor
    can anybody help on this.

    Hi,
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Cause:      The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a service name for a service (usually a database service) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.
    Action:      
    - Wait a moment and try to connect a second time.
    - Check which services are currently known by the listener by executing: lsnrctl services <listener name>
    - Check that the SERVICE_NAME parameter in the connect descriptor of the net service name used specifies a service known by the listener.
    - If an easy connect naming connect identifier was used, check that the service name specified is a service known by the listener.
    - Check for an event in the listener.log file.
    Regards,
    Tom

  • When iam restoring the database getting error

    hi ,
    when iam restoring the database getting following error :
    SELECT schemaname FROM syscat.schemata WHERE schemaname='SAPTOOLS'
    SQL1328N An implicit connection attempt failed. The database alias name or database name "TPD" was not found in the local database directory.
    SQLSTATE=42705

    Hi,
    What is your ABAP connect user. its should be same as source.
    and
    SQL1024N
    A database connection does not exist.
    Explanation
    There is no connection to a database. Other SQL statements cannot be processed unless an SQL CONNECT was previously executed.
    The command cannot be processed.
    User response
    If the error occurred when disconnecting from the database, continue processing. If the error occurred on another SQL statement, issue an SQL CONNECT statement and resubmit the command or statement.
    IN addition
    db2 connect to SID
    It will show you the default database schema connection
    After that,execute db2 ger db cfg for SID
    It will show you the DB2 parameter values for your schema
    There`s a concept of DBM or database manager, the configuration of which you can check with:
    db2 get dbm cfg
    DBM is the super-set and DB Schema is the subset
    Thanks
    Sadiq
    Edited by: sadiq iqbal on Jan 12, 2012 5:57 PM

  • HT1766 i am trying to unlock the iphone 4, after backup, i am trying to restore the backup, a message is showing up " itunes could not restore the iphone ' .....iphone ' because not enough free space is available on the iphone" but there is 5.7gb availabl

    i am trying to unlock the iphone 4, aftermanual backup on the computer, i am trying to restore the backup, a message is showing up " itunes could not restore the iphone ' .....iphone ' because not enough free space is available on the iphone" but there is 5.7gb available

    Dear Jody..jone5
    Good for you that can't update your iphone because I did it and my iphone dosen't work for example I can't download any app like Wecaht or Twitter..
    Goodluck
    Atousa

  • My wifi is greey...i restored the system but nothing changed...what should i do?

    my wifi is greey...i restored the system but nothing changed...what should i do?

    If you Restored your iPhone with iTunes on computer, this supports hardware problem that WiFi Chip is damaged. If there is Warranty or AppleCare make Genius reservation or set up Service and take or send iPhone to Apple for resolution.

  • Can I restore the database (clone) to different Host/User account?

    Hi,
    We use RMAN catalog that backup our production database using "oracle" user (OS user is "oracle") account. We wanted to clone this database to different host and to different OS user (for example is "oradev") account. Both user has same group (oradba). Can I able to restore the control fies/data files to different user account (the account that wasn't backed up).
    Please update if you know of any documents/pdfs/links that explains this detail.
    Thanks in advance for your assistance,
    Ranga.

    Yes, the user account should be transparent assuming the backuppieces have the appropriate user/group permissions.

  • Problem in Restoring the database the database

    Hi guys,
    I am new to oracle , I am facing one problems is that , i having the backup of one oracle database in .dmp format.
    I have to restore it to 9i database. for that i have created on database , how to restore the backup file over the new database using oracle management server.
    Please give me the clue to do the things.

    1. setup your oracle environmentals and path. Usually this is easy to do if your database name is in your oratab file. From the command line type . oraenv -- that is dot-space-oraenv. When prompted enter the database sid in the same case that it is in the oratab file.
    2. from the command prompt enter
    imp file=<your dump file name> log=<your import log file name> full = y, ignore = y
    You will be prompted for username and password.
    More detailed information is available in the database administrators guide, and I thing the utilities guide.

  • Restoring the database backup daily after performing some changes on d'base

    Hi all,
    Im a JUNIOR DBA... please help me..
    I have an Oracle 10g database and i have taken a cold backup for the same.(Say i have 10 users)
    MONDAY - Now, suppose out of the existing 10 users, i updated 6 tables in each user, so the total updated tables are 60 tables, these tables are only for TESTING purpose.
    TUESDAY - Now, suppose out of the existing 10 users, i updated 4 tables in each user, so the total updated tables are 40 tables, these tables are only for TESTING purpose.
    Now the question is -
    Daily i need to restore the original database backup atleast once, where in i dont want the updated tables of say MONDAY..
    Please, let me know how to proceed
    Regards,
    - Sri

    Start with the backup and recovery guide. It will tell you how to work this scenario. Basically, you will restore Sunday backup and apply archived redo logs until you reach the point in time immediately before the changes you do not want.

  • 404 error after restoring the database

    Friends, our dba team restored the Flows_030000 schema after a complete monthly refresh of our server (RMAN restore). Now when I try to access the APEX admin page or any of the applications it gives me a 404 error saying '/pls/apex/apex_admin/ was not found on this server'.
    I looked at the apache error log file and found the following
    mod_plsql: /pls/apex/apex_admin HTTP-404 ORA-04063: package body "FLOWS_030000.WWV_FLOW_SECURITY" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at "FLOWS_030000.F", line 276
    ORA-06512: at "FLOWS_030000.APEX_ADMIN", line 5
    ORA-06512: at line 10.
    The RMAN refresh is a regular monthly process for us it was going smooth for the past one year ever since we deployed Apex 2.2. Last month we upgraded it to 3.0 and this is the first refresh after the upgrade.
    I feel it is most probably a priveleges issue. But not sure what it could be.
    Guys, any thoughts or any experiences facing the same kind of situation?

    You could do a new install in a different database and see what privileges the FLOWS_030000 schema has that were granted by SYS, for example (don't use these results):
    SQL> select granted_role from dba_role_privs where grantee='FLOWS_030000';
    GRANTED_ROLE
    SELECT_CATALOG_ROLE
    RESOURCE
    CONNECT
    SQL> select privilege from dba_sys_privs where grantee='FLOWS_030000';
    PRIVILEGE
    CREATE OPERATOR
    DROP ANY DIRECTORY
    CREATE PROCEDURE
    CREATE JOB
    CREATE ANY CONTEXT
    CREATE DIMENSION
    CREATE MATERIALIZED VIEW
    ALTER DATABASE
    CREATE ANY DIRECTORY
    CREATE VIEW
    CREATE CLUSTER
    DROP USER
    DROP TABLESPACE
    CREATE ROLE
    CREATE PUBLIC SYNONYM
    CREATE SYNONYM
    CREATE TABLE
    CREATE INDEXTYPE
    CREATE TRIGGER
    EXECUTE ANY PROCEDURE
    SELECT ANY TABLE
    CREATE USER
    CREATE DATABASE LINK
    CREATE SEQUENCE
    ALTER USER
    CREATE TABLESPACE
    ALTER SYSTEM
    DROP PUBLIC SYNONYM
    ALTER SESSION
    CREATE LIBRARY
    CREATE TYPE
    31 rows selected.
    SQL>
    SQL> select owner||':'||table_name||':'||privilege from dba_tab_privs where grantee='FLOWS_030000' and grantor='SYS';
    SYS:EXPORT_FILES_DEMO:WRITE
    SYS:EXPORT_FILES_DEMO:READ
    SYS:DBMS_REGISTRY:EXECUTE
    SYS:UTL_FILE:EXECUTE
    SYS:UTL_SMTP:EXECUTE
    SYS:UTL_HTTP:EXECUTE
    SYS:DBMS_LOB:EXECUTE
    SYS:DBMS_LOCK:EXECUTE
    SYS:DBMS_SYS_SQL:EXECUTE
    SYS:DBMS_FLASHBACK:EXECUTE
    SYS:DBMS_RLS:EXECUTE
    SYS:DBMS_CRYPTO:EXECUTE
    SYS:WWV_FLOW_VAL:EXECUTE
    SYS:SEG$:SELECT
    SYS:TS$:SELECT
    SYS:OBJ$:SELECT
    SYS:USER$:SELECT
    SYS:ARGUMENT$:SELECT
    SYS:V_$SQL_PLAN:SELECT
    SYS:V_$PROCESS:SELECT
    SYS:V_$SESSION:SELECT
    SYS:V_$LOCKED_OBJECT:SELECT
    SYS:V_$SESSTAT:SELECT
    SYS:V_$MYSTAT:SELECT
    SYS:V_$SYSSTAT:SELECT
    SYS:V_$STATNAME:SELECT
    SYS:V_$PARAMETER:SELECT
    SYS:V_$DATABASE:SELECT
    SYS:V_$SQL:SELECT
    SYS:V_$OPEN_CURSOR:SELECT
    SYS:V_$TIMER:SELECT
    SYS:V_$SESSION_WAIT:SELECT
    SYS:V_$SESS_IO:SELECT
    SYS:DBA_PROFILES:SELECT
    SYS:ALL_COL_COMMENTS:SELECT
    SYS:DBA_COL_COMMENTS:SELECT
    SYS:DBA_COL_PRIVS:SELECT
    SYS:DBA_DB_LINKS:SELECT
    SYS:DBA_INDEXES:SELECT
    SYS:ALL_IND_COLUMNS:SELECT
    SYS:DBA_IND_COLUMNS:SELECT
    SYS:ALL_OBJECTS:SELECT
    SYS:DBA_OBJECTS:SELECT
    SYS:DBA_ROLLBACK_SEGS:SELECT
    SYS:USER_ROLE_PRIVS:SELECT
    SYS:DBA_ROLE_PRIVS:SELECT
    SYS:USER_SYS_PRIVS:SELECT
    SYS:DBA_SYS_PRIVS:SELECT
    SYS:ALL_SEQUENCES:SELECT
    SYS:DBA_SEQUENCES:SELECT
    SYS:DBA_SYNONYMS:SELECT
    SYS:ALL_SYNONYMS:SELECT
    SYS:ALL_TABLES:SELECT
    SYS:DBA_TABLES:SELECT
    SYS:ALL_TAB_COLUMNS:SELECT
    SYS:DBA_TAB_COLUMNS:SELECT
    SYS:ALL_TAB_COMMENTS:SELECT
    SYS:DBA_TAB_COMMENTS:SELECT
    SYS:DBA_TAB_PRIVS:SELECT
    SYS:ALL_USERS:SELECT
    SYS:DBA_USERS:SELECT
    SYS:ALL_VIEWS:SELECT
    SYS:DBA_VIEWS:SELECT
    SYS:ALL_CONSTRAINTS:SELECT
    SYS:DBA_CONSTRAINTS:SELECT
    SYS:ALL_CONS_COLUMNS:SELECT
    SYS:DBA_CONS_COLUMNS:SELECT
    SYS:DBA_TYPES:SELECT
    SYS:DBA_RECYCLEBIN:SELECT
    SYS:DBA_LOCK:SELECT
    SYS:ALL_ERRORS:SELECT
    SYS:DBA_ERRORS:SELECT
    SYS:DBA_SOURCE:SELECT
    SYS:ALL_TRIGGERS:SELECT
    SYS:DBA_TRIGGERS:SELECT
    SYS:DBA_TRIGGER_COLS:SELECT
    SYS:ALL_DEPENDENCIES:SELECT
    SYS:DBA_DEPENDENCIES:SELECT
    SYS:DBA_JOBS:SELECT
    SYS:DBA_SEGMENTS:SELECT
    SYS:DBA_EXTENTS:SELECT
    SYS:DBA_FREE_SPACE:SELECT
    SYS:DBA_DATA_FILES:SELECT
    SYS:DBA_TABLESPACES:SELECT
    SYS:DBA_RSRC_PLAN_DIRECTIVES:SELECT
    SYS:DBA_SNAPSHOTS:SELECT
    SYS:DBA_FEATURE_USAGE_STATISTICS:SELECT
    SYS:DBA_JAVA_POLICY:SELECT
    88 rows selected.
    SQL>
    You might want to do the same for FLOWS_FILES.
    Scott

  • How we restore the database dmp file in Oracle10g express edition

    please provide me answers as soon as possible...my database is fresh and i want to restore the dmp file in my database, that dmp file is exported by oracle 10g database on other machine.

    there is no impdb or expdb command. There is an imp (for import) and exp (for export).
    I assume you want to replace the existing database with the one on your laptop.
    A much better and more efficient way to do this would be to backup the database on your home machine and then restore it to your office database.
    but before you do anything, backup the database you are copying/importing to (backup option is available on the windows menu or its a batch or shell script in the appropriate directory)

  • Can't restore the database

    Can't restore database main identity after changing harddrive and retoring data with time-machine. This showes when I try to start Outlook and need to run Microsoft database Utility Please help.

    Thanks to both Patrik and Jason.
    The files were all stored locally on the Web/App server, so the SAP note doesn't really help much.
    Anyway, I ended up taking the long way round:
    Manually restored the AppSet, AppSetExtra and OLAP databases
    Re-pointed the OLAP data source to the new server name
    Manually added the AppSet details to the AppServer database and added the Admin account to the AppSetAccess table
    Logged in to BPC Admin and processed security, followed by a full process of all Dims/Apps.
    That seems to have sorted it out.
    Dont' know why, but I've never had any luck in using the built-in backup/restore for BPC appsets.
    Thanks anyway guys for all your help
    Craig

Maybe you are looking for

  • Problem in Teststand Operator Interface

    I am facing problems when i try to run my sequence file from TestStand Operator Interface for LabVIEW. It gives either all tests as failed or skipped but the same sequence file when i execute from TestStand Sequence Editor it gives me correct results

  • Macbook pro Power adapter disconnects

    After charging the macbook and then disconnecting the power adapter, but I still leave the adpater plugged to the wall, it appears it just stops working or it shuts itself off. When I plug back in again after several hours there is no juice to the la

  • Which adapter for Argentina?

    I'm traveling to Buenos Aires for ten days next month, and I'd like to bring my 2nd gen. shuffle for the long plane ride. (I have a 4th gen. iPod, too, but it doesn't have enough battery left for the 10-hour flight.) I have the USB power adapter and

  • Adobe Interactive forms error in WD -- Invalid HTTP Connection : ADS

    Hi,   am getting the following error when am trying to create interactive forms in WDA..."Invalid HTTP Connection : ADS" Thanks in advance

  • No batch rename?

    I like to re-arrange photos (i.e. weddings into ceremony, reception, etc.) before renaming. The stacking feature will be excellent for this. Is import the only place in aperature to re-name files other than manually doing it in list view? I am hoping