ORA-02095 how to change db_domain

I tried with scope=spfile and failed (Release 10.2.0.5.0). Any Idea why ?
SQL> alter system set db_domain=my.new.domain scope=spfile;
alter system set db_domain=my.new.domain scope=spfile
ERROR at line 1:
ORA-02095: specified initialization parameter cannot be modified
SQL>
Best Regards
Dietmar

Thanks for all the answers.
I also thought that the database might have been started with pfile instead the spfile. But this was not the case:
SQL> show parameter spfile
NAME TYPE VALUE
spfile string /opt/oracle/10.2.0.5/dbs/spfileOMNIV.ora
Finally I found that the first answer from imran khan was correct, it's a pure syntactical issue:
SQL> alter system set db_domain="my.new.domain" scope=spfile;
System altered.
SQL>
So the error message before was quite misleading.
Thanks for the help
Regards Dietmar
Edited by: Dietmar Frädrich on Oct 5, 2011 4:19 PM
Edited by: Dietmar Frädrich on Oct 5, 2011 4:21 PM

Similar Messages

  • Database file changed ora-01251   how to solve?

    hai all,
    database file changed ora-01251 how to solve?
    suddenly changed when i try to connect Oracle Management server(OMS)
    thanks
    rcs
    =======
    os:winxp
    db:Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production
    SQL> Recover database
    ORA-00283: recovery session canceled due to errors
    ORA-01110: data file 9: 'F:\ORACLE\ORADATA\BIMPEX\BIMPEX.ORA'
    ORA-01122: database file 9 failed verification check
    ORA-01110: data file 9: 'F:\ORACLE\ORADATA\BIMPEX\BIMPEX.ORA'
    ORA-01251: Unknown File Header Version read for file number 9
    WRONG FILE TYPE
    F:\ORACLE\ORADATA\BIMPEX\BIMPEX.ORA
    ========

    Hi..
    Would like to know if any changes were done before this error popped up..
    From metalink :--
    >
    Error:     ORA-1251
    Text:     Unknown File Header Version read for file number %s
    Cause:     Read of the file header returned a record but its version cannot be
         identified. Either the header has been corrupted, or the file is not a
         valid database file.
    Action:     Have the operating system make the correct file available to the
         database, or recover the file.
    >
    If the file is corrupted, then take the datafile offline and open the database.If it was renamed, then you can check metalink Doc ID:      230449.1
    if the database is in archive log mode, you can refer to metalink Doc ID: 333620.1
    HTH
    Anand

  • How to change db_unique_name

    I cant change this parameter...
    SQL> alter system set db_unique_name='sth'
    ERROR at line 1:
    ORA-02095: specified initialization parameter cannot be modified
    Why? and how to change?
    /Gökhan Özkanat

    SQL> alter system set db_unique_name='STH' SCOPE=SPFILE;
    system altered..
    But when i check it..
    select name from v$database;
    TEST1 and not STH...The db_unique_name is different for each database, which is requirement for the data guard configuration and this is for a globally unique database name.
    SQL> select db_unique_name from v$database;
    can be different than
    SQL> select db_name from v$database;

  • How to change archive destination folder

    Hi,
    Im using oracle 11g,
    when i run this cmnd, im seeing the following
    sql> archive log list
    archive log list
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination /home/oracle/archivelog
    Oldest online log sequence 2277
    Next log sequence to archive 2279
    Current log sequence 2279
    the disk space is low on this destination folder
    So I need to change the archive destination new folder /u03/arch
    Please let me know how to change the destination
    Thank you
    Edited by: praveenb on Nov 3, 2011 6:22 AM
    Edited by: praveenb on Nov 3, 2011 6:24 AM

    Hi TYL,
    I run the command
    SQL> show parameter log_archive_dest
    NAME TYPE VALUE
    log_archive_dest string
    log_archive_dest_1 string location=/home/oracle/archivel
    og
    log_archive_dest_10 string
    log_archive_dest_2 string
    log_archive_dest_3 string
    log_archive_dest_4 string
    log_archive_dest_5 string
    log_archive_dest_6 string
    log_archive_dest_7 string
    log_archive_dest_8 string
    NAME TYPE VALUE
    log_archive_dest_9 string
    log_archive_dest_state_1 string enable
    log_archive_dest_state_10 string enable
    log_archive_dest_state_2 string enable
    log_archive_dest_state_3 string enable
    log_archive_dest_state_4 string enable
    log_archive_dest_state_5 string enable
    log_archive_dest_state_6 string enable
    log_archive_dest_state_7 string enable
    log_archive_dest_state_8 string enable
    log_archive_dest_state_9 string enable
    SQL>
    Im seeing      ORA-00257: archiver error. Connect internal only, until freed. (DBD ERROR: OCISessionBegin)
    Please let me know how to solve this issue
    Thanks
    Edited by: praveenb on Nov 3, 2011 7:31 PM

  • How to change a timezone for job

    Windows Server 2008 64 bits - Oracle 11g (11.02.0).
    In Oracle Enterprise Manager, in Space summary, there are some Segment Advisor Recomendations.
    When I try to use the option Shrink for some of them, I have errors ORA-01878 and ORA-06512.
    I discovered that the problem happens because the time zone in the screen for schedulling this shrink is not correct. Even if I use the option "immediately", I have the same errors.
    So everytime I want to schedule a shrink, I have to change the time zone in this screen...
    Does anybody know how to change this time zone for these particular tasks (shrink) permanentely ?
    And what does this change affect the rest of the system ? I don't think that the database works under this time zone...
    Thanks in advance,
    Eduardo

    Hello Ramya,
    Did you check in [SCN|How to color a row of  alv grid]
    Thanks!

  • How to change parsing schema for REST

    Hi all,
    I'm trying to test the new REST Webservice feature, but this leads to an error:
    Using Apex 4.2.1.00.08, Listener 2.0.1.64.14.25 I set up a simple WebService (method: GET, format: JSON) which
    querys a table.
    When I try to test my webservice (using "Test" button) the following error is shown:
    Request Path passes syntax validation
    Mapping request to database pool: PoolMap [_poolName=apex, _regex=null, _workspaceIdentifier=null, _failed=false, _lastUpdate=-1, _template=null, _type=REGEX]
    Applied database connection info
    Attempting to process with PL/SQL Gateway
    Not processed as PL/SQL Gateway request
    Attempting to process as a RESTful Service
    Determining if request can be dispatched as a Tenanted RESTful Service
    Request path has one path segment, continuing processing
    No Tenant Principal established yet, continuing processing
    APEX_LISTENER pool exists, continuing processing
    Matching tenant exists, continuing processing
    modul/template/ matches: modul/template/ score: 0
    Choosing: oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as current candidate with score: Score [handle=JDBCURITemplate [scopeId=null, templateId=1019223475312614|5204902308237886, uriTemplate=modul/template/], score=0, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true]
    Determining if request can be dispatched as a Tenanted RESTful Service
    Request path has one path segment, continuing processing
    Tenant Principal already established, cannot dispatch
    Chose oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as the final candidate with score: Score [handle=JDBCURITemplate [scopeId=null, templateId=1019223475312614|5204902308237886, uriTemplate=modul/template/], score=0, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true] for: GET modul/template/
    Choosing: oracle.dbtools.rt.jdbc.entity.JDBCTenantDispatcher as current candidate with score: Score [handle=oracle.dbtools.rt.jdbc.entity.JDBCTenantDispatcher$TenantTarget@1537060, score=1, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true]
    Chose oracle.dbtools.rt.jdbc.entity.JDBCTenantDispatcher as the final candidate with score: Score [handle=oracle.dbtools.rt.jdbc.entity.JDBCTenantDispatcher$TenantTarget@1537060, score=1, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true] for: GET prx/modul/template/
    prx/modul/template/ is a public resource
    modul/template/ is a public resource
    Using generator: oracle.dbtools.rt.json.query.JSONQueryGenerator
    Performing JDBC request as: POFFICE
    Error during evaluation of resource template: ORA-00942: Tabelle oder View nicht vorhanden
    I see what is going wrong: "Performing JDBC request as: POFFICE". JDBC is using a wrong schema ("POFFICE").
    So, my question is, how to change the parsing schema for JDBC/WebService?
    Thanks a lot,
    Michael

    jfle wrote:
    Yes - this is the reason,
    but is there a way to change or delete the first schema provisioned?See {message:id=3757162}
    We have deleted the poffice assignment to the workspace, but the REST-service executes with poffice?Don't know could be a bug.
    May be try exporting you restful webservice definition > Edit the export file in textpad/notepad and verify the parsing schema
    You will see a block something like below, there just amend the p_parsing_schema to desired > and then import it back
    wwv_flow_api.create_restful_module (
      p_id => 7113266627142076447 + wwv_flow_api.g_id_offset
    ,p_name => 'oracle.example.vikram2'
    ,p_parsing_schema => 'APX'
    ,p_items_per_page => 25
    ,p_status => 'PUBLISHED'
      );

  • How to change the bluetooth name? in my pc,

    Hi there!
    How to change the Bluetooth name for my N70.
    I can change it in my N70, but the first installed name still pops up on my computer. Can't find it anywhere so i can have the same name in my phone as on the computer. Is there some kind of registry that keeps the first name maybe??
    Any ideas?
    Owned: Nokia 1600 - 3120 - 5110 - 6110 - 7110 - 6310i - N70 - N72.
    Using now: 6310i & N70 - N72

    I am not sure about how to change SERVICE_NAME in PL/SQL Developer (if at all it can be done in that ), but you will have to change the SERVICE_NAME in the TNSNAMES.ORA file.
    1. Locate the entry for PLSExtProc in the file tnsnames.ora at:
    $ORACLE_HOME/network/admin/tnsnames.ora
    2. Change the SERVICE_NAME = ORCL
    3. Save and reconnect
    Aalap Sharma :)

  • How to change the SERVICE_NAME in PL/SQL

    The service_name in PL/SQL Developer is PLSExtProc,but my database's ture name is ORCL.How to change the service_name in PL/SQL Developer?

    I am not sure about how to change SERVICE_NAME in PL/SQL Developer (if at all it can be done in that ), but you will have to change the SERVICE_NAME in the TNSNAMES.ORA file.
    1. Locate the entry for PLSExtProc in the file tnsnames.ora at:
    $ORACLE_HOME/network/admin/tnsnames.ora
    2. Change the SERVICE_NAME = ORCL
    3. Save and reconnect
    Aalap Sharma :)

  • How to change the Approval name in OTL Timesheet

    Hi Guru's,
    We are facing one issue in OTL Module.
    - We define Approval Style with Approval Style Components as 1. Payroll- Auto Approve 2. Projects- HR Supervisor.
    Now the HR Supervisor went on leave with out setting up the vacation rules. Employees are already submitted their Time sheets for this particular period.
    Not sure how to assign this time approvals for the different supervisor.
    If any one have any idea about it kindly share your thoughts with me.
    Regarding the setup part how to system identify the employee as HR Supervsor, is it supervisor for that employee?
    Regards,
    Joshna.

    I am not sure about how to change SERVICE_NAME in PL/SQL Developer (if at all it can be done in that ), but you will have to change the SERVICE_NAME in the TNSNAMES.ORA file.
    1. Locate the entry for PLSExtProc in the file tnsnames.ora at:
    $ORACLE_HOME/network/admin/tnsnames.ora
    2. Change the SERVICE_NAME = ORCL
    3. Save and reconnect
    Aalap Sharma :)

  • How to change the from name in worflow flow notification to manager

    Hi ,
    I want to change a from_role name in notification message to approval in Internet Expenses workflow.
    Requirements is like this: In Internet expense  a supervisor create a expense report behalf of  his subordinates. when he submit for the manager approval. in the notification of Manager approval it shows the subordinate name in the 'from'  this is the standard.. but i need to display the name of creator that is supervisor name in the from.
    please provide a solution for this,,.. your early response will be highly appreciated..
    Thanks and Regards
    Mohsin

    I am not sure about how to change SERVICE_NAME in PL/SQL Developer (if at all it can be done in that ), but you will have to change the SERVICE_NAME in the TNSNAMES.ORA file.
    1. Locate the entry for PLSExtProc in the file tnsnames.ora at:
    $ORACLE_HOME/network/admin/tnsnames.ora
    2. Change the SERVICE_NAME = ORCL
    3. Save and reconnect
    Aalap Sharma :)

  • How to change timeout parameter value in Oracle 10g R2

    Anyone knows how to change timeout parameter value in Oracle 10g Database R2?

    Waheed Azhar wrote:
    actually i am getting ORA-01013 exception which directly relates to the timeout value but i think it's hidden parameter...What makes you think it's a hidden parameter?
    A search of MetaLink for that error turns up a number of hits, most of which a very situational specific. Exactly what are you doing when you get this error? Are you connecting over an ODBC connection? Are you getting it on a connection request? At db shutdown? During a long-running query?

  • How to change the Character Set from AL32UTF8 to WE8DEC

    Hello!!
    I want to know how to change the character set in the database from AL32UTF8 to WE8DEC.
    I tried to use the comand ALTER DATABASE CHARACTER SET but I got an error because WE8DEC is not a superset of AL32UTF8.
    I need to import tables from a server that uses WE8DEC. So when I do the import to my server, wich has AL32UTF8 , I can't import the rows that include an Ñ.
    So I want to change the caracter set to WE8DEC. How can I do it?
    Is it needed to change the language configuration? The remote server has AMERICAN_AMERICA, and my server has MEXICAN SPANISH_MEXICO (both uses text in spanish).
    Thanks a lot!!

    When you export from WE8DEC server what did you use
    for NLS_LANG char set? And when importing?
    The export was done in another computer because I can't do the export in the server (I have 10g, and the remote server has 9i and the export is not working). In my server, when I tried to do the import, the NS_LANG value was MEXICAN SPANISH_MEXICO.WE8MSWIN1252.
    When I try to import to my database I got the error:
    import done in WE8DEC character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    export client uses WE8MSWIN1252 character set (possible charset conversion)
    . importing USRMCR06's objects into PRIMARIZACION
    . . importing table "CHG_FONDOS_MARZO_CD_MOR"
    IMP-00019: row rejected due to ORACLE error 12899
    IMP-00003: ORACLE error 12899 encountered
    ORA-12899: value too large for column "PRIMARIZACION"."CHG_FONDOS_MARZO_CD_MOR".
    "NOMBRE" (actual: 41, maximum: 40)
    Column 1 16623436
    Column 2
    Column 3 Pymes_1
    Column 4

  • Problems with spfile. How to change database parameters

    Hello
    My Oracle database is 10.2.0 and SAP version is NW2004s. I am having errors in alert.log file
    Thread 1 cannot allocate new log, sequence 3959     
    Checkpoint not complete                             
    Sun Aug 27 01:38:12 2006                            
    I have changed the parameter log_buffer from 14274560 to 1048576 following the SAP Note 830576. I changed the pfile and created a spfile from this pfile. Now the pfile and spfile reflect the parameter log_buffer as 1048576.
    But surprisingly, when I say
    SQL> show parameter log_buffer
    NAME                               TYPE                VALUE
    log_buffer                         integer         14274560
    Even after pfile and spfile reflecting 1048576 value for log_buffer, the database is showing this old value. Kindly let me know how to change the log_buffer parameter.

    hi,
    check which file it is reading
    sql>sho parameter spfile
    If it is reading spfile
    issue alter system set log_buffer=<value> scope=spfile;
    down and bring up database
    If it is not reading spfile means reading pfile change parameter in INIT<SID>.ORA file
    move all files which starts with spfile in dir $ORACLE_HOME/dbs to backup location
    connect to database
    create spfile from pfile
    check $ORACLE_HOME/dbs only one spfile<sid>.ora exists
    bring up database
    and look for log_buffer
    I guess ur changing in some other file which oracle is not reading.
    or u can issue startp pfile='path';
    then u can create spfile and issue startup force.
    regards
    Vinod

  • How to change the database in Crystal reports

    To give an overview there is one project going on where the oracle database is getting migrated from 10g to 11g.
    All the details of database like IP, port etc are changing as part of this.
    I can see the driver name configured as crdb_ado (Custom driver).
    We have an test environment for 11g against which we have to point all the reports and test it.
    Could you please let me know the below queries
    Where and how to change the IP details in the crystal reports to point to new test and prod databases.
    Overview on this crdb_ado driver
      Basically the database is getting changed and we want the reports to point and run from the new database.
    Thanks

    Hi Vissu,
    Thanks for your reply.
    We need to change the database from the reports which are already running from central management console.
    I can see a custom driver crdb_ado is being used and it connects to a database.
    Could you please let me know where the database configuration is done.
    Ideally we need to add one more database to a config file which i am not able to find.
    I guess it should be similar to tnsnames.ora file in oracle where the different databases are stored.
    From the above image I would like to know where the server details (NECTAR_Prod) would be configured.
    Thanks in advance

  • How to change the ORACLE_HOME location in listener

    Hi,
    I have 2 instances under one oracle_home.
    I am planning to install new oracle home in another location and move one instance to that new oracle home.
    My doubt is, how to change the listner.ora such that one of the instances should point to new oracle home.
    1) Do I need to copy the listener.ora from old oracle home to new home and put only the new instance details in that?
    I am not understanding how to deal with listener.ora without disturbing the old instance listener.
    Thanks,
    Mahi

    if we bounce the listener the connections to other might be lost.NO!
    The listener contacts the DB to establish the initial connection between client & DB.
    After the connection between DB & client has started, the listener has NO involvement between DB & client.
    Stopping the listener has NO impact on existing sessions.
    Edited by: sb92075 on Jul 28, 2009 4:37 PM

Maybe you are looking for

  • SAP 64bit Linux application server (Linux on Power) memory config issues

    Hello Everyone, Let me give some background. I have been tasked with replacing our AIX6.1 SAP application server with new Linux on Power servers (SLES11SP3) Our current production BW application servers (AIX) are running fine given their current setu

  • CVI7 initial partial order is created with status SY but it is not distrib.

    hi, In CVI7 initial partial order is created with status SY but it is not distributed to recepient list attached with documnet which required to be sent, Please any one can let me know the process flow for this,

  • Down Load to Windows ME

    My Linux machine is not connected to the Internet. I downloaded the files I need to a Windows ME machine. Is there a way to copy those files to a cd so the Linux machine will read them?

  • XL Reporter Peoblem

    Hi In XL Reporter we are not able to do  print the query in xl sheet. Problem is displaying ( Security Settings in Microsoft Excel Prohibit XL Reporter from Running .

  • Western Digital drive won't format to correct capacity

    I am using a G4 tower as a vehicle to duplicate one laptop drive to another via the means of two connectors which allow me to attach them to the IDE chains. (This is much faster than using an external dump drive as an intermediary because I only have