#1276
[Oracle] How-To
Retrieve the name of the Oracle instance currently connected to :
SELECT sys_context('USERENV','DB_NAME') AS Instance FROM dual;
show parameter instance_name
Starting database with PFILE/SPFILE :
Create an ini file (init$ORACLE_SID.ora) with :
STARTUP SPFILE = /u01/oracle/dbs/sp.ora
STARTUP PFILE = /u01/oracle/dbs/p.ora
ORA-01102: cannot mount database in exclusive Steps To Encrypt Clear Text Passwords for Weblogic Server – TechPaste
Start from a PFILE or SPFILE :
Create SPFile from PFile (and opposite)
To retrieve current file type :
To retrieve the current spfile
To retrieve the current pfile
Error while starting TNS listener :
Solution :
Clean/remove the folder /var/tmp/.oracle
Error 73 with Opatch :
Some processes used by OPatch are still running and must be stopped
Find process with fuser
Find more details
Config events :
OPatch error :
Following are the options to resolve this issue.
Pass argument for OPatch to ignore fuser and continue with patching.
Setting this variable to “true” informs the OPatch to skip the check for active executables
1. Set the environment variable OPATCH_NO_FUSER=true
2. Shut down the WebLogic instances
3. Run the OPatch utility
Set temporary fuser
(1) Set /tmp in your PATH
(2) Create an empty file named “fuser”
(3) Shut down the WebLogic instances
(4) Run the OPatch utility
Install fuser utility
(1) Install fuser utility on the machine (yum install psmisc)
(2) Make sure fuser is located under “/sbin/fuser” or “/bin/fuser”
(3) Shut down the WebLogic instances
(4) Run the OPatch utility
STREAMS_POOL_SIZE
Set :
Get :
See current process/session/transaction usage :