Problem in reinstalling VirtualBox

Discussions related to using VirtualBox on Linux hosts.

Problem in reinstalling VirtualBox

Postby zak100 » 30. Mar 2019, 02:46

Hi,
I got problem with USB. Virtual Box can't access USB. So I accessed a site which I asked me to purge the virtual Box. I did not know what the purge does. I found that it deleted the virtual box.Now I am facing problem in reinstalltion maybe because I have manually deleted the Virtual Machines.

I have installed virtual Box 6.0. I think previously I had different version. But when I try to install Mobisec virtual Machine, I am getting following error:
Failed To OpenSession.

It asks me to execute /sbin/VboxConfig but when i execute it , it asks password of root but when I give the password, it does not accept the password and stops by saying permission denied.

I don't know how to fix this problem. Can somebody please guide me.

Zulfi.
Attachments
failedToOpenSession.jpeg
failedToOpenSession.jpeg (53.51 KiB) Viewed 307 times
sbinVboxConfig.jpeg
sbinVboxConfig.jpeg (81.57 KiB) Viewed 307 times
zak100
 
Posts: 14
Joined: 26. Mar 2019, 17:21

Re: Problem in reinstalling VirtualBox

Postby zak100 » 30. Mar 2019, 04:58

Hi,
I got following message when I tried to execute "/sbin/vboxconfig"
:~$ /sbin/vboxconfig
rm: cannot remove '/sbin/rcvboxdrv': Permission denied
ln: failed to create symbolic link '/sbin/rcvboxdrv': File exists
/sbin/vboxconfig: 154: /sbin/vboxconfig: cannot create /lib/systemd/system/vboxdrv.service: Permission denied
rm: cannot remove '/sbin/rcvboxballoonctrl-service': Permission denied
ln: failed to create symbolic link '/sbin/rcvboxballoonctrl-service': File exists
/sbin/vboxconfig: 154: /sbin/vboxconfig: cannot create /lib/systemd/system/vboxballoonctrl-service.service: Permission denied
rm: cannot remove '/sbin/rcvboxautostart-service': Permission denied
ln: failed to create symbolic link '/sbin/rcvboxautostart-service': File exists
/sbin/vboxconfig: 154: /sbin/vboxconfig: cannot create /lib/systemd/system/vboxautostart-service.service: Permission denied
rm: cannot remove '/sbin/rcvboxweb-service': Permission denied
ln: failed to create symbolic link '/sbin/rcvboxweb-service': File exists
/sbin/vboxconfig: 154: /sbin/vboxconfig: cannot create /lib/systemd/system/vboxweb-service.service: Permission denied
Failed to enable unit: Access denied
Failed to enable unit: Access denied
Failed to reload daemon: Access denied
Failed to enable unit: Access denied
ln: failed to create symbolic link '/sbin/vboxconfig': Permission denied
vboxdrv.sh: Stopping VirtualBox services.

Some body please help me.

Zulfi.
Last edited by socratis on 30. Mar 2019, 06:14, edited 1 time in total.
Reason: Enclosed the information in [quote][pre] tags for better readability
zak100
 
Posts: 14
Joined: 26. Mar 2019, 17:21

Re: Problem in reinstalling VirtualBox

Postby zak100 » 30. Mar 2019, 06:00

Hi,
Thanks. God bless you guys. I am able to solve this problem. But now I have to reinstall all the virtual machines.

Zulfi.
zak100
 
Posts: 14
Joined: 26. Mar 2019, 17:21

Re: Problem in reinstalling VirtualBox

Postby socratis » 30. Mar 2019, 09:45

Not sure what you've done there, and I won't be sure unless I sit in front of your computer, but you seem to have some security/authorization issues with your host there. I don't know what you did, but it seems you have resolved it. Do you mind telling us how? Do you have to run VirtualBox as 'root' perhaps?

As for re-installing your virtual machines. Are you sure that the virtual machines are gone, and not simply "registered" to the user's account that you use?


PS. You don't have to include a screenshot of your whole desktop, just to focus on a dialog. Crop the image next time, or even better, copy the text and post the text instead of a picture.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 26816
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Problem in reinstalling VirtualBox

Postby zak100 » 31. Mar 2019, 02:18

