After you rename the data file, cannot start database

Oracle 11 g 2
OEL 5 (ASM)
Network infrastructure (cluster install) - no CARS yet

Something interesting happened. Perhaps this question might be more suited to the "ASM" section, but that's.

I gave a data in ASM file an alias with the following command (the ASM instance):
SQL> alter diskgroup DATA add alias '+DATA/oradb/datafile/users01.dbf' for '+DATA/oradb/datafile/users.253.795630487';

Diskgroup altered.
Then, as mentioned in Note: 564993.1, we need to update the database as well with the new alias. However, when I went to the stopping and starting of the database, I received the following:
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
It's strange. Nothing has changed except the alias being added to the data file. This is all before operation. That's happened?

I think that it may have to do with the different ASMOPER, ASMADMIN, ASMDBA groups that have been installed as part of the installation of the grid Infrastructure. In addition, the listener is running out of the GI home.

All my variables environment (e.g. ORACLE_SID, ORACLE_HOME, etc.) are defined.

Any ideas?

Thank you.

Hello
When you connect with tnsnames alias while the database is down the listner did not know the service, so you must start the database on the server database with sqlplus / as sysdba. After starting the registry of data base with the listener and your connection works again.
Alternativ you can add a service to your listener.ora to connect with him while he is arrested, as long as you do not have it you must use local connect which means sqlplus / as sysdba.

concerning
Peter

Tags: Database

