Oracle DB Developer VM does not run - PL/SQL Fundamentals

Hello everyone, After installing VM Virtual Box and importing the DB Developer VM, the system crashes throwing, in a 'blue screen', a 'SYSTEM_SERVICE_EXCEPTION' and after that, the computeris restarted. In the basic configuration window, I noticed a warning message tells me that I have to install a 'VM VirtualBox Extension Pack', as you can see:   After installing the Extension Pack, I still having the same problem and the computer still crashing. So, I checked in the VM's 'Event History Viewer' the following line:  Which could be the issue in this case?, I have enabled the CPU virtualization on my environment. Regards!Joaquín

Hi Joaquin_M_Parrilla, Oracle's VirtualBox VM application can be run on any computer that utilizes an x86 type processor.  This includes Intel and AMD chips.  The Apple MAC falls into this category as well so it will also run on an Apple. But, Virtualization will only work if the following criteria are met:The Processor must at least support VT-x/AMD-VThe processor may also support in the case of Intel VT-d/AMD-Vi, this is for assigning I/O devices to virtualized environmentsThe BIOS settings of the mother board should have an option to enable these features.Enough RAM to support the host O/S, the virtualization application and the  guest O/S.Enough disk space to contain the pre-built vm If these features in points 1 to 3 are not present on the Processors (AMD/Intel) or the BIOS does not have a setting to enable this feature then the following error will be displayed.Refer to your mother board manual and use the options described therein to enter the BIOS setup.  On some platforms this is achieved by repeatedly pressing either the ESC, F1 or F2 keys until the BIOS options display, then enable VT-x or AMD-V and if available also enable VT-d or AMD-Vi. Avoid allocating all the CPU cores to the virtualized environment as this may cause errors and stability issues.    Rather set the number of CPU's for the virtualized guest to half the number of cores on your CPU. For example your CPU has 4 cores and with hyper threading it has 8 threads or VPU's, so to change the number of processors:VirtualBox > System > Processor > change the number of processors from 4 to 2. There is a similar post on the SQL MOOC Fundamentals community that might help you - Re: Using Oracle pre-configured VM for practise  Thanks,PL/SQL MOOC Team

Hello Anjani, I'll check out the Intel VT-d's parameter on my BIO's motherboard to enable these features. However, currently I be able to deploy a VM on a Hyper-V environment without problems because, as showed in the 'task manager', my CPU's virtualization is enabled. On the other hand, I see that this course recommends to use Oracle DB 12c, and in my case, I have installed the 11g XE versión of the DB, because I had problems while I was trying to setup the 12c version as you can see here [HELP] How can I solve the the [INS-30131] issue on Windows 10 x64 Pro?. Does Oracle DB VM also compatible with 11g XE version?. Thank you very much for your help! RegardsJoaquín

Hi Joaquin, Firstly, all the homework and setup for this MOOC can be successfully executed on a 11G XE database also. So, if your system (or any other VM that you successfully installed) has 11G XE and Oracle SQL Developer, you don't have to install any VM. You can execute the setup on your 11G DB itself. Secondly, the VM thats recommended in our setup instructions come with Oracle DB 12C and Oracle SQL Developer pre-installed. Thanks,PL/SQL MOOC Team


Oracle VM templates

Hi,can this Template  Oracle Database 12c & 11g Release 2 - Single Instance and Real Application Clusters (RAC) From :Oracle VM Templates | Oracle Technology Network be imported to Oracle VM VirtualBox  ? If not, is there something equivalent for VM VirtualBox ? Thanks.
Here is a list of Pre-Built Developer VMs for Oracle VM VirtualBox | Oracle Technology Network Here is another one: Regarding RAC, the setup is more complex and requires to configure shared virtual disks. VirtualBox under Mac OS X, last time I checked, does not support this, for example. I doubt you will find a prebuilt virtual appliance for VirutalBox.
And btw, Oracle VM server for x86 and VM Virtualbox are very different products. Virtualbox is a type 2 hyperviser (Application) and VM Server is a type 1 hypervisor that installs on bare metal, replacing any existing host system.
Actually, those templates can work on VirtualBox, they require some tweaking, though. If you have Linux and VirtualBox experience, you just need to install the base OS (using the Minimal install option) and then mount the /u01 disk from the template into the VirtualBox VM. Once you've done that, you should be able to clone the VM to create your RAC nodes and setup shared storage.
OTN Dude wrote:
VirtualBox under Mac OS X, last time I checked, does not support this, for example. I doubt you will find a prebuilt virtual appliance for VirutalBox.
 VirtualBox under OS X has supported shared disks since the functionality was released. There is no difference between the ports of VirtualBox across operating systems, which is one of the major features of VirtualBox.
