writable directory, You need to configure the value TMPDIR =/path.
Configure Oracle environment variables
The following is an example for your reference.
export DISPLAY="192.9.200.24:0.0" export BASH_ENV=$HOME/.bashrcORACLE_HOME=/oracle/product/9.0.1; export ORACLE_HOME ORACLE_SID=oracle; export ORACLE_SIDORACLE_TERM=xterm; export ORACLE_TERMTNS_ADMIN=/
Oracle 11g Alert Log location Oracle 11g Alert Log location 1. Obtain ADR-related information by querying the v $ diag_info View
ADR(Automatic Diagnostic Repository)--> A a file-based hierarchical data store for managing diagnostic information, including network tracing and logging.
Code:
sys@ora11g>select * from v$diag_info;INST_ID NAME VALUE------- ---------------------- ----------------------------------
Environment: RHEL 6.4 + Oracle 11.2.0.4
1. Copy missing files
2. Compiling bbed
3. bbed Use test
Reference
1. Copy missing filesThere are a few related files missing in 11g, but we can actually copy the relevant files from 10g to 11g corresponding directories:$ORACLE_HOME/rdbms/lib/sbbdpt.o$ORACLE_HOME/rdbms/lib/ssbbded.o$ORACLE_HOME/
/oracle/product/11.2.0/db_1 Chown-r oracle:oinstall/u01 Chmod-r 775/u01/ Log in as Oracle, open the following file, and paste the contents below the end # Oracle Settings tmp=/tmp; Export TMP Tmpdir= $TMP; Export TMPDIR Oracle_hostname=rac1.localdomain; Export Oracle_hostname Oracle_unqname=rac; Export Oracle_unqname Oracle_base=/u01/app/
--place Lib Bbedus.msb and Bbedus.msg under $ORACLE_HOME/RDBMS/MESG--place Lib sbbdpt.o and SSBBDED.O under $oracle_home/rdbms/lib--Executed under $oracle_home/rdbms/lib: [[email protected] lib]$ make-f ins_rdbms.mk $ORACLE _home/rdbms/lib/bbedAfter execution, a bbed executa
Core_dump_dest string /ORACLE/APP/ORACLE/ADMIN/ORCL/CDUMPNBSP; User_dump_dest string NB Sp /oracle/app/oracle/admin/orcl/udump In addition, these settings are also documented in the parameters file. It can also be obtained by querying the parameter file. 11g NBSP;11G introduces a
:service Handle not initializedOra-01041:internal error. Hostdef extension doesn ' t existSql>In this case, the alert log is as follows:Additional Information:1Additional information:32823Tue May 03 18:05:16 2016Errors in FILE/OPT/ORACLE/APP/ORACLE/DIAG/RDBMS/PM4H/PM4H/TRACE/PM4H_M000_21073.TRC:Ora-51106:check failed to complete due to an error. See error belowOr
installation process includes four steps:
Start the Universal Installer.Select and install the Oracle Label Security option.Run $ ORACLE_HOME/rdbms/admin/catols. SQL as follows:
SQL> CONN sys/password AS SYSDBA;SQL> @? /Rdbms/admin/catols
Note: This catols. SQL script SHUTDOWN the database IMMEDIATE (close immediately) in its last step ).
Restart the instan
Oracle Database Upgrade (10gR2 to 11gR2)
I have a general understanding of Oracle Database Upgrade today, but there are still many things worth considering.
First, preparations before the upgrade require a lot of work:
1. Testing and preparation, mainly for stress testing of applications. Because of version upgrades, the Optimizer may roll back the SQL Performance (select an execution plan with worse perfor
Release 12.1.0.0.2-64bit 0 PL/SQL Release 12.1.0.0.2 0 CORE 12.1.0.0.2 0 TNS for linux:version 12.1.0.0.2 0 Nlsrtl Version 12.1.0.0.2 0 sql> exit disconnected from Oracle Datab ASE 12c Enterprise Edition Release 12.1.0.0.2-64bit with the partitioning, OLAP, Data Mining and Real application T
Esting Options compiling
Use BBED for Oracle 11g Compilation
Environment: RHEL 6.4 + Oracle 11.2.0.4
1. Copy the missing file
2. Compile BBED
3. BBED Test
Reference
1. Copy the missing file
Several related files are missing in 11g, but we can actually copy the related files from 10g to the corresponding directory of 11g:
$ORACLE_HOME/rdbms/lib/sbbdpt.o$ORACLE_HOME/
ltom. Its name is ass109.awk. This is the latest version. The ass. awk script can help us analyze and format the system state dump.
Description of ltom MOS:
Ltom-Theon-board monitor User Guide [ID 352363.1]
Ltom's:
Http://download.csdn.net/detail/tianlesoftware/4047944
Awk is a programming language used to process text and data in Linux/Unix. Data can come from standard input, one or more files, or the output of other commands.
For more information about awk, see:
Linux awk command descript
instance.sql> startup Nomount;ORACLE instance started.Total System Global area 314572800 bytesFixed Size 1219160 bytesVariable Size 96470440 bytesDatabase buffers 213909504 bytesRedo buffers 2973696 bytessql> @createDB. sqlDatabase created.7. Execute the underlying script for the corresponding databaseThe following 5 scripts are run under the SYS schema:Create a data dictionary view@/u01/app/oracle/product
ASM SecurityThis section mainly describes the various security configuration topics related to ASM, such asConfigure ASM Required UserIDs, groupids;asm permissions such assysoper,sysdba and new sysasm permissions, and finally ASMUse the Oraclepassword file, Orapwd. an ASM instance of multiple UNIX UserIDsSuppose you use a user different from an RDBMS instance and a separate asm_home,then the Oracle user for
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.