Similar Questions

  • of MSHS - cannot rename the data files

    I have a MSHS (encryoted MSH) - 5 last lines in this script - I have a command shell that renames the data files. for example

    Shell ren f:\data\abc_morning.txt abc_20100912_morning.txt
    Shell ren d:\data\def_afternoon.txt abc_20100912_afternoon.txt
    Shell ren t:\data\abc_evening.txt abc_20100912_evening.txt

    These commands work fine in the MSH script, but get the "File not found" error in file MSHS. Has anyone else ran into this problem?

    MSHS command also asked how to rename the data files as Shell REN does not work?

    It's really simple:

    MSH scriptname.msh

    That's all.

    Kind regards

    Cameron Lackpour

    Edited by: CL, Sep 13, 2010 16:37
    Adding an extension to the scriptname.

  • After you change the raw file in CS6, jpeg looks dull and has weird tinge to it. I tried all color adjustments, but the result is the same throughout, jpegs of LR5 and 13 elements looks nice and consistent. How can I fix it?

    After you change the raw file in CS6, jpeg looks dull and has weird tinge to it. I tried all color adjustments, but the result is the same throughout, jpegs of LR5 and 13 elements looks nice and consistent. How can I fix it?

    Make sure the jpg has embedded sRGB profile.

    In what application you view jpg files?

    The symptoms you describe are typical of images with Adobe RGB or ProPhoto read in an application that does not support color management.

  • DB does not open after you rename the name of the database

    Hi all

    I tried to change the name of the db, so I created new controlfile trace and set it as. I created controlfile successfully, my open db with success, but when I stopped and tried again to open it I saw the below error message



    CREATE CONTROLFILE SET DATABASE 'db2' RESETLOGS NOARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY 292
    LOGFILE
    GROUP 1 ' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\REDO01. NEWSPAPER "SIZE M 50,
    GROUP 2 ' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\REDO02. NEWSPAPER "SIZE M 50,
    GROUP 3 ' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\REDO03. NEWSPAPER "SIZE M 50
    -STANDBY LOGFILE
    DATA FILE
    ' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\SYSTEM01. DBF',.
    ' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\UNDOTBS01. DBF',.
    ' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\SYSAUX01. DBF',.
    ' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\USERS01. DBF',.
    ' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB2. DBF',.
    ' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB21. DBF',.
    ' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB211. DBF',.
    ' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB212. DBF',.
    ' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB213. DBF',.
    ' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB214. DBF',.
    ' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB215. DBF'
    WE8MSWIN1252 CHARACTER SET.

    ALTER DATABASE OPEN RESETLOGS;




    SQL > @e:\creatdbdb2.sql;

    Created control file.


    Database altered.

    SQL > select file_name in dba_data_files;

    FILE_NAME
    ---------------------------------------------------------------------------
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB215. DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB214. DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB213. DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB212. DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB211. DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB21. DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB2. DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\USERS01. DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\SYSAUX01. DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\UNDOTBS01. DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\SYSTEM01. DBF

    11 selected lines.

    SQL > shutdown immediate;
    The database is closed.
    The database is dismounted.
    ORACLE instance stops.
    SQL > startup;
    ORACLE instance started.

    Total System Global Area 612368384 bytes
    Bytes of size 1250428 fixed
    222301060 variable size bytes
    381681664 of database buffers bytes
    Redo buffers 7135232 bytes
    Mounted database.
    ORA-00313: open failed for the members of the Group of newspapers wire 2 1
    ORA-00312: wire 2 1 online journal:
    'C:\ORACLE\PRODUCT\10.2.0\DB_3\DATABASE\LOG2db2.ORA '.
    ORA-27041: could not open the file
    04002 - OSD: could not open the file
    S/O-error: (OS 2) the system cannot find the file specified.

    845470 wrote:
    control_files string C:\ORACLE\PRODUCT\10.2.0\DB_3\
    DATABASE\CTL1NIRAJ. ORA

    I guess, you create controlfile as the directory of log files "C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\".
    So now, you will need to change pfile to again match controlfile.

    sql>create pfile='c:\pfile.ora' from spfile;
    

    Change the section of the command file "c:\pfile.ora" to match your NEW control file.
    then start DB, using the new file pfile

    sql> startup mount pfile='c:\pfile.ora';
    

    Check the locations of the data file and log files from views v$ datafile and v$ logfile.

    If everything is ok - open the database and create spfile

    sql>create spfile from pfile='c:\pfile.ora';
    

    Published by: Nikolay Ivankin on 23.03.2012 11:23

  • After you rename the directory of missing files

    Hello

    I rename a directory of Windows and now all of the previous content are missing.  I need suggestions on how to recover.

    Background:

    My machine runs on Win7 x 64.  The "Downloads" folder under my profile of the user (C:\Users\Brian\Downloads) had been innaccesible for many months.  When I try to open, that it does not open and, possibly, the time-out.   I could see the content when you browse the directory in a shell.  As a work-around to access the content via a command prompt I moved all the files/directories in a new directory that I named "downloads" in the folder My Documents (C:\Users\Brian\Documents\downloads).   All files are installed perfectly (about 9 GB) and I could see all the files in the new profile of downloads (C:\Users\Brian\Documents\downloads).  Then I renamed the «_downloads» download folder

    When I open the _downloads file then all files were missing!  The directory is now completely empty.

    I tried two programs of recovery of files (NTFS Undelete and Piriform Recuva) without success.   I haven't restarted the computer.  I read that a possible solution would be to rename the original name 'downloads' folder, but I didn't yet.

    Any suggestions on next steps?

    Thank you!

    TestDisk (free) or R-Studio (not free).

    CHKDSK may be able to solve this problem, but be aware that there is always a risk of data loss when chkdsk is run, it is advisable to start on a clone rather than the original disk where the files are stored.

    John

  • After you rename the computer, the backup of the file history still showing the old name of the computer to its destination.

    Original title: history of Falie Worng Destination path

    I changed my computer name [my computer setting and the name, display name, computer and computer Description all equal under the same name]. But when the history of files backing up my files, he insists on putting the OLD computer name in the backup destination path, for example:

    Backup_Drive\\Backup_Folder_A\UserID\Old_Computer_Name\Data...

    I tried selecting a new backup drive and reboot several times, but the history of files always comes back to the old name of the computer when you create the destination path.

    How can I fix?

    Similar to the response of Siva here, you will want to return to

    C:\Users\\AppData\Local\Microsoft\Windows\FileHistory

    Now, if FileHistory was lit before, using the old username, there will be a configuration file and the Config1.xml and Config2.xml files will contain several tags using the old name of PC. Rather than wipe these files, open each file in Notepad and search for the name of your old PC and replace with the name of the new, do not forget to save.

    In addition, if you want to keep a backup that has already been created with the old name of PC, you'll need to find, rename the main folder ("old name PC") and in this folder, rename tags in the Web configuration files (as you did in the local configuration files).

    When I tried to delete my local config files, he would recreate using files of configuration of the backup, that were also incorrect, so I just manually renamed and mine works fine now under the new name of PC.

  • User_sub_partitions data dictionary not updated after you rename the partition but user_tab_partitions is

    Hello

    Using oracle 11.2.0.3

    Date range poartitioned 1 partition for each month and 4 separate secondary partitions for each month.

    and executed suite

    ALTER table retailer_transaction rename partition SYS_P64937 tablespace PART_201505;

    ALTER table move subpartition SYS_SUBP64933 tablespace RTRN_PART_201505 retailer_transaction;

    ALTER table move subpartition SYS_SUBP64934 tablespace RTRN_PART_201505 retailer_transaction;

    ALTER table move subpartition SYS_SUBP64935 tablespace RTRN_PART_201505 retailer_transaction;

    ALTER table move subpartition SYS_SUBP64936 tablespace RTRN_PART_201505 retailer_transaction;

    ALTER table retailer_transaction change the default attributes for the partition PART201505 tablespace RTRN_PART_201505;

    Check user_tab_partitions and now to see nom_partition like PART_201505 but when check user_tab_subpartitions

    a still 4 secondary partitions with a score of SYS_P64937 name

    Why is this and how do you ensure user_sub_partitions corresponds to user_tab_partitions?

    Thank you

    user5716448 wrote:

    Thanks for the reply.

    Œuvres by renaming the index partition as suggested.

    However, one last problem to try to rebuild the local bitmap index that is marked as UNUSABLE for the affected partition is ORA-14287 cannot rebuild a partition of a composite range partitioned index.

    ALTER index RTRN_SAS_IDX PART_201505 rebuild partition;

    How we can rebuild the local bitmap index to ensure it can be used - would not want to delete the local bitmap index and rebuild?

    Thank you

    [oracle@localhost ~] $14287 oerr ora

    14287, 00000, "can not REBUILD a partition of a Composite range partitioned index.

    * Cause: The user attempted to rebuild a partition of a Composite range partitioned index

    which is illegal

    * Action: REBUILD the index partition, a subpartition at a time

  • Try to rename the profile, now cannot start FF because it says it is already running

    So I wanted to rename the profile from my laptop. I went in the profile menu (on the laptop not Firefox) and finished by unchecking and rechecking the "read only"box. ". After that, Firefox would give an error saying that she could not access the security on the boot files. I searched Mozilla page and followed the instructions to rename profiles with no luck, restarts (multiple) no luck, profile deleted and built a new, no luck, deleted secmod and cert files with no luck. Uninstalled FF 8.01 installed completely and 3.6.3 (I think) and now it won't start because it says it is already running. I'm also getting a flag of Internet Eplorer telling me that another program has tried to change my search engine.

    Any help would be appreciated.

    Oops, something went wrong in this post. You don't have to rename a profile on the disc folder, if that's what you did to get the error "already running."

  • After you import the image files into Lightroom, Lightroom does not show my folder hierarchy.

    Before I started using Lightroom, I got my pictures organized in a hierarchy of folders.

    My_imagesAA1
    A2
    BB1
    B2

    (The actual structure is deeper than this example a few levels.)

    I imported the A1, A2, B1, B2 files in Lightroom and gave them the keywords that reflect the folder structure.

    Now, when I look in Lightroom under folders, the structure is gone (it is still there on my drive). All I see is a list of A1, A2, B1, B2 files, so it is difficult to navigate to the folder that I want to work with.

    How can I get Lightroom to display the folder structure in that my images are in fact?

    Found a solution. Right click the folder and select "show parent folder.
    Repeat this operation several times until you see the folder structure you want.

  • After you import the avi file to new laptop, reading looks like he will ignore the frameworks

    I created successfully a project of first Pro CS5 using my desktop computer computer (i7 with dedicated NVIDIA graphics card) without any problem. I then imported the video file avi created on my desktop to my old laptop (intermediate level) with the same edition of Premiere Pro is installed and enabled in Premiere Pro create a new project it without any problem reading. After moving first Pro CS5 to my new laptop higher end, I imported the avi file of the desktop to create a new project on the new laptop, but when I went to play the video in Premiere Pro on the new laptop, the picture is shaking during playback as executives are to be ignored. The new laptop is far superior to my old, so I don't know what is the issue. The new laptop is an i7, 64-bit, 8 Gig RAM, NVIDIA GeForce 650 M graphics card.

    Is there a different setting that I needed in Premiere Pro on the new laptop computer?

    Here are the details of video file:

    Image size: 720 x 480

    Sampling: 32

    Frame rate: 29.97

    Audio Format: 48000 Hz - 16-bit - stereo

    Project Audio Format: 48000 Hz - 32 bit floating point - stereo

    Total duration: 00 41; 31; 17

    Average: 3.6 MB/second

    Format of the pixels: 0.9091

    AVI file details:

    Contains 1 track (s) of the video and 1 audio track (s).

    Interleave: 1: 28.99

    Video track 1:

    Size is 8,34 G bytes (medium frame = 123,44 K bytes)

    There are 74673 keyframes.

    Frame rate is 29.970 fps

    Image size is 720 x 480

    The depth is 24 bits.

    Audio track 1:

    The size is 456,22 M bytes

    Rate is 48000 samples/s

    The sample size is 16-bit

    Taking your advice, I discovered an error of 'beginner '. When I imported the AVI from my office, I was a hypothesis that it was copied to the disk on my new laptop... Oops! The glitter is attributable to the project on the laptop trying to access the file through the network traffic. When I copied the avi file on my laptop, then created a new project in the key of my laptop - problem solved. Thank you, Jim, the suggestion on several disks. I'm immediately incorporate.

  • Problem with the date when you load the XML file into Oracle Database 10g

    Hi all

    I have the interface as shown in the screenshot below. In this document, among other things, I am mapping to an element XML file representing a date to an Oracle table column defined as DATE. The source and target columns are highlighted in the screenshot.

    ! http://img223.imageshack.us/img223/1565/odiscr275.jpg!

    When I run the interface, I get the following error message:

    java.lang.IllegalArgumentException to java.sql.Date.valueOf(Date.java:103)

    I guess that this is the conversion of the date!

    I already tried to replace SRC_TRADES. DEAL_DATE with TO_DATE (SRC_TRADES. DEAL_DATE, ' DD/MM/YYYY') on the implementation tab. This feature was not recognized when I executed the interface, so it did not work! The value of date in the XML file is in the format DD/MM/YYYY .

    I guess that Date SQL Oracle functions do not work in the implementation tab. Could someone let me know:

    1. what the Date Conversion function I could use instead?
    2. where can I find a reference to the methods/functions that I use in the implementation tab (if such a reference exists)?

    See you soon.

    James

    Hello.

    Try changing the area of execution at the staging area. Once you change it, write in the map box just SRC_TRADERS. DEAL_DATE. When you use TO_DATE, the source field typu should be varchar2, no date (as it is in store for your data source)

  • Fluid can´t checkerboard to be changed after you open the .html file

    Hey community!

    I m in collaboration with DW CS6 for a few weeks now and I m really happy on this subject!

    But now I ve you have a problem... I used google and this forum to find a solution to this, but didn t find anything. (Sorry, if I was too stupid to get the right keywords! )

    I ve created a new side with DW and wrote html pages: they are all layouts fluid grid and it was working fine until today. Each page is separated into a clean folder, including the 'boilerplate.css' and the 'respond.min' file, so the filetree looks like this (UPCASE = folder):

    ROOT:

    index.html

    boilerplate. CSS

    Respond.min

    OFFERS:

    offers.HMTL

    boilerplate. CSS

    Respond.min

    ALBUMS:

    Albums.html

    boilerplate. CSS

    Respond.min

    and so on...

    So, today, I tried to open the .html files, make changes, add new fliud-grid-div-tags and add new content. Pages always look lik I've left (layout correct, old fluid-grid-div-tags always in the right position, everythings fine), but the collums of the aren´t of fluid grid displays more and I have same can´t move the fluid grid div tags more

    In other words:

    The collums are still there, but the fliud-grid-div-tags are no longer displayed green and modifiable in their position and their size.

    I did something wrong? Or maybe it's just a special checkbox click in DW to edit (as I m now in a bad view DW or something like that?)?

    I hope you have a solution so I Don t have to rewrite all the pages yet to be able to change them!

    Greetings from the Germany,

    David

    PS: Screenshot

    adobe.jpg

    Hello community,

    I found the solution on my own in a video where someone deactevaded these green fields...

    So it s solved

    THX @ all

  • Root user cannot create VMS within the Resource Pool after you rename the Cluster

    Currently, vCenter manages two clusters. I renamed a single cluster and the root user seems now are not allowed to create a new Virtual Machine in resource pools to the title of the group with the changed name. I tried to change the name of the cluster to its original name... no luck.

    The root user can still create a VM under the individual cluster nodes, but not in a resource pool.

    The cluster that has not been renamed yet can be managed completely with the root user. Resource pools it allow me to create a virtual machine.

    I found this last issue and checked on each cluster node that the ACEDataRoleId is-1 for each section: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 1031192

    I am at a loss, any help would be greatly appreciated! Thank you!

    I think it's a bug. When I created a new data center and migrate all nodes in cluster about him, the permissions problem I was experiencing did not follow.

    Thank you for your help.

  • Removal of iTunes library after you delete the original files

    Hello

    I recently deleted my original music on my MAC files to create disk space and saved online. I use iTunes game

    But now iTunes is trying to play the existing library titles and do not find the files.

    Should I disable iTunes game preferences, delete all the songs in the library manually, then turn it Match? I'm afraid to do that as worries me that she lost library all together have to re-download my music collection and start over, which would take days of downloads and re - download can result.

    I also want to keep my playlists - I exported the on my desk so I think that should work in case they are deleted in the above process?

    Thanks for any help that anyone can give

    Try to right/option/ctrl/cmd (why not can it be consistent!) by clicking on a broken link in the library and using delete download (I hope this option presented even though iTunes cannot access the file that it should delete). Assuming this works, you should now be able to stream that trace or it re-download from the cloud. Repeat with a selection of titles once you know it works.

    TT2

  • After you import the MSWMM file in Windows Movie Maker, the system hangs

    MSWMM FREEZES (what a surprise)

    After opening MSWMM and import my project that the cursor movement will begin erraticaly i.e. movement one or two seconds after I try to point and the operation I required will take his time is erratic in the activation and the images are erratic when read.
    A minute or two later everything "freezes". I had to 'Leave' to turn the computer off, wait one minute, then restart. It's so bad now, I had to stop using MSWMM, it's useless and a great disappointment to me. When I exit MM the cursor is always random for about 10 seconds. How is the mighty Microsoft Corp. cannot challenge these problems and let us get our projects?
    All other times, the computer works fine. I have not downloaded anything to cause this problem. I've defragged, Spybotted Temp files deleted, disc error checked, tried different suggestions of Youtube, and restored hoping can solve it, no luck.
    I run WINDOWS XP, 128 processor ATHLON, 56 k MODEM, 1.5 GB RAM, 120 GB HDD, IE7, Service Pack 3.I have made 10 videos previously and had a bad light with MM before but he managed to cope, now that's too bad. So, does anyone have helpful suggestions to what I can do to fix this problem so I can continue with my projects, please?

    After opening MSWMM and import my project that the cursor movement will begin erraticaly i.e. movement one or two seconds after I try to point and the operation I required will take his time is erratic in the activation and the images are erratic when read.
    A minute or two later everything "freezes". I had to 'Leave' to turn the computer off, wait one minute, then restart. It's so bad now, I had to stop using MSWMM, it's useless and a great disappointment to me. When I exit MM the cursor is always random for about 10 seconds. How is the mighty Microsoft Corp. cannot challenge these problems and let us get our projects?
    All other times, the computer works fine. I have not downloaded anything to cause this problem. I've defragged, Spybotted Temp files deleted, disc error checked, tried different suggestions of Youtube, and restored hoping can solve it, no luck.
    I run WINDOWS XP, 128 processor ATHLON, 56 k MODEM, 1.5 GB RAM, 120 GB HDD, IE7, Service Pack 3.I have made 10 videos previously and had a bad light with MM before but he managed to cope, now that's too bad. So, does anyone have helpful suggestions to what I can do to fix this problem so I can continue with my projects, please?

    =======================================
    . MSWMM would be your Movie Maker project file if it is a
    complex big project that you have been working on for a while it
    can be to reach the limits of your system resources.

    Creation of several small projects is better than a large
    project. If you save all of them in the movie .wmv format you
    can import movie collected files and combine them into
    one final film.

    Also... it may be interesting to try to install IE8... I remember
    See the reports of users of Movie Maker who has
    with IE7. Personally, I went straight from IE6 to IE8.
    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    More information:

    Movie Maker 2 hangs and crashes
    http://www.Papajohn.org/mm2-issues-acceleration-and-codecs.html

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

Maybe you are looking for