I've switched between VMware and VirtualBox several times in the past so it is possible that I confuse the features between the two, but I just tried the following: VBoxManage modifyhd 2.2\ asm1.vdi --type sharableVBoxManage: error: Invalid medium type 'sharable' Maybe there is something wrong with the above command or the virtual attached storage controller or disk image, but I searched for a solution a few years ago, and remember that it was one of the features not available under OS X. But now I'm not sure anymore whether that was for VMware or VirtualBox, but sometimes host system limitations apply to both products.
OTN Dude wrote:
I've switched between VMware and VirtualBox several times in the past so it is possible that I confuse the features between the two, but I just tried the following:
 You're spelling "shareable" incorrectly. 
$ VBoxManage modifyhd 2.2\ asm1.vdi --type shareableVBoxManage: error: Cannot change type for medium '/Volumes/VM/Virtual Machines/VirtualBox/Oracle Linux 6 (64)/2.2 OL 6 (64) 12cR1 CC/2.2 asm1.vdi' since it has 1 child mediaVBoxManage: error: Details: code VBOX_E_OBJECT_IN_USE (0x80bb000c), component MediumWrap, interface IMedium, callee nsISupportsVBoxManage: error: Context: "COMSETTER(Type)(enmMediumType)" at line 656 of file VBoxManageDisk.cpp I guess it requires some more effort to look into. I only remember there was some platform compatibility problem several years ago, not because I tried recently. Does it work on your Mac? 
Works perfectly on my Mac. However, needs to be a Fixed disk (not Dynamic) with no snapshots. I believe your issue is because the disk you're trying to change has snapshots.
OK, makes sense. Thanks for the info. I'm going to cross out my previous statement.  The more I think about it, the more I wonder if it was really a problem of VirtualBox and not VMware Fusion. I just checked and found the following post:

Hypervisor Installation on VirtualBox

