Category Archives: Uncategorized

Upgrade to Vagrant 1.8.6

If you are getting this following error: (or something like it on Centos 6) Boxes.

db12102: Inserting generated public key within guest..

db12102: Removing insecure key from the guest if it’s present…

db12102: Key inserted! Disconnecting and reconnecting using new SSH key…

db12102: Warning: Authentication failure. Retrying…

db12102: Warning: Authentication failure. Retrying…

Take a look here at vagrant issue 7610.

Getting JDK from Oracle using curl

I forget stuff.  Found this on gist.

curl -L -b “oraclelicense=a” -O

Check the website for the correct url path, but this should get you the idk you always wanted.  This should work for other stuff on otn, but no promises. 🙂



Oracle OEPE 12.1.3 – Crashes with Oracle Linux 6.5

The error message is:
eclipse: cairo-misc.c:380: _cairo_operator_bounded_by_source: Assertion `NOT_REACHED’ failed.”

I found this also seems to be the case with Centos as well:

Found the solution here:

Work around is “-Dorg.eclipse.swt.internal.gtk.cairoGraphics=false” to eclipse.ini.

Oracle Database 12c Modifications from Vagrant – Getting EM to work

I published a blog on installing a 12c database with vagrant a few weeks back. I just want to update some slight modifications that might be useful for you and help me remember as well.

As oracle user nano .bash_profile in the /home/oracle directory.


You can then source the .bash_profile and add the ORACLE_SID and then export ORACLE_SID.  Connect to the database:

sqlplus / as sysdba

Password = oracle

This allows you to run the following commands to get em working from your desktop machine.

SQL> show parameters dispatchers;

Which should show:


———————————— ———– ——————————

dispatchers     string (PROTOCOL=TCP) (SERVICE=db1210


max_dispatchers      integer

SQL> select dbms_xdb_config.gethttpsport () from dual;

Which should show:




SQL> exec dbms_xdb_config.sethttpsport(5502);

PL/SQL procedure successfully completed.

SQL> commit;

SQL> select dbms_xdb_config.gethttpsport () from dual;




From your desktop


Vagrant 1.7 in GUI Mode with VirtualBox

Came across a Vagrant issue where the VM boots up in GUI Mode ( vb.gui=true ) and the host wouldn’t connect via ssh.  Vagrant would retry until the connection failed.  The GUI would come-up of the box.

The answer I found was login into the GUI console

run as root “dhclient”

Man on dhclient

Answer from here:


Oracle Database install with Vagrant on Centos 6.5 (Jellema and Biemond)

Lucas Jellema writes the following in August 2014.

Based upon Edwon Biemonds work:

This leverages Edwin Biemonds repos’s so bug fixes might be there.  The only issue I had was taking out the X libraries in db.pp in the manifests directory.

===> ‘libXext’ and ‘libXtst’

These are not needed anymore.

Total install time after downloading binaries from Oracle.

==> db12102: Notice: Finished catalog run in 1376.77 seconds or 22 Minutes.

Not bad!

Tagged ,

Updating VirtualBox Guest Additions in Vagrant

Change happens, the centos64 vagrant with VirtualBox Guest Additions are now out of date with the rollout to 4.3.2.  I  don’t want to update those additions quite yet since it might impact other users or post a new box which has the latest additions.  I have done some preliminary testing with the vagrant plugin below. Give it a try and tell me if you like it.

I was looking for this because I was getting checksum errors when copying files from the /vagrant directory…and was frustrated that I would have to run “vagrant provision” after a 20 minute failure.  It is better to upgrade the box.

11/15/2013 – Update

The version that I was using 0.9 (vagrant plugins list)  Generally worked ok..however I would have some issues when a box already add the guest additions already installed.  Once I started with…my box creation days are wildly I think I will just create a new box with the same name and post it with the latest VBGA.  Open for comments on this.

Vagrant on VirtualBox 4.3.2 on Windows

I would hold off on upgrading from VirtualBox 4.2 if you are using Vagrant.

There is a beta build for 4.3.3 (In the link)…which addresses private network issues on Windows, however it is being tested so use at your own risk.




Install Oracle XE 11gR2 with Vagrant

Working for Oracle, you need to be able to use and install a database.  While I am primarily focused on Fusion Middleware, the Oracle XE database, while not as “cool” as the new 12c database, is a very functional and useful tool for both development and learning.

I am working on some projects which will need to have the database act as an application data store as well as hold, for example,  the MDS for SOA Suite 11g R2.  However, I don’t need to have a production database system. I need just enough to get the job done on my limited development system.

Once again, we run into the issue with a fully constructed VM.  The fully constructed templated VM doesn’t give me the flexibility, read agility, to prototype solutions for myself or my customers.

Once again, we can leverage the type 2 hypervisor from VirtualBox to help build out this component of the larger stack and have the VM do the specific function for which it is designed.  This is the cloud way.

We will, in a latter (hopefully not to much latter) post, show how we can leverage Vagrant to start assembling these infrastructure components that do something useful.  Running VM’s and installing software is not that interesting.  VM’s doing or proving some workload are much more interesting.

Here you go…test it out. I hope it works for you.



Vagrant Error when importing a Box

I am running on Mac with VirtualBox 4.2.18 and out of no where started getting these errors.

/// Problem

Bringing machine ‘default’ up with ‘virtualbox’ provider…

[default] Importing base box ‘centos64’…

Progress: 20%There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: [“import”, “/Users/mbaldwin/.vagrant.d/boxes/centos64/virtualbox/box.ovf”]

Stderr: 0%…10%…20%…30%…40%…50%…60%…70%…80%…90%…100%

Interpreting /Users/mbaldwin/.vagrant.d/boxes/centos64/virtualbox/box.ovf…



Progress state: VBOX_E_FILE_ERROR

VBoxManage: error: Appliance import failed

VBoxManage: error: Could not create the clone medium ‘/Users/mbaldwin/VirtualBox VMs/centos64_1/box-disk1.vmdk’ (VERR_VD_VMDK_INVALID_FORMAT)

VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Appliance, interface IAppliance

VBoxManage: error: Context: “int handleImportAppliance(HandlerArg*)” at line 781 of file VBoxManageAppliance.cpp

//// Solution 

execute “vagrant box remove centos64”
execute “vagrant up” – reinstall the image…

As they say…it worked for me.