Fedora Linux Support Community & Resources Center
  #1  
Old 23rd November 2008, 08:37 PM
kevaljd Offline
Registered User
 
Join Date: Jul 2008
Location: London
Posts: 77
Question xVM VirtualBox issue with Fedora

Hi all,

I have installed VirtualBox from sun website
http://dlc.sun.com/virtualbox/vboxdownload.html

I downloaded the .run file as rpm was not available for F10

I did

Code:
su -

chmod a+x VirtualBox-2.0.4-38406-Linux_x86.run
./VirtualBox-2.0.4-38406-Linux_x86.run
It asked me to install build and kernel headers before I proceed with installation, I did:

Code:
yum -y install kernel-devel
then did a re-run
it installed with no errors or warnings.
Hurray! I saw VirtualBox Ico in my Applications - System

but whenever I click on it, nothing happens, I tried

Code:
ps aux | grep virtualbox
it showed nothing...

then did ps aux and check each and every process.. no relation with virtualbox...



any ideas?
__________________
Keval Domadia

Suspense behind each distro is:
................ tell you later!
  #2  
Old 23rd November 2008, 09:15 PM
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
 
Join Date: Sep 2007
Location: NYC
Posts: 8,142
Firstly, you can usually use an earlier rpm without problem. I have used the F9 for F10, F8 for F9, etc.
Also, didn't you get some sort of error when you typed VirtualBox to start it.

Oh, you're clicking it. Another reason I hate GUIs. It's probably got an error that the GUI won't deign to show you. Try typing VirtualBox in the kernel. You might see an error indicating that you have to run /etc/init.d/vboxdrv setup, or you might see that you have to add yourself to the vboxusers group or something else that gives you an indication of the problem.
  #3  
Old 23rd November 2008, 09:35 PM
Dangermouse Offline
Administrator - (On Leave)
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 49
Posts: 3,864
Hi a selinux recent update stops it from starting,(thought that was fixed) try
Quote:
su
echo "0" >/selinux/enforce
and see if it starts
http://dnmouse.org/virtualbox.html
  #4  
Old 23rd November 2008, 09:40 PM
kevaljd Offline
Registered User
 
Join Date: Jul 2008
Location: London
Posts: 77
@ Scottro


Code:
[keval@localhost ~]$ su -
Password: 
[root@localhost ~]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module                          [  OK  ]
Removing old VirtualBox kernel module                      [  OK  ]
Recompiling VirtualBox kernel module                       [  OK  ]
Starting VirtualBox kernel module                          [  OK  ]
[root@localhost ~]# VirtualBox
/opt/VirtualBox-2.0.4/VirtualBox: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
[root@localhost ~]#
I believe we have some guests!!!
any help?



EDIT:

Does that mean that I have to do
Code:
yum -y install gcc-c++
lemme try it!


Code:
[root@localhost ~]# yum -y install gcc-c++ gcc
Loaded plugins: refresh-packagekit
fedora                                                   | 2.8 kB     00:00     
updates                                                  | 2.8 kB     00:00     
adobe-linux-i386                                         |  951 B     00:00     
Setting up Install Process
Parsing package install arguments
Package gcc-c++-4.3.2-7.i386 already installed and latest version
Package gcc-4.3.2-7.i386 already installed and latest version
Nothing to do

didnt work

any ideas?
__________________
Keval Domadia

Suspense behind each distro is:
................ tell you later!

Last edited by kevaljd; 23rd November 2008 at 09:53 PM.
  #5  
Old 23rd November 2008, 09:59 PM
Dangermouse Offline
Administrator - (On Leave)
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 49
Posts: 3,864
The easy way would be to remove virtualbox with yum, and then use autoten to install it for you

http://dnmouse.org/autoten.html
  #6  
Old 23rd November 2008, 10:27 PM
kevaljd Offline
Registered User
 
Join Date: Jul 2008
Location: London
Posts: 77
uninstalling with Yum was not possible as I didnt install from any repo... I downloaded .run file from sun website

so i just did reverse of it

Code:
[root@localhost ~]# ./VirtualBox-2.0.4-38406-Linux_x86.run uninstall /opt/VirtualBox-2.0.4/
it worked...

thnx...

u should be

helpfulmouse

have ur beer!
__________________
Keval Domadia

Suspense behind each distro is:
................ tell you later!
  #7  
Old 23rd November 2008, 10:31 PM
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
 
Join Date: Sep 2007
Location: NYC
Posts: 8,142
ahh, the old stdc++ problem. You can fix that (though might be too late to bother now) with
yum install errm, errm--sigh, I've forgotten the name--hold on.

Ah, try yum install compat-libstdc++
  #8  
Old 23rd November 2008, 11:52 PM
kevaljd Offline
Registered User
 
Join Date: Jul 2008
Location: London
Posts: 77
Quote:
Originally Posted by scottro View Post
ahh, the old stdc++ problem. You can fix that (though might be too late to bother now) with
yum install errm, errm--sigh, I've forgotten the name--hold on.

Ah, try yum install compat-libstdc++
yaaaaaaaaaaa its too late to bother.. but hey I know bout this but it didnt click it exactly.... lol

and.........

Quote:
@ Danger Mouse:

Code:
su
echo "0" >/selinux/enforce
I tried a tweak.. rather than being RUDE with SELinux... u see its our friend I did this

Code:
[root@localhost /]# chcon -t textrel_shlib_t '/usr/lib/virtualbox/VirtualBox.so'
and hey Bingo! It works!!!
__________________
Keval Domadia

Suspense behind each distro is:
................ tell you later!
  #9  
Old 24th November 2008, 09:41 AM
Dangermouse Offline
Administrator - (On Leave)
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 49
Posts: 3,864
Quote:
Originally Posted by kevaljd View Post
yaaaaaaaaaaa its too late to bother.. but hey I know bout this but it didnt click it exactly.... lol

and.........



I tried a tweak.. rather than being RUDE with SELinux... u see its our friend I did this

Code:
[root@localhost /]# chcon -t textrel_shlib_t '/usr/lib/virtualbox/VirtualBox.so'
and hey Bingo! It works!!!
Much better way than what i suggested, excellent!
 

Tags
sun, virtualbox, virtualisation

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualBox ping issue tdcrooks Using Fedora 2 29th December 2010 05:54 PM
Odd VirtualBox issue with upgrades and rpms scottro Using Fedora 2 6th June 2009 05:50 AM
Display Issue with Fedora 10 on Sun VirtualBox 2.2.2 stephenjspace Hardware & Laptops 1 19th May 2009 10:15 AM
Display issue with Fedora 10 guest in VirtualBox shunk Using Fedora 4 24th April 2009 08:23 AM
VirtualBox screen issue with Fedora radamsiii Using Fedora 2 22nd October 2008 12:36 AM


Current GMT-time: 05:00 (Monday, 22-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
...Pico Do Papagaio - Whirled Peace Fairmount/ Art Museum Travel Photos on Instagram - Wildcat CrossFit Photos on Instagram