Hi !Trying to improve my knowledge with Hypervisor, so I had a first try installing on VirtualBox (ver.5). But, It failed. Not sure what wrong I was doing.I would be more than happy if anyone guide with some hints, so that I can try further.So, I had this first idea :- Created a Virtual disk of type VHD of type SCSI (considering this disk as Baremetal)- VM type : Other  (normally what we select OL etc so I selected 'Other'),  and 'Hyper' (tried also with 'Default')- Network Adapter : tried with NAT and Bridge- Guest Additions : No chance to install as there is no VM running But, the Hypervisor that I used here is VMware ESXBecause I use only Oracle VirtualBox for my learning I tried it on VirtualBox. I understand it could be possible to do such install on Virtual HardDisk, but I 'm doing something wrong. Am I correct?Do I need to install such Hypervisor, ESX,  in a Guest VM, such as Windows Server ? Any suggestion will be much useful. I did google first, but I did not get any info or may be I did not hit the right link.If any link is there it would also serve better to proceed furtherThanking you,
No one can help you unless you can explain the problem. Are you trying to install and use VirtualBox under VMWare ESX? In a nutshell, VirtualBox is a type 2 Hypervisor that runs as an application and hence requiring a host OS. You can then create VM guests, which can run any OS VirtualBox supports. The VM guest OS has no direct access to the hardware or host OS and only see the hardware VirtualBox presents. VirtualBox does however take advantage of hardware assisted virtualization (VT-x) provided the CPU has appropriate support and you install a 64-bit guest OS.  Running nested virtualization, like running another hypervisor inside a VirtualBox guest OS is not supported, since there is not VT-x pass-through, which is used by VirtualBox. You should also not install any virtualization kernel, such as XEN. VMware ESX is a type 1 hypervisor which replaces the host OS and provides it's own operating system. Also called bare metal. Supported host and guest OS are more limited compared to VirtualBox. Both, the host OS and guest OS, or Dom0 and DomU need to run a kernel with virtualization support, such as XEN.
Hi !I feel pity on myself that my question is not clear to you.But, I thank you for your reply. I try to reframe my question. Can you tell me how can I create a VMware ESX 6 Virtual Guest using Oracle Virtual Box .If I'm still unclear to you then here is the detailed one.I have Oracle Virtual Box 5 running with enough Guests already, and the Host is Windows.Now, I think of to create Virtual Guest for VMware ESX 6. Is it possible to do so?So, do I create a Windows Server Virtual Guest first and run VMware ESX in this Windows Server Virtual Guest?Or is there any other way to install VMware ESX without creating a Windows Server Virtual Guest.If yes, then please tell me the Virtual Box configuration. Thanking you
So you want to install VMware ESX inside a VirtualBox guest system? That would be the same answer as my previous one. You most likely can, but it is not supported and won't allow the VMware ESX to use hardware assisted virtualization. The performance will not be good and you will most likely not be able to use a 64-bit guest with nested virtualization. VMware ESX is a type 1 hypervisor and meant to be installed on bare metal, replacing any previous OS. If you google "install vmware esx in virtualbox" you can find more info. I do not understand what you are trying to accomplish.
Hi !I really thank you for taking time to explain me once again about types of Virtualisation !I'm not confused of difference between Type 1 and Type2 Virtualisation. ( If I Copy & Paste the master's (our Tim Hall's explanation) brief overview about Virtualization, which is in my notes : 1) Hardware Virtualization (old days) (2) OS Virtualisation / Server Virtualisation  (3) Software Virtualization 3) Software Virtualization : This is most common these days, where a program called a hypervisor is used to manage the resources on the physical server. Some Ex: VMware, Virtual Box, Xen, Hyper V, KVM etc ) >>  I do not understand what you are trying to accomplish.I got only the detailed theory knowledge with VMware Vsphere 5 official documentation, but I got to practise for an upcoming project. Not doing practise is like fooling myself.>> So you want to install VMware ESX inside a VirtualBox guest system?All I have is a personal good PC/small server hardware (Intel Sandybridge, 64 GB RAM etc). Yes, the performance will be bad and CPU Overhead too if I do it on Virtual Box, but, I've no other option ( Not sure if there will be any issues if I run VMware Workstation on my Host Computer parallel to Oracle Virtual Box now. To deinstall that immediately is not possible because I have enough Oracle VMs ( Databases, RAC, Weblogic, Cloud Control etc) So, I got to backup/clone all those disks first ) That's a long work !...>>  If you google "install vmware esx in virtualbox"....Yes, I got the link, I have these thoughts in my mind. If you can give some tips it would be helpful too.>>... meant to be installed on bare metal, replacing any previous OS...With that line, I think you are giving me some hint ? So, I've got this idea : Create a Windows Server VM first, attach the VMware ESX ISO and boot this server. That creates a ESXi Machine, did you mean it so? What should I do for a Baremetall installation of VMware ESX inside a VirtualBox?I have these ideas, but not sure that work or not. Use Openfiler Software?   And my target is not just creating one ESXi, but 2 or three, install also vCenter Server related, and vCLI practise.All this i want to do on Oracle Virtual Box, because of no other option.Or backup my Oracle VMs Disks and do this practise by installing VMware Workstation (It's what suggested on VMware Community site)
Personally I wouldn't bother. You can get a cheap server system already for about $100 from ebay and play with the real thing. That will be a much better experience than fiddling around with VMware ESX inside VirtualBox. And the odds are you are going to play more with VirtualBox than VMware to accomplish your task. Keen in mind that anything you install inside VirtualBox is not really bare metal - it's virtual. Again, a VirutalBox guest has no direct access to the hardware and cannot use hardware assisted virtualization. Your options and experience inside Vbox will be very limited and not supported.
Hi !Yes, it's the right way to play around to accomplish the task. But, You really mean $100 Server , I live in Euro World and I did not see anything for €125 Server.There you see it with a starting price of €270 and it's also about space etc.Nevertheless I'll contact a Computer seller. Thanking you !
It depends what on you're looking for. I can find a suitable systems for playing around for less than € 100. If you look for auctions, you might even get lucky for less then € 50 + shipping. Lot's of corporations are desperately trying to get rid of their obsolete systems. 
Surely I do keep it in my mind and search for it as you advised. But, I do not think I'll go for obsolete systems surely some thing useful..So, I could finally install 2 ESXi VMs on Oracle Virtual box and on another guest for vCenter Server on Windows Server..That ESXi installation steps on Virtualbox by Johanthan was useful and changing the Adapter to MTServer skipped the Ethernet warning.. success with 1 change..Thank you for your support !Best regards to you from Frankfurt,Praveen
Btw, Oracle provides a type 1 hypervisor called Oracle VM server for x86. Unlike VMware iESX, it's completely free and certified for running Oracle Database in a production environment. It's Linux based.

After importing .ova file and starting VM got the error about the wrong kernel

After importing .ova file and starting VM got the error about the wrong kernel. I installed Oracle VM VirtualBox Manager and Imported Appliance provided (.ova) for the selected course. In this process were no problems. Now from VirtualBox Manager when I try to launch ”Oracle DB Developer VM” I got the following error: ”This kernel requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot - please use a kernel appropriate for your CPU.” What to do? My OS is Win 7 64x Prof. My CPU is Intel Core i5 2400 with 4 cores and I have 12Gb of RAM. I indicated my name in my Oracle profile but it still shows Display name as a number.
I have the same problem, re-read the requirements to install VM and my computer fill them up but i wonder what "admin priviledges box" means. 
What you can try: Make sure your version is set to "Oracle (64-bit)" which is the default.Otherwise try "Other Linux (64-bit)". If that doesn't work then return it to "Oracle (64-bit)" and check your BIOS that virtualization is turned off.Also make sure that Hype-V is not installed 
Hello, I have windows 10 pro 64bit OS with X-64 based processor. I am still getting kernel mismatch message and can't continue with the setup. Can someone help? When I look at settings, I don't see any option for windows 10 64 bit. Everything is 32 bit only. Thanks,Nimish
Hi, Did you try what NadimG has suggested? This mainly happens due two reasons:If you have a 64-bit OS installed but the VirtualBox OS type is accidentally changed/set to 32-bit after installation.If Vt-X (Virtualization) is disabled in the BIOS. (This can happen if you reset your BIOS to default settings which may have disabled Vt-X  bit).
Now I can confirm your suggestion. Enabling Vt-X in BIOS solved the problem. Tyvm for your help.  Can I mark this question as a solved one? I ask because some other people also had this problem.
Yes, mark it as solved. This way other people that have the same problem will be read your thread first and not the threads that are unsolved.
Nadim, In my oracle VM, I don't have even option to choose Oracle 64 as you suggested. what is shows me is all 32 bit irrespective of platform. I did check my BIOS. Here are details. BIOS Mode UEFISystem Type x64-based PCProcessor Intel(R) Core(TM) i7-4600M CPU # 2.90GHz, 2893 Mhz, 2 Core(s), 4 Logical Processor(s)BIOS Version/Date LENOVO GMET77WW (2.25 ), 11/23/2016Hyper-V - VM Monitor Mode Extensions YesHyper-V - Second Level Address Translation Extensions YesHyper-V - Virtualization Enabled in Firmware NoHyper-V - Data Execution Protection Yes 
Your screenshot says "Virtualization Enable in Firmware  No".You will to enable it in your BIOS. More info: 
Thank you.  Stumbled my way through my HP BIOS and got things enabled.  This resolved the error for me as well.
Yes, please mark the answer as correct. If more people have the same problem, it helps them better in looking at the right answer. RegardsThe Oracle MOOC Team

Can I run my own Virtualbox or Type 2 Hypervisor on OCI Compute Standard VM Shapes?

Can I run my own Virtualbox or Type 2 Hypervisor on OCI Compute Standard VM Shapes? I am able to install it but having problems with NAT forwarding while running vagrant ssh.
I haven't tried this. You'd be using nested virtualization. Can you post what you've done so far and what kind of error messages you've seen?  Also, I'm curious, what is your use case?
Oracle Cloud FAQ says BMs can have any type 2 hypervisors such as KVM or VirtualBox. However on a VM, there is no such direct statement or a use case published (in my findings so far). Note, VMs in Oracle Cloud are also KVM based and you would be doing a nested virtualization. What is your use case for this exercise? With VMs coming in many different (t-shirt) sizes already, you can choose the correct shape for your need instead of introducing another layer of virtualizing to carve out a shape of your choice.  As a test case, however, you can install a VirtualBox on a VM. Posting error messages may help further.
Hi I have installed and used both virtual box and KVM on OCI. You might find some details of KVM on my blog at  for virtual box on Linux you need to compile the kernel extension so you have to install kernel development and kernel headers. I have found KVM performance slightly better than virtualbox in my testing which was on a VM.standard1.1. some use cases are running 32 bit os or obsolete os which are not compatible with OCI hardware and for which there are no native or emulated images
Robin - are you aware there are VirtualBox guest addition RPMs for Oracle Linux UEK4 kernel on Oracle Linux yum server now? 
No I diddn't since I did not have the developer yum repository enabled by default. However I didn't find any issue compiling via the vboxconfig command. here you can see both KVm and Virtualbox on the same vM standard 1.1  Thank you for the link to the article Sergio-Oracle I will definitely check it out  
Robin, are you able to run nested 64-bit VMs?
We also have dedicated White-Paper for OVM on OCI:  Simon
If by nested vms you mean a kvm in an oracle provided Vm yes, Similarly for a virtualbox in an oracle provided vm.. i didn't have to do anything beyond installing kvm and virt-manager etc to get this working so I assume Oracle have nested KVM setup by default.....
Thank you, this is exactly the information I needed. (On OPC/OCI Classic powered by XEN this isn't possible, by the way.)Regards
Yes Simon, I remember you presenting it to me in a telecon some time back At the time I was trying to get it done by myself as I recall.. I will definitely give it a go once more !

Looking for Advice to Deploy Oracle 12c  on Redhat 6.7 Physical and Virtual Servers

I have to deploy about 10 physical Oracle 12c database/Redhat 6.7 servers and about 40 virtual ones in a VMWare 5.5 environment.RAC will be deployed as well.I am an Oracle newbie.I am looking for advice\suggestions on the best ways to accomplish this.Is it possible to create an image and deploy it to the physical servers or at the very least a scripted install?Is it possible to create a VMWare template for the virtual servers?
For stand-alone, the easiest would be to create a VM, install Oracle, and then clone the VM. When implementing a cloned VM for use, hostname and IP will change. There is an Oracle Support note that deals with that - and if I recall correctly, only applicable when using GI (Grid Infrastructure). I recommend using GI (and ASM and raw disks for db storage) for stand-alone implementations anyway. Another option would be to record a response file with the installation, and then perform the installation with said response file on other VMs. The RAC option is more complex. I would not try and automate this. Simply have all the VMs prepped that will be running RAC, and then do the GI and RAC installs on the cluster of VMs at the same time. That said - I would not virtualise RAC unless the virtualisation is specifically implemented to support RAC requirements for low latency and high speed Interconnect and shared cluster storage (as it is done on ODA/Oracle DB Appliance). Also, core licensing on virtualised platforms for Oracle is not per cores used in VM, unless the virtualisation is done using Oracle VM. Lastly - I would not bother with Redhat. I would use Oracle Linux instead. Gives you what Redhat does, but with extras needed for running a robust Oracle db server (such as UEK).