Clearing (removing) an SPFILE parameter
11.2.0.3/Solaris
I want to clear the value set for LOCAL_LISTENER and set it to null. As per doc, I have to use RESET command. But RESET works only with SCOPE= SPFILE . ie. I have to bounce the DB to bring this change into effect.
SQL> show parameter spfile
NAME TYPE VALUE
spfile string /u01/app/oracle/product/11.2.0
/dbhome_1/dbs/spfileorcl.ora
SQL>
SQL> show parameter LOCAL_LISTENER
NAME TYPE VALUE
local_listener string (DESCRIPTION=(ADDRESS=(PROTOCO
L=TCP)(HOST=192.168.0.182)(POR
T=1892)))
SQL>
SQL>
SQL>
SQL> alter system reset LOCAL_LISTENER scope=both;
alter system reset LOCAL_LISTENER scope=both
ERROR at line 1:
ORA-32029: resetting with SCOPE=MEMORY or SCOPE=BOTH is currently not supported
SQL> alter system reset LOCAL_LISTENER ;
System altered.
SQL> show parameter spfile
NAME TYPE VALUE
spfile string /u01/app/oracle/product/11.2.0
/dbhome_1/dbs/spfileorcl.ora
SQL>
------ Still showing the old value as a bounce is required
SQL> show parameter LOCAL_LISTENER
NAME TYPE VALUE
local_listener string (DESCRIPTION=(ADDRESS=(PROTOCO
L=TCP)(HOST=192.168.0.182)(POR
T=1892)))Is setting the parameter to empty string supported in Oracle . It seems to have worked for me, But i would like to know if it is recommended.
SQL> show parameter LOCAL_LISTENER
NAME TYPE VALUE
local_listener string (DESCRIPTION=(ADDRESS=(PROTOCO
L=TCP)(HOST=192.168.0.182)(POR
T=1892)))
SQL> alter system set LOCAL_LISTENER = '' scope = both;
System altered.
SQL> show parameter LOCAL_LISTENER
NAME TYPE VALUE
local_listener string
SQL>The below article says it is not recommeded to use empty string. But , what other option do I have to clear a parameter's value without bouncing the DB ?
http://coskan.wordpress.com/2007/03/07/setting-or-resetting-unsetting-parameters/
Edited by: greeny on 12-Nov-2012 06:25
1)
if you want to set local_listener for only this session
ALTER SYSTEM SET LOCAL_LISTENER='' SCOPE=MEMORY;
if you want to make it persistent (need rebound to take effect):
ALTER SYSTEM SET LOCAL_LISTENER='' SCOPE=SPFILE;
if you want use at this session and make persistent when rebound database:
ALTER SYSTEM SET LOCAL_LISTENER='' SCOPE=BOTH;
2)SQL> alter system reset LOCAL_LISTENER scope=both;
alter system reset LOCAL_LISTENER scope=both
ERROR en lÝnea 1:
ORA-32029: actualmente no se soporta el restablecimiento con SCOPE=MEMORY o
SCOPE=BOTH
SQL> alter system set LOCAL_LISTENER='' scope=MEMORY;
Sistema modificado.
SQL> alter system reset LOCAL_LISTENER ;
Sistema modificado.Edited by: Fran on 12-nov-2012 6:43
Similar Messages
-
Is there a way to recover the spfile if I remove the spfile?
Hi,
Is there a way to recover the spfile if I remove the spfile?
I did a rman full db backup.
thanks.You can user RMAN to recover your spfile, see Note 372996.1 Using RMAN to Restore and Recover a Database When the Repository and Spfile/Init.ora Files Are Also Lost, RMAN is able to startup the instance even when there is no spfile/pfile, then you can recover your spfile from your last backup.
RMAN> startup nomount;
connected to target database (not started)
startup failed: ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/u01/app/oracle/product/10.2.0/db_1/dbs/initorcl.ora'
starting Oracle instance without parameter file for retrival of spfile
Oracle instance started
Total System Global Area 159383552 bytes
Fixed Size 1266344 bytes
Variable Size 54529368 bytes
Database Buffers 100663296 bytes
Redo Buffers 2924544 bytes
RMAN> set dbid=1176145568;
executing command: SET DBID
RMAN> restore spfile from autobackup recovery area '/u01/app/oracle/flash_recovery_area';
Starting restore at 05/11/2008 10:49:53
using channel ORA_DISK_1
recovery area destination: /u01/app/oracle/flash_recovery_area
database name (or database unique name) used for search: ORCL
channel ORA_DISK_1: autobackup found in the recovery area
channel ORA_DISK_1: autobackup found: /u01/app/oracle/flash_recovery_area/ORCL/autobackup/2008_11_02/o1_mf_s_669748005_4jw93oyk_.bkp
channel ORA_DISK_1: SPFILE restore from autobackup complete
Finished restore at 05/11/2008 10:49:57The non-default parameters you set in your spfile are also listed in the alert.log so you can copy these values and create a pfile, then an spfile.
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
processes = 150
nls_territory = AMERICA
sga_target = 205520896
control_files = /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/dbca/orcl/tempControl.ctl
db_block_size = 8192
compatible = 10.2.0.3.0
log_archive_format = %t_%s_%r.dbf
db_file_multiblock_read_count= 16
db_create_file_dest = /u02/oradata
db_recovery_file_dest = /u01/app/oracle/flash_recovery_area
db_recovery_file_dest_size= 4294967296
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain = oracle.com
dispatchers = (PROTOCOL=TCP) (SERVICE=orclXDB)
job_queue_processes = 10
background_dump_dest = /u01/app/oracle/admin/orcl/bdump
user_dump_dest = /u01/app/oracle/admin/orcl/udump
core_dump_dest = /u01/app/oracle/admin/orcl/cdump
audit_file_dest = /u01/app/oracle/admin/orcl/adump
db_name = seeddata
db_unique_name = orcl
open_cursors = 300
pga_aggregate_target = 67108864
PMON started with pid=2, OS id=12906HTH
Enrique
PS. If your problem was solved, consider marking the question as answered -
How to remove a grobal parameter in SAP memory
As known to all, we can use SET/GET PARAMETER to pass parameters among multiple programs.
Now I'm just curious about how to remove a grobal parameter in SAP memory, and how can I get the list of all grobal parameter in SAP memory.
Any idea?Hi william,
1. how to remove a grobal parameter in SAP memory
Well, i dont think we can REMOVE.
At most, we can RESET it to blank(initial)
2. set parameter id 'BUKRS' FIELD ''.
regards,
amit m. -
Reset Clear/Remove Library Message
Using itunes for windows.
When I clear to 'clear' a song from the library I used to get a message asking if I also wanted to remove it from my hard drive.
The last time I checked a box that says DO NOT ASK ME AGAIN (or similar)
How do I reset this so I get the clear/remove message again?hey, did you look here?
C:\Documents and Settings\myusername\Application Data\Apple Computer\iTunes
that's where i found mine... (iTunes v6.0) -
11g Upgrade - removal and new parameter list queries
Hi All,
We are planning to upgrade the 10.2.0.4 E Business suite (11.5.10.2. ) database to 11.2.0.1.
We have few removal and new parameter list in 11g database based on the note 216205.1
We will be having the compatible mode as 10.2.0 before and after the upgrade until the system gets stable. So until we change the compatible to 11.2.0, do we need to have the parameters in the removal list or we can remove that even if we have the compatible as 10.2.0 during the upgrade.
There are also two new parameters optimizerautostats_job=false and sec_case_sensitive_logon = FALSE.
Please let us know if we can have these new /removal parameter changes when we have the compatible as 10.2.0 in 11g database.
Thanks & Regards,
RakeshRakesh,
Please let us know if we can have these new /removal parameter changes when we have the compatible as 10.2.0 in 11g database.You can have those parameters, and you can remove it later once you are done with the upgrade.
Note: 881505.1 - Oracle Applications Release 11i with Oracle 11g Release 2
Adjust the Initialization Parameter File for the New Release
http://download.oracle.com/docs/cd/E11882_01/server.112/e10819/afterup.htm#CEGHAAFH
Thanks,
Hussein -
Enabling flashback database adds unsupported spfile parameter
After enabling the flashback database I saw a new policy violation upon restart.
awrflush_threshold_metrics was set to true and added to the spfile. When I look that up, I get various dire warnings about using it.
If it's not supported, why does Oracle do this by default upon enabling the flashback database? And, is it necessary for the flashback database to work, or can I remove it?What's your OS and DB versions?
Since 10g R2 this parameter Enables/Disables Flushing AWR Workload Metrics.
You should not set this hidden parameter unless directed by Oracle Support. All parameters that start with underscore (_) are considered internal and unsupported, which means that only Oracle is authorized to set them.
~ Madrid -
How to clear a default condition / parameter value in a Discoverer Viewer ?
Hi there,
Appreciate if anyone can help with what I am trying to do below in Discoverer10g:-
1. In Desktop we created a workbook with a parameter and we set the default value of the parameter as '%%'. This is so that all values are selected for that parameter unless the user over-writes it by picking values from the LOV.
2. When we run the workbook in Desktop, and pick a value out of a LOV, the system automatically remove the '%%' and substituted with the values picked from the LOV. This is working well.
3. However, when we published the workbook to our Disco Viewer users, on the parameter screen, when a user picks values out of the LOV, the system DOES NOT remove the '%%' automatically, and appends the picked values to the list. Of course this makes the report select all values for that parameter.
4. To resolve the problem, the Viewer user has to manually remove the default '%%' before picking values out of the LOV. Often they forget to do that and trust the value reported on the worksheet.
5. We believe some sort of a "REPLACE '%' with BLANK" function on clicking the "Move" button will remove the '%%' values when we pick values from LOV in the parameter screen. But we do not know how to do this.
If anyone has successfully done the above and share his experience, that will be much appreciated.
Thank you.Hi there,
Thanks for your feedback.
Our workbooks mostly have muitii-item parameters where the users can pick more than one value.
I have created a test workbook in Desktop with a mutil-value parameter. After picking up multiple values from the LOV, the '%%' default automatically get sover-written.
I shared this same workbook to a Viewer user.
In Viewer, after picking multiple values from the left window and clicking the [Move] button, the '%%' value stays. Wonder if anything can be done to remove the '%%' in Viewer after the user has picked a value and the [Move] button is clicked.
Further help / comments appreciated.
Thanks again for your help.
Regards -
Can not clear "Remove and check right cartridge" error
I am trying to fix a 6110xi AIO printer that originally had the error "Remove and check cartridge". I have performed the following steps:
1) Downloaded and attempted to install firmware update HpAiOFWUdate2_2.exe. The software commented that the printer does not need the update and ended itself.
2) Removed print cartridges and cleaned contacts on both the cartridges and the contacts within the printer
3) Installed new ink cartridges.
After installing the new cartridges, the error changed to "Remove and check right cartridge". The printer will now print a test page and print documents as well, but the error persists. The printer will not scan anything at this time, and that is a highly desired operative function. I have also attempted to reset the printer with various power cycles and holding down the ENTER button and then pressing the MENU button, hearing the 3 fast beeps. How can I get the error to clear?Hi Lifechaser,
I can certainly understand the frustration with all the steps you've done already. I just have a few more questions for you.
Is the printer plugged to a wall outlet? (If not, unplug from the back of the printer first, before moving the power to a wall outlet)
Are you using genuine HP ink cartridges? (If not, trying genuine HP may help resolve the issue)
Get back to me with the results of these two questions and we will go from there!
Please click “Accept as Solution ” if you feel my post resolved your issue, as it will help others find the solution faster
Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
**MissTeriLynn**
I work on behalf of HP -
Treeview: Howto clear/remove the node-list/nodes
Hi,<br />I'm new to InDesign programming. <br /><br />I need to load data (simple strings) from a database and display it in a List (Treeview).<br /><br />After some time trying, it now works pretty well. I have a panel on which a TreeView-widget and a button is.<br />When I click the button, a lot of strings from the database should be queried.<br /><br />This works very well, but there are some things I don't understand.<br /><br />First, if I click the load button the TreeView is populated with data. Anyway, if I close the InDesign Application and reopen it some time later, the data is still in the TreeView.<br />Why is that so and how can I prevent it from auto-loading (some time later the data is outdated, the user needs to manually load the data again).<br />I would like to clear the list, maybe in the destructor of the panel, but I don't know how.<br /><br />Second, if I click the load button twice (because I know the data on the server has changed) my load-method tells me that the new data has been loaded, *but* it does not display the correct new values and if I minimize the panel and open it again InDesign crashes (that happens only when I click the load button a second time).<br /><br />Here is my load-method. I took most of the code from the WListBoxComposite-Example and put it in a loop, but I don't fully understand it.<br /><br />> InterfacePtr<IPanelControlData> panelControlData(this, UseDefaultIID());<br />> IControlView* treeWidget = panelControlData->FindWidget(kLTListBoxWidgetID); <br />> InterfacePtr<ITreeViewMgr> treeMgr(treeWidget, UseDefaultIID());<br />> InterfacePtr<IStringListData> iListData(treeWidget, IID_ISTRINGLISTDATA);<br /><br />> K2Vector<PMString>* myData = getObjectList(); // loads the data from my database<br /><br />> K2Vector<PMString> lists = iListData->GetStringList();<br /><br />> for(int i=0; i<myData->size(); ++i) {<br /><br />> PMString item((*myData)[i]);<br />> item.Translate();<br /><br />> lists.insert(lists.end(), item);<br /><br />> iListData->SetStringList(lists); // don't understand this line<br /><br />> NodeID node = StringNodeID::Create(item);<br />> treeMgr->NodeAdded(node);<br /><br />> }<br /><br />> PMString msg("Total: ");<br />> msg.AppendNumber(myData->size());<br />> msg.Append(" entries");<br />> CAlert::InformationAlert(msg);<br /><br /> <br /> <br />I would be grateful if anyone can help me with my problems.<br />Best Wishes<br />Tom
As I looked further in the WListBoxComposite example there is a method which does remove a node from the treeview (WLBCmpActionComponent::DoRemoveItem(...)).
To remove some nodes in this example, they use a
b NodeIDList
. But the ITreeViewControler interface has just one method which provides a
b NodeIDList
namely
i void GetSelectedItems (NodeIDList)
In my plug-in I need a list of all nodes, so that I can remove every item in the treeview.
Is there a method to get such a NodeIDList of all nodes, or is there another way to clear the treeview?
I would still be grateful if someone can help me out.
Best Wishes
Tom
btw.: I haven't found out yet why the data in the treeview is persistent. So that when I close the application and re-open it the treeview is still full of (outdated) data. -
Hi Experts,
I have a requirement to remove the stated Message Processor, when the incident / Service Desk ticket is being saved using a particular status (Eg: Sent to Level 1).
Appreciate if someone can guide me how this can be done (whether using simple PPF (tcode SPPFCADM) or we are forced to use BFR+
Thanks in advance
Regards
ShahulThe solution is here
SOLMAN 7.1 CRM UI - "Reported By" Empty
Thanks to Ash. -
To Remove selection screen parameter the arrow mark to avoid multiple entry
hi i am using in selection screen the entry as below
sl_prd FOR glt0-rpmax
i want to remove the arrorw for multiple entry please suggest on it
regards
arorause parameters instead of select options
Reward points if the above ans is useful... -
Need clear understanding on HS_LANGUAGE parameter
I have my SQL Database on Korean OS (Windows). SQL Server for Korean is installed.
I have a Oracle gateway for SQLServer on korean OS (Windows). This tranfers data from SQLServer to ORacle database (Which is installed on Korean OS - Windows).
In this scenario what should be my HS_LANGUAGE parameter set to?
HS_LANGUAGE=AMERICAN_AMERICA.WE8MSWIN1252 ?? or HS_LANGUAGE=KOREAN_KOREA.WE8MSWIN1252 ??
I tried with setting HS_LANGUAGE=KOREAN_KOREA.WE8MSWIN1252, which is giving errors while transforming decimal/ numeric data with decimals in it (eg: 2.5 from sql is stored as 2 in oracle db through gateway)
When i used HS_LANGUAGE=AMERICAN_AMERICA.WE8MSWIN1252, The data is correctly transformed.
Please help me understand the scenario here.
Thank you.Hi,
The HS_LANGUAGE parameter has 3 sections -
HS_LANGUAGE=language_territory.character_set
For example, in your settings -
HS_LANGUAGE=AMERICAN_AMERICA.WE8MSWIN1252
HS_LANGUAGE=KOREAN_KOREA.WE8MSWIN1252
The 'territory' part will be either 'America' or 'Korea' and this specifies the conventions for day and week numbering, default date format, decimal character delimiter and group separator, of ISO and local currency symbols.
The problem you are seeing is because there is a difference between the decimal separator used in your Oracle database and the Korean SQL*Server database. When there is a difference this can cause the information after the decimal to be lost.
If you have access to My Oracle Support the following note has more information -
Gateway and Decimal Digits (Doc ID 1453148.1)
When you set the territory to 'AMERICA' then the decimal separator used by the non-Oracle database is recognised correctly and no data is lost.
You could check but you should find the SQL*Server database uses a comma (or other character) as a separator and Oracle uses a decimal point or it is the other way round.
Regards,
Mike -
How to Clear / Remove / Delete iChat backgrounds
Did a search and couldn't find anything, but if there is another post please let me know.
Anyway, is it possible to clear the recently used iChat backgrounds? I don't need them saved for each time that I use them. I prefer they go back to empty boxes. Anyone know how to reset them? Thanks.Currently I can not find a way to empty a choice of Video Background - only replace it with something new.
7:00 PM Monday; October 29, 2007 -
Dynamically populated parameter clears previously entered parameters
Software: Crystal Reports XI with MS SQL Server 2008
I've created a report that asks for three parameters, 2 dates, and a string which is dynamically populated. The report has two tables added in the database expert.
The first table is a command object which passes the two date parameters to a stored procedure:
exec sp_MyStoredProcedure {?startdate},{?enddate}
The second table is a stored procedure object used to populate the string parameter {?_users}. The criteria for the string parameter are:
Prompt with Description only: False
Allow multiple values: True
Allow discrete values: True
Allow range values: False
This stored procedure object requires no parameters, and was originally a view in the database, but it the same problem occurs whether i dynamically populate the string parameter options from either a view or a stored procedure. I'd like to go back to using a view, as i do not need to pass any kind of parameters to the stored procedure
The string parameter is used for defining the record selection formula:
IF {Command.user_name} in {?_users} THEN true ELSE false.
The two tables are not linked in the database expert, but linking them does not seem to solve the problem I am having with this report, the problem being this:
No matter which order I set the parameters, it always first displays a form showing only the prompts for the date values. After entering these, it then shows a form prompting for the date values again (the previously selected date information now cleared), along with the list of users from which to select. On this 2nd form, the parameters are displayed in the order I set using the field explorer option presented when I right click on the Paramter Fields heading. After entering the date parameter values a 2nd time, and selecting the users from the dynamically generated list, the report performs as intended.
Edited by: Duraplex on Nov 12, 2010 6:26 PM
Edited by: Duraplex on Nov 12, 2010 6:57 PM - After contacting the tech dept of my employer, they are applying a service pack update to my installation, I am hoping this resolves the issue. Will post an update as soon as I know more.
Edited by: Duraplex on Nov 12, 2010 7:35 PM - After applying SP4 to my installation, the problem persists. I did note however that removing the string parameter and record selection formula, and then recreating them, does somewhat solve the issue temporarily - i still am presented with two forms, but the second form doesn't clear the previously entered date parameters. However, once i save the report, and reload it, the problem manifests again and the date parameters are cleared when presented on the 2nd form. Has anyone else encountered a similar problem?
Edited by: Duraplex on Nov 15, 2010 8:38 PM - Problem resolved by upgrading from Release 1 to Release 2.Hi,
Once record status gets change for block you can not populate/repopulate the list item. Keep those list items as non-database item with different names and create different items as database orignal items. Than assign the values in WHEN-LIST-CHANGE trigger to the actual database items.
-Ammad -
Clear Parameter ID Problem...
Hi Gurus;
I write a screen program(dialog). I use structure on the screen because its very easy. My structure's some field's data element has parameterId. For example Matnr>MAT , Equipment>EQN.
Sometimes I want to clear my structure in runtime. I clear it. But it remember old values and fill fields. But I dont know.
I finded the some offer on internet and sdn. And I tried some offers (FREE MEMORY ID 'MAT', SET PARAMETER ID 'MAT' FIELD SPACE)
But not success.
Please help me.
Thanks.CLEAR w_matnr.
SET PARAMETER ID 'MAT' FIELD w_matnr.
That's the same thing as SET PARAMETER ID 'MAT' FIELD SPACE, which he has already tried.
To the poster, the space setting should work but you did not identify WHERE in your flow logic you put the statement. You can also track the value of the parameter ID using the debugger and find out where it's coming back.
Maybe you are looking for
-
Oracle 11g installation in Vista
Hi friends, I am having problme with windows XP, so planning to install windows vista. Will Oracle 11g(downloaded from oracle website) and oracle 10g developer suite will support in vista. Please help me.. --kishore
-
Deleted/rejecterd clips not showing up in trash
Ok now I understand that iMovie trash in acutally finder trash. But I do not see the clips I have been deleting in there. they are gone from the events display screen in imovie but they are not in trash. Also the space is not decreasing on HD. Does a
-
I can't help but notice that every time new updates come up for not only iTunes but other Apple-based programs as well, and I download them, all the shortcuts I originally had for them break and I have to replace them with the new shortcut file. Does
-
I have CS5.0, can I upgrade ONLY InDesign to 5.5? Or do I have to buy the full CS5.5? I purchased the InDesign upgrade, but it doesn't want to recognize my CSuite serial number. Did I just waste $120?
-
Hi I am new to this forum. I need to read and generate an idoc file in a Java application. I am searching for documentations abuot idoc: cuold you tell me where to find the officiale Idoc specifications? Second, are there any library (Java) that can