Showing posts with label VirtualBox. Show all posts
Showing posts with label VirtualBox. Show all posts

Sunday, September 2, 2012

Installing graphics libraries and desktop services componen[FAILED](See the log file /var/log/vboxadd-install-x11.log for more information.

Hi,
Just a quick note here.
I was trying to install my new Guest Additions to my VirtualBox
4.1.14 to 4.1.18 all of a sudden I got the following exception

Installing graphics libraries and desktop services componen[FAILED](See the log file /var/log/vboxadd-install-x11.log for more information.

By all means, do not restart your machine! I did and I could not log in to my CentOS..
so I had to restore my machine to a previou snapshot that worked....
I tried again, and got the same error.
This I searched the internet and I found this forum thread that helped my solve the problem

https://forums.virtualbox.org/viewtopic.php?f=3&t=49334

All I had to do is to remove the VirtualBoxGuestAdditions symlinks.
 The commands to be executed are the following:

> rm /usr/lib64/VBoxGuestAdditions
> rm /usr/share/VBoxGuestAdditions


A big thanks to the guys that found that solution!
Lessons learned: Always remove the VBoxGuestAdditions symlinks prior to installing the new VBox Guest Additions.
Just to be on the safe side..

cheers.

Sunday, March 11, 2012

Running WebLogic 10.3.6 on CentOs on VirtualBox. Access Weblogic from the host machine

Hi this is just a small note on how to access your weblogic console from you host machine.

This post assumes that you are working on a VirtualBox machine with  operating system of CentOS.

If you have successfully installed weblogic 10.3.6 in you CentOs Virtual Machine and everything is working fine inside your CentOs Virtual Machine, at some point you would want to access your Weblogic console from your hosting machine..

Well, with CentOs... it is not that easy... I mean, you will not be able to do it "out of the box".
Even though that you might have configured your Virtual Machine to have internet access, it is not enough.

You have to do the following:


  • Make sure that you are using manual IP:



  • Make sure that your etc/hosts on your CentOS machine has properly added this IP



And Here is the tricky part...
In order to have your Weblogic accessed from the "outside" world, you will have to handle the firewall of CentOS. The firewall of CentOS, or iptables if you prefer, needs to be configured in order to be able to access the weblogic instance through the "outside" world.

In order to do this the fast way you have to disable the firewall:




If you want to do this in a more sophisticated way, you will have to dig in the CentOS firewall howTo.

More specifically, you will want to accept tcp packets on your weblogic's ports(The below screenshot is taken from the above mentioned link. This is the official CentOS HowTo link.):


In General, for the sample development, for me at least, stopping the firewall was what I was looking for. But in case you want to dig further and tune  your CentOS firewall according to your needs, the official documentation is very enlightening and helpful.


Regards.

References.




LinkWithin

Related Posts Plugin for WordPress, Blogger...