Could not login as sysdba after changing oracle sid

I am using Oracle 10g on Windows. I am getting errors while performing cloning of database from cold backup ( just for leaning purpose).
The problem is that when i set the ORACLE_SID=ORCL, then i can get login as sysdba but when i change the ORACLE_SID=clone, i get following error:
ERROR:
ORA-12560: TNS:protocol adapter error
Also, I have created the password file using the following command:
orapwd file=D:\ORACLE\product\10.2.0\db_1\database\PWDclone.ora password=xxxx

Moazzam wrote:
I am using Oracle 10g on Windows. I am getting errors while performing cloning of database from cold backup ( just for leaning purpose).
The problem is that when i set the ORACLE_SID=ORCL, then i can get login as sysdba but when i change the ORACLE_SID=clone, i get following error:
ERROR:
ORA-12560: TNS:protocol adapter error
Also, I have created the password file using the following command:
orapwd file=D:\ORACLE\product\10.2.0\db_1\database\PWDclone.ora password=xxxxtry this,
oradim -new -sid clone -intpwd oracle
and login

Similar Messages

  • I have completed installation of Oracle 10g but I could not login into the

    Please I have completed installation of Oracle 10g into my laptop but I could not login into the database to create my new tables through SQL*Plus.
    I don't know what to type into these text fields. (1) Name, (2)Password and (3) Host.
    Please can someone help me urgently
    Fola

    There are different things here to know about.
    Did you also create database while installation ?
    If yes then
    C:\> set oracle_sid=yoursid
    C:\> sqlplus username/password
    If not then, please create the database first.
    For "I don't know what to type into these text fields. (1) Name, (2)Password and (3) Host."
    (1) Name : This is user name.
    (2) Password: This is password.
    (3) Host: This is oracle net service name configured in tnsnames.ora. Please refer to http://download-uk.oracle.com/docs/cd/B19306_01/network.102/b14212/toc.htm
    -aijaz

  • ORA-01078: failure in processing system parameters LRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/initORA11G.ora'

    I have installed an Oracle 11gR2 on Oracle Linux Server 6.6 (Virtualbox). I have the users grid and oracle11g. Add groups and install grid infrastructure first as a grid user and install database as oracle user as in documentation successfully.
    I have following users and groups as
    [grid@orcl11g ~]$ id grid
       uid=501(grid) gid=502(oinstall) groups=502(oinstall),492(vboxsf),501(grid),503(dba),505(asmdba),506(asmadmin),507(asmoper)
    [grid@orcl11g ~]$ id oracle11g
       uid=500(oracle11g) gid=502(oinstall) groups=502(oinstall),500(oracle11g),492(vboxsf),503(dba),504(oper),505(asmdba)
    .bash_profile edited  for oracle11g user as
    "export TMP=/tmp
    export ORACLE_HOSTNAME=orcl11g
    export ORACLE_UNQNAME=ora11g
    export ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
    export ORACLE_SID=ora11g
    export PATH=$PATH:$ORACLE_HOME/bin
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;
    export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
    .bash_profile edited  for grid user as
    "export TMP=/tmp
    export ORACLE_HOSTNAME=orcl11g
    export ORACLE_UNQNAME=+ASM
    export ORACLE_BASE=/u01/app/grid
    export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/grid
    export GRID_HOME=$ORACLE_BASE/product/11.2.0/grid
    export ORACLE_SID=+ASM
    export PATH=$PATH:$ORACLE_HOME/bin
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;
    export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
    When I log on as grid user. I check the followings:
    [grid@orcl11g ~]$ crsctl check has
    CRS-4638: Oracle High Availability Services is online
    [grid@orcl11g ~]$ srvctl status database -d ora11g
    Database is running.
    [grid@orcl11g ~]$ sqlplus sys as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 25 19:17:37 2014
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Automatic Storage Management option
    SQL> select status from v$instance;
    STATUS
    STARTED
    Till here everything seems to be OK!!!!
    When I log as  oracle user. I check the followings:
    [oracle11g@orcl11g ~]$ sqlplus sys as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 25 19:21:46 2014
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter password:
    Connected to an idle instance.
    SQL> select status from v$instance;
    select status from v$instance
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    SQL> startup
    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/initORA11G.ora'
    Also when I log on as a grid user again and use following commands to shutdown and start database again the STATUS of instance is again STARTED not OPEN.
    [grid@orcl11g ~]$ srvctl stop database -d ora11g -o normal
    [grid@orcl11g ~]$ srvctl start database -d ora11g
    And also when I edit /etc/oratab file. I change N to Y for +ASM. But when restart system it seems not changed value is N again.
        +ASM:/u01/app/grid/product/11.2.0/grid:N   # line added by Agent
         ora11g:/u01/app/oracle/product/11.2.0/dbhome_1:Y
    NOW QUESTIONS!!!!!
    1. Why I can't change the status of database to OPEN as grid user?
    2. The status is always STARTED when querying v$instance. İs it status of +ASM or database?
    3. When checking database as grid user it seems to be Database runnning...  If running why it is not in OPEN state? What is running means here?
    4. When I log on as oracle user and query v$instance, then error shown above occured. And also when startup  the database then another error occured as in above. WHY?
    5. When I edit /etc/oratab file manually why second row saved but the first one is changed after restart the system?
    6. Normally, which user have to start, stop or manage database? I think that oracle user is necessary for managing database and the grid user is only for managing ASM and Oracle Restart.
    PLEASE HELP ME TO SOLVE THIS CHAOTİC SİTUATİON!!!
    Thanks,
    DBA_84

    I have installed an Oracle 11gR2 on Oracle Linux Server 6.6 (Virtualbox)
    Pl identify exact version of 11gR2 to 4 decimal places. As noted in your other thread - Failed to start oracle-ohasd, error: Inappropriate ioctl for device ohasd failed to start at roothas.pl - you will need a minimum version of 11.2.0.3 for Linux 6.x - using a lower version may result in unexpected issues or problems.

  • Database Login - Can not login as sysdba

    I have a userid for a database on a separate server. I can login as sysdba on the server with the database and from the OEM server. I can not login as sysdba from OEM. Is there a change that needs to be made to the password file or does there need to be password file on the OEM repository server?

    What do you mean with OEM server here? Centralized gridcontrol server? That's a different concept, you connect to a specific administration user (often SYSMAN), 'sysdba' is not applicable here. Otherwise a server, which hosts a standalone DBConsole is not different from any other database server.
    Werner

  • Icloud all of sudden could not login

    Just this morning, I was trying to turn off Find my iphone on my iphone 4s which I sold to local vendor.
    But, I wasn't able to login on my icloud ( I was trying to login at icloud.com on my pc)., It keep saying the passwords incorrect.
    So I checked my iphone 6 and it also could not login to icloud.
    So I reset my apple ID which is what I'm using for icloud.
    After resetting my apple ID's password, I still couldn't login to my icloud (neither on my phone nor at icloud.com.
    Why is this happening?  I can't access the app store because of this.

    Hi Trinap.
    I would like to have a look at your eFax account.
    Would you mind IM your eFax number?
    eFax-Tier 2 Support Lead
    The ultimate goal of supporting people is making them feel that they are interacting with a friend who genuinely has a solution to their problem.
    JDC

  • Could not login my iCloud using my apple ID

    I could not login my iCloud using my apple ID.

    Hi, thank for the reply. No error message. Check on iCloud account still having the Apple ID as @streamyx.com
    How do I changed it to the new Apple ID at setting?

  • LRM-00109:could not open parameter file '/u01/app/oracle/product/10.2.0/db

    hi
    i have manually created a database called ora.i have done all the relative tasks.i can open the database by startup nomount pfile.but when i try to create spfile from pfile, it is showing an error that it is already created.when i give the startup command the
    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/u01/app/oracle/product/10.2.0/db_1/dbs/initora.ora'
    above error occurs.acutally my pfile is in another location and it is trying to open it from another loc.ihave added the line
    export ORACLE_SID=ora in bashrc file.Already there is one database called orcl and it is also been added to the
    bashrc file.
    Pz solve it for me.

    hi,
    >
    create spfile='/u01/app/oracle/product/10.2.0/db_1/dbs'
    2 from
    3 pfile='/u01/app/oracle/product/10.2.0/db_1/admin/ora/pfile/initora.ora';
    create spfile='/u01/app/oracle/product/10.2.0/db_1/dbs'
    ERROR at line 1:have you startup the database in nomount stage with pfile.. if so.
    then
    create spfile form pfile='/u01/app/oracle/product/10.2.0/db_1/admin/ora/pfile/initora.ora';
    use this command
    a spfile will be created inside /dbs/
    now restart the DB and give startup command and check the instance status..
    as mentioned above export the Oralce_home and Oracle_sid..
    regards,
    Deepak

  • TS1567 Suddenly my I phone 4 will not connect message mobile device service could not be started (nothing has changed on my PC). I have tried following the troubleshooting and have restarted the mobile device) but it still won't connect. Also all my disap

    Suddenly my I phone 4 will not connect message mobile device service could not be started (nothing has changed on my PC). I have tried following the troubleshooting and have restarted the mobile device) but it still won't connect. Also all bookmarks have disappeared!

    Okay ... it's a better bet with a 1067 error message when trying to start the Apple Mobile Device Service, but we'd better check for a LSP issue, as per the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store

  • Unable to log into FaceTime it says "the server encountered an error processing registration please try again later. Apple ID is verified ok but could not login. Please help. Thanks

    Unable to log into FaceTime it says "the server encountered an error processing registration please try again later. Apple ID is verified ok but could not login. Please help. Thanks

    I had the same problem and found the solution here:
    https://discussions.apple.com/thread/3189272

  • Access Server console could not login due to disable /access policy domain

    I misconfig to disable the /access policy domainn. And now the Access Server console could not login, alway loop at initial page. Identity Server console no problem.
    Is there any method could enable the /access again? Customer could not accept the reinstallation due to this small problem.
    Thank you.

    Easiest way is to temporarily disable the webgate in the web server configuration - if it is IIS just remove the webgate from the ISAPI filters tab and restart IIS, if Apache revert back to an httpd.conf without the webgate entries.
    Regards,
    Colin

  • Ipad2 could not connect to itunes after i restore

    ipad2 could not connect to itunes after i restore(newest iO7)

    Help in here.
    iOS: Device not recognized in iTunes for Windows
    Or in here.
    iOS: Device not recognized in iTunes for OS X - Apple Support
    Mac OS X v10.6: iOS device not recognized in iTunes after ...

  • I could not activate the phone after updating software to iOS7.

    Dear Apple Support team.
    Please help to investigate the problem as I could not activate the phone after updating software to iOS7. in the phone the erroe message is "Your iPhone could not be activated because the actiovation server cannot reached. Try connecting your iPhone to iTunes to activate it, or try again in a couple of minutes.
    I have try to activate both of way such by WiFi & Cellular activation and connecting with iTunes but still face the problem and could not completed activation the phone.
    How do i activate the phone or have to wait for hour not couple min as you suggested.
    your feedback quickly would be appreciated.
    Thank You
    Kritpas

    There is nothing you can do. That is the Activation Lock that Apple has implemented tout down on theft of their iPhones.
    Most likely the iPhone is stolen.
    It is totally worthless to you.

  • Could not find or load main class oracle.spatial.util.SampleShapefileToJGeomFeature?

    Hi,
    Am getting below error while performing ESRI shapefile into oracle database table.,
    C:\>java -cp G:\app\product\11.2.0\dbhome_1\jdbc\lib\ojdbc14.jar;G:\app\product\
    11.2.0\dbhome_1\md\jlib\sdoutl-1.0.jar;\G:\app\product\11.2.0\dbhome_1\md\jlib\s
    doapi-1.0.jar oracle.spatial.util.SampleShapefileToJGeomFeature -h localhost -p
    1521 -sn orcl -u MDSYS -d selva -t shapes -f F:\saptial\Africa.shp -r 8307 -g ge
    ometry
    Error: Could not find or load main class oracle.spatial.util.SampleShapefileToJGeomFeature
    Am using java version as ,
    C:\>java -version
    java version "1.7.0_51"
    Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
    Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)
    And also tried in MapBuilder its working fine.,but i need to import using java utility can any help me too this.,

    i had tried below this way and problem got solved .,
    Before i have downloaded
    sdoutl-11.2.0.jar and sdoapi-11.2.0.jar used it for import shp file ..
    C:\>set ORACLE_HOME=G:\app\product\11.2.0\dbhome_1
    C:\Users\SELVA>cd downloads
    C:\Users\SELVA\Downloads>cd statplanet_zambia
    C:\Users\SELVA\Downloads\StatPlanet_Zambia>cd map
    located into particular path and set my oracle home
    C:\Users\SELVA\Downloads\StatPlanet_Zambia\map>set ORACLE_HOME=G:\app\product\11.2.0\dbhome_1
    C:\Users\SELVA\Downloads\StatPlanet_Zambia\map>java -classpath %ORACLE_HOME%\jdb
    c\lib\ojdbc5.jar;%ORACLE_HOME%\md\jlib\sdoutl-11.2.0.jar;%ORACLE_HOME%\md\jlib\sdoapi-11.2.0.jar oracle.spatial.util.SampleShapefileToJGeomFeature -h localhost -p 1521 -s orcl -u MDSYS -d selva -t zambia -f map -r 8307 -g geometry
    host: localhost
    port: 1521
    sid: orcl
    db_username: MDSYS
    db_password: selva
    db_tablename: zambia
    shapefile_name: map
    SRID: 8307
    db_geometry_column: geometry
    Connecting to Oracle10g using...
    localhost, 1521, orcl, MDSYS, selva, zambia, map, null, 8307
    Dropping old table...
    java.sql.SQLException: ORA-00942: table or view does not exist
    Creating new table...
    9 record(s) converted.
    Done.
    Thanks
    Selva

  • I could not remember my Apple ID, changed my password and now my music library is virtually empty. Please help - I am devastated. Most of what I held in the library was uploaded from CDs

    I could not remember my Apple ID, changed my password and verified the email address. It may be a different one from that held in the system, I don't know. Now my music and audio book library is evertuslly empty. I am devastated. Please help.How can I retrieve all the CDs I downloaded?

    hi i had the same problem today when i updated my itunes to latest version. however, i have just found my songs in the 'itunes media' folder. this was accessed through 'my music'  then keep clicking through until you find itunes media and all my library songs were in there and i then just added these files to my library and all were restored however, i have lost all my playlists but at least my 700 songs are back. very dissapointed with apple that they have let this happen with their latest update, the previous version was miles better than this one . hope you find them. stevo

  • The network adapter could not establish the connection after hostname chang

    hi all,
    my computer name and ip address are changed after it is moved to another location in a local lan network. however, when i tried to connect my database in oralce 11g (enterprise edition) after, i got this error "the network adapter could not establish the connection" (in sql developer)
    and "Configuring database with database control requires a listener to be configured in the current oracle home. You need run Netca to configure a listener before you can proceed. Otherwise you may choose to continue with database control" (in dbca when i tried to create a new database). i also cannot access my database in OEM becasue it is still refering to old host name with this error message "Firefox can't establish a connection to the server at...". i changed the old host name to the new host name in files of listener.ora, listener1212114PM3012.bak, tnsnames.ora, and tnsnames1212114PM3012.bak in folder 'product\11.2.0\dbhome_2\NETWORK\ADMIN'. but it didn't work. can anybody pls tell me what do i need to do to fix the problem. i don't want to reinstall my oracle again because i've done a lot of works already in oracle. thanks in advance.
    kind regards,
    hong

    hi,
    C:\>lsnrctl start
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 12-DEC-2012 11:44
    :05
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Starting tnslsnr: please wait...
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    C:\>lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 12-DEC-2012 11:46
    :29
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=pc-412-0.xx.xxxx.xxx.xx)
    (PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    64-bit Windows Error: 1004: Unknown error
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    64-bit Windows Error: 2: No such file or directory
    SQL> startup
    ORA-01081: cannot start already-running ORACLE - shut it down first
    Then I shutdown it and startup again. The new message is as follows:
    SQL> startup
    ORACLE instance started.
    Total System Global Area 3373858816 bytes
    Fixed Size 2180424 bytes
    Variable Size 2097154744 bytes
    Database Buffers 1258291200 bytes
    Redo Buffers 16232448 bytes
    Database mounted.
    Database opened.
    I tried to connect the database again and it didn't work. Thanks.
    Hong

Maybe you are looking for