Alter system reset   give error

hi
I run following command but not working why ?
according oracle document we can reset parameters but not working .
Oracle - 9i & OS - Redhat Linux
Thanks
SQL> alter system set sql_trace=true scope=both;
System altered.
SQL> show parameter sql_trace;
NAME TYPE VALUE
sql_trace boolean TRUE
SQL> alter system reset sql_trace scope=both;
alter system reset sql_trace scope=both
ERROR at line 1:
ORA-00905: missing keyword
SQL> alter system reset sql_trace ;
alter system reset sql_trace
ERROR at line 1:
ORA-00905: missing keyword
SQL> alter system reset sql_trace scope=both sid='dbsd';
SQL> show parameter sql_trace;
NAME TYPE VALUE
sql_trace boolean TRUE

The command can be used, it doesn't matter if this is a single instance or RAC, it will work on both environments.
SQL> show parameter audit_trail
NAME                                 TYPE        VALUE
audit_trail                          string      NONE
SQL> alter system set audit_trail=DB scope=spfile;
System altered.
SQL> startup force
ORACLE instance started.
Database mounted.
Database opened.
SQL> show parameter audit_trail
NAME                                 TYPE        VALUE
audit_trail                          string      DB
SQL> alter system reset audit_trail scope=spfile sid='*';
System altered.
SQL> startup force
ORACLE instance started.
Database mounted.
Database opened.
SQL> show parameter audit_trail
NAME                                 TYPE        VALUE
audit_trail                          string      NONEThe fact that it will write the spfile is not 'Dangerous' as someone previously declared, it must delete entries from the spfile if required so the parameter takes its default value at startup.
In case the parameter is not found at the spfile, an error will be displayed:
SQL> alter system reset service_names  sid='orcl';
alter system reset service_names  sid='orcl'
ERROR at line 1:
ORA-32010: cannot find entry to delete in SPFILEThe sid is a required parameter when resetting an spfile parameter.
~ Madrid
http://hrivera99.blogspot.com/

