Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
is missing on node
While installing oracle 11204 on RHEL 7,I am getting below
warring in the pre check step.
Error:
Error:
INFO: /usr/bin/ld: warning: -z lazyload ignored.
/usr/bin/ld: warning: -z nolazyload ignored.
/usr/bin/ld:
/u01/app/oracle/product/11.2.0.4/db_1/sysman/lib//libnmectl.a(nmectlt.o):
undefined reference to symbol 'B_DestroyKeyObject'
/usr/bin/ld: note: 'B_DestroyKeyObject' is defined in DSO
/u01/app/oracle/product/11.2.0.4/db_1/lib/libnnz11.so so try adding it to the
linker command line
/u01/app/oracle/product/11.2.0.4/db_1/lib/libnnz11.so: could not read
symbols: Invalid operation
but when i apply the patch set i didn't encounter any error
during Relink.
Error:
TNSLSNR for Linux: Version 11.2.0.4.0 - Production
System parameter file is
/u01/app/oracle/product/11.2.0.4/db_1/network/admin/listener.ora
Log messages written to
/u01/app/oracle/diag/tnslsnr/SIDPRD01/listener/alert/log.xml
Error listening on:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=HOSTNAME)(PORT=1521)))
TNS-12545: Connect failed because target host or object does not
exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does
not exist
Linux Error: 99: Cannot assign requested address
Solution:
Check the ipadress of the server by running
ifconfig -a
Error:
/u01/app/oracle/diag/rdbms/SIDPROD/SIDPROD2/trace/SIDPROD2_ora_4
085.trc (incident=528493):
ORA-04030: out of process memory when trying to allocate 4032
bytes (qmxdGetChildNo,qmemNextBuf:alloc)
Incident details in:
/u01/app/oracle/diag/rdbms/SIDPROD/SIDPROD2/incident/incdir_5284
93/SIDPROD2_ora_4085_i528493.trc
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging
details.
Mon Aug 31 10:05:27 2015
Solution:
System altered.
SQL>
Before drop we should make sure aleast 3 redo group are there
and droping group should be in INACTIVE state.
System altered.
SQL>
SQL> select GROUP#,THREAD#,STATUS from v$log;
Database altered.
SQL>
Posted by Karl Marx at 06:55 No comments:
Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest
Labels:DATABASE,PERFORMANCE Database
Wednesday, 12 August 2015
Adding multiple oracle datagaurd standby database
We got DR site where real time data sync is happening from
Production and DR and I got another requirement for building 2nd
standby database from the primary data-center.
Steps:
Follow the below link to copy the data from existing DR or build
new standby from prod.
<< http://oracletechdba.blogspot.com/2015/05/migrating-oracle-
database-using-rman.html >>
Once you are done with the copy or restoration of data for
standby below steps needed in the primary database for archive
logs to ship.
After adding above parameter in PROD then mount the standby2 and
start the recovery.
In Standby2:
SQL>shut immediate
SQL>startup mount
SQL>ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT
FROM SESSION;
Check the alert log of both primary and standby for archive log
shipping and recovery.
Posted by Karl Marx at 01:04 No comments:
Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest
Labels:DATABASE,PERFORMANCE Database
Monday, 10 August 2015
ORA-00600 on ALTER DATABASE RECOVER MANAGED
STANDBY DATABASE DISCONNECT FROM SESSION
Error:
Solution:
Database altered.
Steps:
SQL> select file# from v$datafile where
name='/u01/app/oracle/product/11.2.0/db_1/dbs/DATA_01';
Solution:
Solution:
ERROR:
connected to auxiliary database (not started)
RMAN-00571:
===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS
===============
RMAN-00571:
===========================================================
RMAN-03002: failure of Duplicate Db command at 07/24/2015
01:43:21
RMAN-06403: could not obtain a fully authorized session
RMAN-04006: error from auxiliary database: ORA-01034: ORACLE not
available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
RMAN-03015: error occurred in stored script Memory Script
RMAN-04014: startup failed: ORA-01127: database name
'/SIDDEVLOP' exceeds size limit of 8 characters
RMAN-04017: startup error description: ORA-32004: obsolete or
deprecated parameter(s) specified for RDBMS instance
Solution:
Step1: Create text control file trace and edit as per
requirement.
Step2: Edit init.ora with proper SID.
Step3: Startnomont,create controlfile and open database in
resetlogs.
Database altered.
Alert log:
Job queue slave processes stopped
Waiting for dispatcher 'D000' to shutdown
All dispatchers and shared servers shutdown
Wed Jul 22 11:01:33 2015
SHUTDOWN: Active processes prevent shutdown operation
Wed Jul 22 11:06:34 2015
SHUTDOWN: Active processes prevent shutdown operation
Wed Jul 22 11:11:36 2015
SHUTDOWN: Active processes prevent shutdown operation
Wed Jul 22 11:16:30 2015
MMNL absent for 1234 secs; Foregrounds taking over
Wed Jul 22 11:16:37 2015
SHUTDOWN: Active processes prevent shutdown operation
Diag:
When i grep pmon and SID it shows only one LOCAL=YES connection
but that's is my connection of shutdown statement
But when i grep complete oracle, i see some of the rman and
defunct session.
[oracle@ ~]$ ps -ef|grep oracle
oracle 25327 25282 0 2014 pts/4 00:00:01 rman target /
oracle 25347 25327 0 2014 ? 00:00:38 [oracle]
<defunct>
oracle 25348 25327 0 2014 ? 00:00:50 [oracle]
<defunct>
oracle 25349 25327 0 2014 ? 00:01:00 [oracle]
<defunct>
oracle 25350 25327 0 2014 ? 00:00:19 [oracle]
<defunct>
Solution:
After killing process ID(kill -9 PID) rman and defunct session
from other putty connection the database went down.
SQL>execute
dbms_scheduler.set_attribute('WEEKNIGHT_WINDOW','RESOURCE_PLAN',
''); and
SQL>execute
dbms_scheduler.set_attribute('WEEKEND_WINDOW','RESOURCE_PLAN',''
);
SQL>execute
dbms_scheduler.set_attribute('SATURDAY_WINDOW','RESOURCE_PLAN','
');
SQL>execute
dbms_scheduler.set_attribute('SUNDAY_WINDOW','RESOURCE_PLAN','')
;
SQL>execute
dbms_scheduler.set_attribute('MONDAY_WINDOW','RESOURCE_PLAN','')
;
SQL>execute
dbms_scheduler.set_attribute('TUESDAY_WINDOW','RESOURCE_PLAN',''
);
SQL>execute
dbms_scheduler.set_attribute('WEDNESDAY_WINDOW','RESOURCE_PLAN',
'');
SQL>execute
dbms_scheduler.set_attribute('THURSDAY_WINDOW','RESOURCE_PLAN','
');
SQL>execute
dbms_scheduler.set_attribute('FRIDAY_WINDOW','RESOURCE_PLAN','')
;
SQL> select
WINDOW_NAME,WINDOW_PRIORITY,ENABLED,RESOURCE_PLAN,NEXT_START_DAT
E, DURATION from DBA_SCHEDULER_WINDOWS;
WINDOW_NAME WIND ENABL RESOURCE_PLAN
NEXT_START_DATE DURATION
-------------------- ---- ----- -------------------------------------------------------- --------------
-
MONDAY_WINDOW LOW TRUE 20-JUL-15 01.00.00 AM AFRICA/JOHANNESBURG +000 06:00:00
TUESDAY_WINDOW LOW TRUE 21-JUL-15 04.00.00 AM AFRICA/JOHANNESBURG +000 03:00:00
WEDNESDAY_WINDOW LOW TRUE 22-JUL-15 04.00.00 AM AFRICA/JOHANNESBURG +000 03:00:00
THURSDAY_WINDOW LOW TRUE 23-JUL-15 04.00.00 AM AFRICA/JOHANNESBURG +000 03:00:00
FRIDAY_WINDOW LOW TRUE 24-JUL-15 04.00.00 AM AFRICA/JOHANNESBURG +000 03:00:00
SATURDAY_WINDOW LOW TRUE 18-JUL-15 04.00.00 AM AFRICA/JOHANNESBURG +000 03:00:00
-------------------------------
Diag:
Solution:
After updating log_archive_config the archive logs started
shipping.
System altered.
ERROR
STATUS
-------------------------- ---------
VALID
SQL>
Posted by Karl Marx at 01:42 No comments:
Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest
Labels:DATABASE,PERFORMANCE Database
ORA-12801: error signaled in parallel query server ORA-01114
ORA-01114 ORA-29701
Error:
Diag:
Solution:
After cleaning some of the log file from /u01 we are able to run the query from both the nodes
Posted by Karl Marx at 01:35 No comments:
Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest
Labels:DATABASE,PERFORMANCE Database
Thursday, 18 June 2015
Oracle database I/O performance issue
We have night batch process slowly taking time and when we check
the AWR report we see most of the time DB File Sequential read
and when checking the query its going for index scan that
directs me to check the I/O performance of the system.
check the Avg wait(ms) for "db file sequential read" in Top 5 Timed
Foreground Events" session and there Avg wait is 27,Then further go
through "Wait Event Histogram"
In below "Wait Event Histogram" you can see the % of waits are more
b/w 32ms and 1s buckets for above top wait events and further walk
through the AWR on tablespace I/O.
and when we check the OS level for the disk it gives 100% disk busy.
Further to fix the issue we have to check the for datafile I/O session
in AWR and if possible move the datafile to another disk where there
is low i/o.
As well as we have to tune the top I/O related queries.
Consider increasing DB buffer cache.
Solution:
ERROR:
RMAN-03002: failure of restore command at 06/03/2015 09:42:32
ORA-19870: error while restoring backup piece
/dump/RMANBK/backupfile/Db_.39373.1.881387571.20150603.bak
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 18874368 bytes disk space from
32212254720 limit
Solution:
Increase the size of DB_RECOVERY_FILE_DEST_SIZE in initSID.ora
file and then restart the recovery.
SQL> shut immediate
#Increase the value DB_RECOVERY_FILE_DEST_SIZE in init file
SQL> startup nomount
RMAN> start the recovery.
Solution:
In asm create directory +ASM_DATA01/DBSID/brokerfile
asmcmd cd +ASM_DATA01/DBSID
mkdir brokerfile
Posted by Karl Marx at 03:29 No comments:
Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest
Labels:DATABASE,PERFORMANCE Database
Primary database alertlog giving below error(TNS-12564) for
DGMGRL data guard services DBSID_DGB.
Warring in the alert log of primary:
Solution:
When checking the service in DR using lsnrctl status, you are not able to see
the service "DBSID_DGB".
so logged in to the Standby db and modify the parameter,
System altered.
SELECT
a.ksppinm "Parameter",b.ksppstvl "Session Value",c.ksppstvl "Instance Value"
FROM
x$ksppi a,
x$ksppcv b,
x$ksppsv c
WHERE a.indx = b.indx
AND a.indx = c.indx
AND a.ksppinm LIKE '/__dg%' escape '/'
/
------------------
__dg_broker_service_names
DBSID_DGB
DBSID_DGB
$lsnrctl status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 01-JUN-2015 10:29:23
Uptime 0 days 0 hr. 42 min. 2 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
Listener Log File /u01/app/diag/tnslsnr/za-fdbs-dr-
03/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=prot)))
Services Summary...
Service "DBSID" has 1 instance(s).
Instance "DBSID", status READY, has 1 handler(s) for this service...
Service "DBSID_DGB" has 1 instance(s).