Hi,
Actually I first installed the Virtual Box which was related to Ubuntu but that was also from Oracle corporation. But When I deleted the stuff manually I installed Oracle virtual Box having oracle logo. So I was getting permission denied message.Some I searched and found thatthere is a different virtual box for Ubuntu. I first thought its from Ubuntu corporation so I tied to hide this information on the forum because I was afraid that I won't get any help. However after sometime, I checked the "Help", i found it is also from Oracle. Its version is:
GUI version 5.2.18-Ubuntu r123745.

Please guide me how to free the space. I created the "local-host only network and it is still there in the new one. This was confusing to me and you are right that:

<Are you sure that the virtual machines are gone, and not simply "registered" to the user's account that you use?>

I am getting a disk problem.
Code: Select all   Expand viewCollapse view
$ df -m
Filesystem     1M-blocks  Used Available Use% Mounted on
udev                7863     0      7863   0% /dev
tmpfs               1577     3      1575   1% /run
/dev/sda2         937368 54971    834713   7% /
tmpfs               7885   266      7619   4% /dev/shm
tmpfs                  5     1         5   1% /run/lock
tmpfs               7885     0      7885   0% /sys/fs/cgroup
/dev/loop1            92    92         0 100% /snap/core/6531
/dev/loop2           141   141         0 100% /snap/gnome-3-26-1604/82
/dev/loop4             4     4         0 100% /snap/gnome-system-monitor/51
/dev/loop3           144   144         0 100% /snap/gnome-3-28-1804/23
/dev/loop6             3     3         0 100% /snap/gnome-calculator/260
/dev/loop8            54    54         0 100% /snap/core18/782
/dev/loop7            90    90         0 100% /snap/core/6673
/dev/loop10           35    35         0 100% /snap/gtk-common-themes/1122
/dev/loop0            15    15         0 100% /snap/gnome-logs/37
/dev/loop9            91    91         0 100% /snap/core/6405
/dev/loop12          906   906         0 100% /snap/android-studio/73
/dev/loop5           141   141         0 100% /snap/gnome-3-26-1604/70
/dev/loop11           36    36         0 100% /snap/gtk-common-themes/1198
/dev/loop16            1     1         0 100% /snap/gnome-logs/57
/dev/loop15            4     4         0 100% /snap/gnome-system-monitor/57
/dev/loop14            5     5         0 100% /snap/gnome-calculator/352
/dev/loop13            3     3         0 100% /snap/gnome-calculator/180
/dev/loop17            4     4         0 100% /snap/gnome-system-monitor/70
/dev/loop18          905   905         0 100% /snap/android-studio/71
/dev/loop19          141   141         0 100% /snap/gnome-3-26-1604/78
/dev/loop20           15    15         0 100% /snap/gnome-logs/45
/dev/loop21           13    13         0 100% /snap/gnome-characters/139
/dev/loop22           13    13         0 100% /snap/gnome-characters/103
/dev/loop24           15    15         0 100% /snap/gnome-characters/206
/dev/loop23           35    35         0 100% /snap/gtk-common-themes/319
/dev/sda1            511     7       505   2% /boot/efi
tmpfs               1577     1      1577   1% /run/user/121
tmpfs               1577     1      1577   1% /run/user/1000
i@lc2530hz:~$

Please reply me how to solve this problem.
Zu;lfi.
Last edited by socratis on 4. Apr 2019, 08:09, edited 1 time in total.
Reason: Enclosed the information in [quote][code] tags for better readability
zak100
 
Posts: 14
Joined: 26. Mar 2019, 17:21

Re: Problem in reinstalling VirtualBox

Postby socratis » 4. Apr 2019, 08:08

zak100 wrote:so I tied to hide this information on the forum because I was afraid that I won't get any help
If you try to pull such a trick on the people that are trying to help you, we're going to discover the lying and the cheating (there are a lot of ways), and not only you won't get help, but you will be banned for life!

zak100 wrote:GUI version 5.2.18-Ubuntu r123745.
That's the Ubuntu fork version of VirtualBox. You can either ask in their forums/channels for help, or completely remove/uninstall/delete/purge their version and install the official version from the Linux Downloads section of VirtualBox.

Then we can continue the discussion...
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 26816
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 8 guests