Similar Messages

  • Alter system reset aq_tm_processes

    Hi!
    Trying to reset aq_tm_processes. First some background:
    The aq_tm_processes parameter was first set in the pfile. We had to startup the DB using this file (tried removing it from the pfile also, not sure that worked as show parameter showed aq_tm_processes = 0).
    But as we are using streams, aq_tm_processes, should not be set.
    Well, I have done this:
    1. Took down the DB.
    2. Set the aq_tm_processes in the pfile to 2. (So I can issue the alter system command)
    3. Startup nomount from pfile.
    4. Created a new spfile form pfile.
    5. Startup DB.
    6. alter system reset aq_tm_processes scope=spfile sid='*';
    7. Restarted the DB.
    Is the aq_tm_processes now reset?
    Show parameter shows the value 0.
    alter system reset aq_tm_processes scope=spfile sid='*'
    ERROR at line 1:
    ORA-32010: cannot find entry to delete in SPFILE
    It seems that the value is reset (as the parameter can not be found in the spfile). But Im still worried. Should the value show 0 if the parameter is reset?
    Regards
    Peter

    Peter, your question is not clear. Do you want the parameter to be set to 0? Run "show parameter aq", look at the value, if it is what you want, no problem. If it is not, set it to whatever value you want. Setting aq_tm_processes to 0 or not having it in your parameter file have the same effect.

  • Material- chapter ID is not maintained system should give error message

    Dear All
    Requirement is as that while creating the sale order & if the material- chapter id is not maintained then system should give error message saying that the combination is not maintained.
    Client is using the TAXINN procedure.
    I think in TAXINJ it works well.
    Whether it can be done in TAXINN also through SD Module itself.cleint is using the automatic creation of excise invoice.
    Kindly help .
    with regards
    Rohit

    hi rohit,
    For TAXINN procedure system will not throw it as an error.
    if you want it to throw:
    use MV45AFZZ : USEREXIT_SAVE_DOCUMENT.
    say your SAP system to compare  and check for the values in J_1IVCHID-J_1ICHID
    if it is not equal to.
    then throw an ERROR message against it when saving the document.
    balajia

  • Alter system reset

    I am doing the following to change the undo_suppress_errors parameter value, but the problem is that when I am resetting the parameter value back to its default, it is not doing that.
    SQL> show parameters undo_suppress
    NAME TYPE VALUE
    undo_suppress_errors boolean FALSE
    SQL> alter system set undo_suppress_errors=TRUE scope=MEMORY;
    System altered.
    SQL> show parameters undo_suppress
    NAME TYPE VALUE
    undo_suppress_errors boolean TRUE
    SQL> alter system reset undo_suppress_errors scope=MEMORY sid='db1_inst_01';
    System altered.
    SQL> show parameters undo_suppress
    NAME TYPE VALUE
    undo_suppress_errors boolean TRUE
    This value should be FALSE.
    thanks,
    aks

    ALTER SYSTEM RESET <PARAMETER_NAME> SCOPE=MEMORY SID=<SID> DOESN'T WORK
    this is bug 2146614, fixed in version 11.0 !

  • When I am making return order on cancelled invoice system should give error

    Experts,
    In this scenario I have cancelled the invoice 1234567 and when I am creating return order with reference to the cancelled invoice 1234567,system is accepting it
    Is there any process where the system should give the error
    Regards
    Kiran

    Hi,
    you should go for enhancement,use the exit MV45AFZZ
    Pass the XVBAK - VGBEL to VBUK - VBELN and check VBUK - VBTYP = N (Invoice cancellation) system throw an error.
    you can specify the message Ex: Return order can not be processed in spite of cancelled invoice.
    take ABAPer help.
    Regards
    Ram

  • New WIN7 System, FFox gives error "Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory" - will not go to any site.

    New Windows 7 computer. After installing Firefox, every time I bring it up I get the following message:
    "Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory. Please check that this directory has no read/write restrictions and your hard disk is not full or close to full. It is recommended that you exit the application and fix the problem. If you continue to use this session, you might see incorrect application behaviour when accessing security features."
    Then Firefox comes up, but will not function at all - can enter url address, but will not respond to ANY clicks, so can not go to any site.

    This link shows how to fix this - https://support.mozilla.com/kb/Could+not+initialize+the+browser+security+component

  • Should Give Error Message

    Hi all
    Purchasing organization 001 assigned to company code 001,
    when user want to create Vendor with P.Org 001 and comapny code 002
    the system should give error message
    During Vendor creation ,if the wrong purchase organisation is selected, system is allowing to create the vendor master.
    Even though ,I have done the Setting in the following , the error message is not reflectiog
    1. Message Control for Vendor Master Data
    2.T.code : OBMSG
    3.T.code : OBA5
    Kinldy let me know the steps if possible let me know userexit to solve this......
    Thanks & Regards
    chand

    Hi,
    In the exit FM EXIT_SAPMF02K_001 you have your company code and Purch. Org. in the following fields:
    I_LFB1-BUKRS (Company Code the vendor is being created in)
    I_LFM1-EKORG (Purch. Org the vendor is being created in)
    Having above, you can check in the table T024E ( here you have assignment of Purchasing Org to Company Code) if there is assignment between Purch. Org and Company Code.
    Hope it helps.
    Regards,
    w.

  • Why does VersaMail cause system reset after HotSync?

    On a clean factory default setup Treo 650, I can set up one account -- my SprintPCS account -- on VersaMail and successfully use VersaMail to download and send emails. After a HotSync with my Outlook Calendar, Contacts, Memos and Tasks, I see the following errors in my sync log. Then, when I attempt to launch VersaMail, the 650 always immediately performs a system reset.
    Error loading preferences for account '': An error occured while attempting to retrieve data from the device.
    Error loading preferences for account '': An error occured while attempting to retrieve data from the device.
    Error loading preferences for account '': An error occured while attempting to retrieve data from the device.
    Error loading preferences for account '': An error occured while attempting to retrieve data from the device.
    Error loading preferences for account '': An error occured while attempting to retrieve data from the device.
    Error loading preferences for account '': An error occured while attempting to retrieve data from the device.
    Error loading preferences for account '': An error occured while attempting to retrieve data from the device.
    Error loading preferences for account 'SprintPCS': An error occured while attempting to retrieve data from the device.
    OK VersaMail with 8 message(s)
    Thanks in advance for help on this, PalmOne. SprintPCS technical support has absolutely no experience as yet on this sort of problem. I was on the line for over an hour covering the same ground I had before calling them. Because this is related to two PalmOne software products -- HotSync and VersaMail, I figure you guys would have a better idea where to start troubleshooting and ultimately resolving this.
    Thanks again!
    Post relates to: Treo 650 (Sprint)

    let's see... digging back into the memory banks here...
    I think I went to www.palmgear.com, and searched for filez, and found it there. to be more specific about your question, though, are you asking how to install files to palm in general (i doubt that just from reading your thread), or rather how to find the filez file in the first place?
    for ease, anyway, here's the URL for filez
    http://www.palmgear.com/index.cfm?fuseaction=software.showsoftware&PartnerREF=&siteid=1&prodID=9992
    strange, too - and you might watch out for this if you have agendus installed on your treo - now when i click on the calendar button next to the phone button, the palm does a soft reset - VERY annoying. I haven't gone through the trouble of finding a fix for that one yet, but will search one of these days...

  • ALTER SYSTEM  ARCHIVELOG CURRENT

    Greeting to all ;
    I am trying to froce log switch but i am getting error.
    My db version is 10.2.0.4 on Oracle Linux 5.5.
    SQL> select GROUP# , ARCHIVED , MEMBERS , STATUS , FIRST_CHANGE# from v$LOG;
        GROUP# ARC    MEMBERS STATUS          FIRST_CHANGE#
             1 YES          1 INACTIVE              1499347
             2 NO           1 CURRENT               1499349
             3 YES          1 INACTIVE              1499344
    SQL> ALTER SYSTEM ARCHIVELOG CURRENT;
    ALTER SYSTEM ARCHIVELOG CURRENT
    ERROR at line 1:
    ORA-02065: illegal option for ALTER SYSTEM
    SOURCE_LINK :  ALTER SYSTEM SWITCH LOGFILE vs ALTER SYSTEM ARCHIVELOG CURRENT
    Question 2 :
    Each online or archived redo log file is uniquely identified by its log sequence number
    Online redo log  file LSN  and  archived redo log  LSN -  should be  same or  may different ?
    For ex : 
    Suppose , online redo logfile  have  bunch of redo entries , - >  when log switch occurs , LSN is created.
    When those entries reaching archive destination    - > does oracle change LSN ?
    Thanks ..

    replace yours sequence 16604 with my sequence 46
    RMAN> backup validate archivelog from sequence 46 until sequence 46
    2> ;
    Starting backup at 27-FEB-09
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=143 devtype=DISK
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=46 recid=42 stamp=679883682
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
    Finished backup at 27-FEB-09After doing it i opened the archivelog of sequence 46 at editor and deleted some binary info from that and then saved that file.
    RMAN> backup validate archivelog from sequence 46 until sequence 46
    2> ;
    Starting backup at 27-FEB-09
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 02/27/2009 03:05:58
    RMAN-06059: expected archived log not found, lost of archived log compromises re
    coverability
    ORA-19625: error identifying file F:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\P
    ROD\ARCHIVELOG\2009_02_27\O1_MF_1_46_4TH9F0OH_.ARC
    ORA-27046: file size is not a multiple of logical block size
    OSD-04012: file size mismatch (OS 10622798)Khurram

  • Alter system kill session always gives ORA-00030

    Hello
    Im writing a tool for oracle and one of its features requires killing user session (Im connecting with JDBC). The database Im testing on is 11.2.0.2.
    I find the sid and the serial# without problems, than I issue the "alter system kill session 'x,y' immediate" command.
    So far so good, but I always get an ORA-00030 error saying this session cannot be found.
    I double check and the session does exist in the database.
    Because I want the tool to make the kill, killing via the OS is not an option.
    Its doesn't look like a permission problem because it gives the same error even when connected as system.
    Whats wrong ? does this kill command work at all ? Whats its limitations ?
    Thanks
    Guy Shilo
    Edited by: user13266377 on Jun 9, 2011 1:15 AM

    user13266377 wrote:
    Hello
    Im writing a tool for oracle and one of its features requires killing user session (Im connecting with JDBC). The database Im testing on is 11.2.0.2.
    I find the sid and the serial# without problems, than I issue the "alter system kill session 'x,y' immediate" command.
    So far so good, but I always get an ORA-00030 error saying this session cannot be found.
    I double check and the session does exist in the database.
    Because I want the tool to make the kill, killing via the OS is not an option.
    Its doesn't look like a permission problem because it gives the same error even when connected as system.
    Whats wrong ? does this kill command work at all ? Whats its limitations ?
    Thanks
    Guy Shilo
    Edited by: user13266377 on Jun 9, 2011 1:15 AMyou cannot kill the session already killed or disconnected from the session.
    refer the link:- this may help you to write scripts to kill session using dbms_scheduler
    Grant restricted and kill sessions.

  • While Changing the status system gives error

    Dear Experts,
    In Solution Manger,  While changing the status from Tcode SE38 with Program CRM_SOCM_SERVICE_REPORT system gives error.
    Document 8000002519 refused for technical reasons: ERROR_FREE
    Message no. SOCM_ACTION_LOG203
    Diagnosis
    The status value cannot be changed.
    The document may no longer be modifiable as a result of its status, or it may be being edited by another user.
    System Response
    This change transaction is skipped during report processing.
    Procedure
    Analyze the corresponding document during transaction processing and perform the status change manually if necessary.
    Also if i select the status as in process, then it executes sucessfully.  Please help me in this.
    Ramesh Jaiswal
    9867936636

    Hi Ramesh,
    Pls check your SP level because till SP17 this (CRM_SERV_REPORT) Tcode is not present
    I just checked.
    So it seems this is availabe only after SP18.... we can use the above report.
    Kindly confirm once you solve your problem.
    Dirk
    Can you please tell us a document which wil tel us what technical things have been changed in this new SP18.for e.g the source for this information.
    Regards
    Prakhar

  • Startup command starts database but alter database open read only gives error

    Hi,
    I'm having some strange behavior. I've 10.2.0.3 database on windows 2003.
    The startup command starts database without any issues.
    But if I try following it gives error.
    startup mount (successful no errors)
    alter database open read only; gives error that file Mnnnnnn is missing.
    Why this is happening and how to fix it?
    Thanks.

    You really need to show us exactly what Oracle is telling you, using copy and paste, so we can have some clue.  You can hide details like instance and host names if they show up.
    I'm wondering if you had some messed up offline datafile in a tablespace, where Oracle handles it with startup, but gets upset when you try to open read-only.  It's some bizarro sequence of events like: add a datafile to a tablespace, decide that was a mistake, alter it offline, then remove it from the OS without telling Oracle any more about it.  I've come back from vacation to find scenarios like this, it winds up being a time-bomb trying to recreate a standby later.  Or something like that, I could be unremembering some details.

  • HT1212 iPhone diabled, tried to use iTunes to restore, but iTunes gives error message (0XE8000084). Now what to try to reset iPhone?

    iphone disabled, tried to use iTunes to restore, but iTunes gives error message (0XE8000084). How to restore iPhone?

    Try here   =   http://support.apple.com/kb/TS3221

  • What is the deal with System Reset/Refresh in Windows 8.1?

    Either this is a serious defect with the Windows Store-provided update for Windows 8.1 or Microsoft has done this intentionally but doing an update to Windows 8.1 from the Windows Store-provided service nukes your ability to use System Reset/Refresh.
    It claims files are missing which means that the update erased the necessary reset files from the HDD but didn't replace them during the update with Windows 8.1 compatible equivalents.
    I had to do a System Reset on one of my computers and I ended up having to get a Windows 8.1 ISO from a less than reputable source just to get my hands around the necessary missing file and now I can't even activate it with my Windows 8 Pro upgrade
    key. None of this would have been a problem if I could just perform the System Reset in place on Windows 8.1 and reset it back to a neutral, clean Windows 8.1 installation.
    I've since managed to find a way to do the install the way I needed to but can someone please give me some clarity on this subject so I don't have to go through all this again (as I've got two other computers that run a Windows Store-updated Windows 8.1
    installation and at least one of them is probably due for its own System Refresh)? What can I do to refresh a valid Windows 8.1 installation if I need to?
    EDIT: Oh, and one more thing: one of those computers is an OEM-installed Windows 8 copy that was subsequently upgraded to 8.1 yet it too suffers from the "missing files" error when a System Refresh/Reset is requested. What
    am I supposed to do here if I want to do a System Refresh to this computer? Will the OEM key inside it activate if I go outside the operating system to install it anew?

    C:\Program Files (x86)\NeoSmart Technologies\EasyBCD\bin>net start sppsvc
    The Software Protection service is starting.
    The Software Protection service could not be started.
    A system error has occurred.
    System error 5 has occurred.
    Access is denied.
    This is the error from running net start sppsvc in an elevated command prompt.  Software Protection Service (sppsvc.exe) is getting an "access denied" error and code 0xC0000022.  Ok, let me break it down for you...  And this is with a fully
    legit VL key that works on several PC in our school that are
    First, you perform a System Refresh for what ever reason.  After the Refresh, within a few minutes get the Windows version watermark in the lower left corner of your desktop that shows the windows version and build.  Then after that
    you get another watermark above the first watermark that says you need to activate by going to **Change PC Settings***.  From there you are on the activation screen and its state with out doing anything...**Activation Error Description Not Found.** 
    When you click "Activate Now" nothing happens.  You briefly see "checking this key" and then nothing.
    This is where the above mentioned Software Protection service  is failing. <---  Needs to be fixed.
    Now at this point I cannot attempt to do an online activation because the sppsvc.exe is producing the 0xC0000022 error
    I cannot do a phone activation because there is no installation ID...all the boxes are blank...because the sppsvc.exe is producing the 0xC0000022 error.
    Oh, and I cannot re-type my product key because...you got it...because the sppsvc.exe is producing the 0xC0000022 error.....
    The Software Protection service runs when I activate my PCs that are getting a "Clean" installs, Just to test the theory I did a refresh install on the "clean" installed pc and **VOILA** SAME ERROR....
    Let me clarify that one of the PCs has a dual partition and a complete re-install of the OS will mean some extensive work fixing the bootloader as well.  I have 150 PCs to refresh and this is what happened on the first one, then the 2nd.  I am
    running these on a TechNet VL and have never had these issues in the last 3 years.
    Listen to these people. ALL are having the same issue.  There has to be a process to fix it.  As difficult as it may seem, some of us don't mind spending a few extra minutes running administrative tasks to fix this instead of re-installing. 
    That's the novice way to fix the issues and the most painstaking for those of us who work 12-to 14 hrs a day and don't have the time.  We need this fixed.  PLEASE PLEASE
    Pretty please.  Please take the time to take ownership of this issue and pioneer a real fix for the hundreds maybe thousands that are having or have had (broke down and did a "clean" install) this EXACT issue.  Thank you so much for your help!!!!!

  • An error has occurred. Please try again, and if the problem persists, contact your help desk or system administrator. (Error 3000)

    Hi,
    When i open my Password Reset portal then provide Username credentials in text box and click on next then asked the Securites Question Answers to me,i provide the correct Answers to the securites Question after this password reset portal asked
    me New Password and Confirm Password then click on next for resetting the password then gives below Error only for 2 Users. and all other users are working fine.
    An error has occurred. Please try again, and if the problem persists, contact your help desk or system administrator. (Error 3000:)
    Regards
    Anil Kumar

    Anything in the event log?

Maybe you are looking for