Friday, November 5, 2021
Oracle RAC: oracleasm listdisks not showing any disks
Monday, November 1, 2021
Oracle RAC: PRCC-1108: Invalid VIP address xxx.xxx.xx.xx because the specified IP address is reachable
As the error described. It turned out my VIP IP is pingable which is not supposed to be. It should have been hidden. After double-checking a few rounds, I finally spotted that I made a typo of VIP IP and it is exactly the IP I had for the SCAN. Changing, it fixed my issue. So, look around, it may be somewhere in all the nodes /etc/hosts file that IP has been used and pingable.
Friday, October 22, 2021
Oracle RAC: "The parent virtual disk has been modified since the child was created. The content ID of the parent virtual disk does not match the corresponding parent content ID in the child"
This is a fairly generic share disk error. The reason I am getting this is when setting Oracle RAC on 2 VMs, I did not include ""diskLib.dataCacheMaxSize = "0" " to my VMX files on both VMs. So, upon starting up node2, it throws that error.
"The parent virtual disk has been modified since the child was created. The content ID of the parent virtual disk does not match the corresponding parent content ID in the child"
Resolution - add "diskLib.dataCacheMaxSize = "0" to the VMX file on all cluster nodes.
Oracle RAC: " The process cannot access the file because another process has locked a portion of the file."
Adding a shared disk to the ASM disk group. Upon starting node2, it throws an error of "The process cannot access the file because another process has locked a portion of the file.". The reason for this is, VMX needs to enable disk sharing. This is only needed for adding a shared SCSI disk on VMware Workstation. Oracle Virtualbox has its own easier way to share disks.
Insert the following line to the VMX file.
Friday, October 8, 2021
Oracle RAC: INS-40912 Virtual host name xxxxx is assigned to another system on the network
While installing the grid software, I encountered the issue of " INS-40912 Virtual host name xxxxx is assigned to another system on the network". It took me a while to realize, that I actually have the IP set on one of my eth interfaces as well as in the /etc/hosts file of the VIP IP section, it has been assigned to the VIP. So. the error did not lie about it. I had 2 IPs co-existed on the eth2 and also the /etc/hosts's VIP section. If you run into this issue, just make sure the IPs on the VIP section are not used or assigned to anything within the RAC or on the network. Normal ping on the IPs and name should help narrow down the issue. The chance of the later is low as during the setup, the installation will locate unused IPs for the VIP.
Friday, May 10, 2019
Oracle: datapump a database by excluding a table
expdp username/password dumpfile=mycloudexport.dmp directory=dumpdir_vcloud schemas=VCLOUD exclude=TABLE:\"IN \'AUDIT_EVENT\'\" logfile=vcloud_dumpfile.log
By excluding the audit_event, the database pump process was speedy. Otherwise, the database backup file transfer will take over a day.
Friday, November 16, 2018
Porting flat file from Linux to SQL Server
Monday, October 30, 2017
ORA-27302: failure occurred at: sskgpsemsper
SYS> startup
ORA-27154: post/wait create failed
ORA-27300: OS system dependent operation:semget failed with status: 28
ORA-27301: OS failure message: No space left on device
ORA-27302: failure occurred at: sskgpsemsper
as root.
echo "300 2000 200 128" > /proc/sys/kernel/sem
Thursday, December 15, 2016
Oracle 12C: Moving datafiles feature
ORA-19566: exceeded limit of 0 corrupt blocks for file". This Oracle error simply means, the block no longer belonging to any extents and Oracle 'marked' it as corruption, so, logically, if I can find a way to scrub it, it should fix the issue.
set current session to the database that I intend to test which is pdorcl.
First time I get the chance to test out the "datafile move" feature. I can see that this may come very handy moving things around. Though, the performance can be questionable for large production environment.
Saturday, May 21, 2016
Oracle: CREDENTIAL: ORA-27369: job of type EXECUTABLE failed with exit code: 7 !@#--!@#7#@!--#@!&
Note: there are 2 ways to create scheduler credential. DBMS_SCHEDULER.CREATE_CREDENTIAL is deprecating in 12.1 and preferably be using DBMS_CREDENTIAL.CREATE_CREDENTIAL package 12.1 onward.
Setup:
Legit OS level user: oracle and password is vmware
Instance level user setup: scott
ascript.sh is a script that is calling another sql script at the OS level.
TEST # 1 : dbms_scheduler with valid OS user - PASSED
TEST 2: DBMS Scheduler with random user - FAILED
Test 3 – using DBMS_CREDENTIAL with random user - FAILED
exec dbms_scheduler.create_job ( job_name => 'SCRIPT_JOB3', job_type => 'EXECUTABLE', job_action => '/home/oracle/Downloads/script/ascript.sh', start_date => SYSTIMESTAMP, repeat_interval => 'freq=hourly;interval=2', end_date => NULL,enabled => TRUE,auto_drop => FALSE,comments => 'Executable jobfor ascript.sh',credential_name => 'scott.EXT_JOB_CRED10');
EXEC dbms_scheduler.run_job('SCRIPT_JOB3');
SQL> EXEC dbms_scheduler.run_job('SCRIPT_JOB3');BEGIN dbms_scheduler.run_job('SCRIPT_JOB3'); END; *ERROR at line 1:ORA-27369: job of type EXECUTABLE failed with exit code: 7 !@#--!@#7#@!--#@!&ORA-06512: at "SYS.DBMS_ISCHED", line 209ORA-06512: at "SYS.DBMS_SCHEDULER", line 594ORA-06512: at line 1
Tuesday, February 23, 2016
Oracle EBS: RW-50010: Error: - script has returned an error: 1
Error
Stdout: See C:\oracle\dev\fs2\EBSapps\appl\admin\dev_ebsdev\tmp\T1456139825284_122.tmp
Stderr: The system cannot find the path specified.
</message>
</record>
<record>
<date>2016-02-22T18:46:09</date>
<millis>1456141569147</millis>
<sequence>344</sequence>
<logger>oracle.apps.fnd.txk.install</logger>
<level>SEVERE</level>
<class>oracle.apps.fnd.txk.config.InstallService</class>
<method>printError</method>
<thread>10</thread>
<message>oracle.apps.fnd.txk.config.ProcessStateException: FileSys OS COMMAND Failed : Exit=3 See log for details. CMD= cmd /c rmdir /s /q C:\\oracle\\dev\\fs2\\FMW_Home\webtier\OPatch ## Node=NodeId=1698 Type=24 TypeName=filesys_patch_action Name= RefId=901 State=init ConfigDoc=APPS_OHS_HOME ParentDoc=null Topology=R12 Action=os_cmd
at oracle.apps.fnd.txk.config.FileSysPatchActionNode.doFileSysOSCmd(FileSysPatchActionNode.java:169)
at oracle.apps.fnd.txk.config.FileSysPatchActionNode.processState(FileSysPatchActionNode.java:101)
at oracle.apps.fnd.txk.config.PatchActionNode.processState(PatchActionNode.java:187)
at oracle.apps.fnd.txk.config.PatchNode.processState(PatchNode.java:338)
at oracle.apps.fnd.txk.config.PatchesNode.processState(PatchesNode.java:79)
at oracle.apps.fnd.txk.config.InstallNode.processState(InstallNode.java:68)
at oracle.apps.fnd.txk.config.TXKTopology.traverse(TXKTopology.java:594)
at oracle.apps.fnd.txk.config.InstallService.doInvoke(InstallService.java:224)
at oracle.apps.fnd.txk.config.InstallService.invoke(InstallService.java:237)
at oracle.apps.fnd.txk.config.InstallService.main(InstallService.java:291)
Wednesday, January 27, 2016
Oracle datapump migration to 11G triggered [qerxtgetrefoffset_911]
I have done hundreds of datapump and this one just would not go through. I have tried everything that I can dig through in Oracle Metalink and attempted informal patches from Oracle on 11.2.0.1,11.2.0.3, 11.2.0.4 and 12.0.1.0. Some of the attempts I have made are using VERSION=12, parallel=1 and tried recommended one-off patch from Oracle.
OK, OK, so what was my issue ??
I was trying to migrate their database at 10.2.0.5 to 11.2.0.4 and been getting ORA-600 [qerxtGetRefOffset_911]. Oracle alert.log, trace files and datapump traces and the issue appear to hit the Datapump Worker Process bug. There were quite a bit of similar bugs have been reported and it seems to me that the fix did not make it into 11.2.0.4 at first. They all appear similar to the following errors
ORA39014: One or more workers have prematurely exited.
ORA39029: worker 1 with process name "DW00" prematurely terminated
ORA31671: Worker process DW00 had an unhandled exception.
ORA00600: internal error code, arguments: [qerxtGetRefOffset_911], [], [], [], [], [], [], [], [], [], [], []
ORA06512: at "SYS.KUPW$WORKER", line 1887 ORA06512: at line 2
ORA39014: One or more workers have prematurely exited.
ORA39029: worker 2 with process name "DW00" prematurely terminated
ORA31671: Worker process DW00 had an unhandled exception.
ORA00600: internal error code, arguments: [qerxtGetRefOffset_911], [], [], [], [], [], [], [], [], [], [], []
ORA06512: at "SYS.KUPW$WORKER", line 1887
ORA06512: at line 2 Job "SYS"."SYS_IMPORT_FULL_01" stopped due to fatal error
DataPump Import (IMPDP) Fails With Internal Error ORA600 [qerxtgetrefoffset_911] When Importing V10 Dump Files (Doc ID 1369347.1) ORA600 [qerxtGetRefOffset_911] (Doc ID 1267718.1) this bug stated bug fix at 11.2.0.3, 12.1.0.1 and 11.2.0.2. Upon, trying to patch, it still did not fixed my issue.
I haven't tried conventional export/import or files copying as the options were not given and this issue is not my call. I was just being instructed to fix the issue by using Datapump.
Thursday, January 21, 2016
Oracle RAC Scan and resolv.conf issue
Things to check/verify and double check in case someone changed something.
/etc/hosts
/etc/hostname or hostname
/etc/resolv.conf
/etc/named.conf
/var/named/mhrac1.zone (the zone file)
/etc/sysconfig/network-scripts -- check all the eth0, eth1, eth2 files here to have a good picture of how the networking looks like in this setup
Long story short -
When running an nslookup check, I was getting the following. I have disabled the firewall for the test, so port 53 should not be blocked. I can ping freely in and out of the node yet I kept getting the following. All configured IPs ping-ed fine.
Address: 10.11.188.211#53
** server can't find mhrac1-scan.wwdom.com: NXDOMAIN
search wwdom.com
nameserver 10.11.188.211
nameserver 10.11.188.212
nameserver 10.16.169.90
# NOTE: the libc resolver may not support more than 3 nameservers.
# The nameservers listed below may not be recognized.
nameserver 10.10.1.110
After fixing the extra 3 IPs from the top, I was able to perform an expected nslookup. I was also able to replicate the issue by restarting the network - "service network restart" and new IPs get inserted every time I did that.
Monday, October 19, 2015
Oracle Troubleshooting: Datapump - ORA-27038: created file already exists
[oracle@Cloud3 clone]$ expdp vpx/vmware dumpfile=vpx.dmp schemas=vpx directory=vdump logfile=vpx.dmp
Export: Release 11.2.0.1.0 - Production on Mon Oct 19 09:51:14 2015
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-31641: unable to create dump file "/backup/vpx.dmp"
ORA-27038: created file already exists
Additional information: 1

