Issues with Orale VM (Start up issue)


Issue details from the log:

C:\Users\User\VirtualBox VMs\12.2.1_VM\Logs\VBoxHardening.log

38c.29a4: Registered Dll notification callback with NTDLL.
38c.29a4: supHardenedWinVerifyImageByHandle: -> 0 (\Device\HarddiskVolume2\Windows\System32\kernel32.dll)
38c.29a4: supR3HardenedWinVerifyCacheInsert: \Device\HarddiskVolume2\Windows\System32\kernel32.dll
38c.29a4: supR3HardenedMonitor_LdrLoadDll: pName=C:\WINDOWS\System32\KERNEL32.DLL (Input=KERNEL32.DLL, rcNtResolve=0xc0150008) *pfFlags=0xffffffff pwszSearchPath=0000000000004001: [calling]
38c.29a4: supR3HardenedDllNotificationCallback: load 00007fffee4d0000 LB 0x0021d000 C:\WINDOWS\System32\KERNELBASE.dll [fFlags=0x0]
38c.29a4: supHardenedWinVerifyImageByHandle: -> 0 (\Device\HarddiskVolume2\Windows\System32\KernelBase.dll)
38c.29a4: supR3HardenedWinVerifyCacheInsert: \Device\HarddiskVolume2\Windows\System32\KernelBase.dll
38c.29a4: supR3HardenedDllNotificationCallback: load 00007ffff0610000 LB 0x000ac000 C:\WINDOWS\System32\KERNEL32.DLL [fFlags=0x0]
38c.29a4: supR3HardenedScreenImage/LdrLoadDll: cache hit (VINF_SUCCESS) on \Device\HarddiskVolume2\Windows\System32\kernel32.dll [lacks WinVerifyTrust]
38c.29a4: supR3HardenedMonitor_LdrLoadDll: returns rcNt=0x0 hMod=00007ffff0610000 ‘C:\WINDOWS\System32\KERNEL32.DLL’
38c.29a4: supR3HardenedDllNotificationCallback: load 00007ff6bff80000 LB 0x0010d000 C:\Program Files\Oracle\VirtualBox\VirtualBox.exe [fFlags=0x0]
38c.29a4: ‘\Device\HarddiskVolume2\Program Files\Oracle\VirtualBox\VirtualBox.exe’ has no imports
38c.29a4: supHardenedWinVerifyImageByHandle: -> 0 (\Device\HarddiskVolume2\Program Files\Oracle\VirtualBox\VirtualBox.exe)
38c.29a4: supR3HardenedWinVerifyCacheInsert: \Device\HarddiskVolume2\Program Files\Oracle\VirtualBox\VirtualBox.exe
38c.29a4: supR3HardenedMonitor_LdrLoadDll: Refusing to load ‘C:\Program Files\Avecto\Privilege Guard Client\PGHook.dll’ as it is expected to create undesirable threads that will upset our respawn checks (returning STATUS_TOO_MANY_THREADS)
e64.2f08: supR3HardNtChildWaitFor[1]: Quitting: ExitCode=0xc0000005 (rcNtWait=0x0, rcNt1=0x0, rcNt2=0x103, rcNt3=0x103, 234 ms, CloseEvents);

Root Cause:

This issue occurs due to many threads. Mostly due to

  • VM Box version upgrade
  • Remove older versions of VMs from VM Box (not cleaned in right way)
  • Import new VMs in existing VM Box

 

Mostly this issue occurs when new VM start taken place after the import.

Solution:

Start old VM from VM Box and it will clear unwanted threads and re-register required threads.

 

Note: Do not delete old VMs from the VM box until the new VM comes up.

Advertisements

DVM (multiple occurences of source value), How to debug


Issue: ORAMED-01201:[Error in transform operation]Error occurred while transforming payload using “oramds:/apps/TEST/xslt/TestDVM.xsl” for target part “body”.Possible Fix:Review the XSL or source payload. Either the XSL defined does not match with the payload or payload is invalid. Cause:XML-22044: (Error) Extension function error: Error invoking ‘lookupValue’:’oracle.tip.dvm.exception.DVMException: The source column “domain1” has already multiple occurences of source value “100” in dvm “oramds:/deployed-composites/default/TestDVM_rev1.0/TestDVM_DVM.dvm“. Please ensure the source value is unique for a given source column.’

Sample DVM with duplicate source value:
<?xml version=”1.0″ encoding=”UTF-8″ ?>
<dvm name=”Test_DVM” xmlns=”http://xmlns.oracle.com/dvm”&gt;
<description></description>
<columns>
<column name=”domain1″/>
<column name=”domain2″/>
</columns>
<rows>
<row><cell>100</cell><cell>Yes I Did it</cell></row>
<row><cell>100</cell><cell>There is some Issue</cell></row>
<row><cell>200</cell><cell>Good to go</cell></row>
<row><cell>300</cell><cell>I am unique</cell></row>
</rows>
</dvm>

How to identify duplicate source value in DVM:
Steps:

Check the error message for DVM name in error message, in above case listed DVM (TestDVM_DVM.dvm)

Check for source column value in error message, in above case (“domain1“)

Check for source value in error message, in above case (“100“)

Consolidate the DVM with right value

Redeploy and test

Happy coding.