Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
TheDutchMC04

Unable to start VBox Web Service Ubuntu Server

Recommended Posts

Posted · Original PosterOP

Hi,

 

I am trying to install virtualBox on my Ubuntu server (18.04 LTS), though, when running

sudo systemctl restart vboxdrv

It will throw an error, specifically:

Sep 21 20:59:53 pegasus-server systemd[1]: Starting vboxweb-service.service...
Sep 21 20:59:53 pegasus-server vboxweb-service.sh[18931]: vboxweb-service.sh: Starting VirtualBox web service.
Sep 21 20:59:53 pegasus-server vboxweb-service.sh[18938]: Starting VirtualBox web service.
Sep 21 20:59:53 pegasus-server vboxweb-service.sh[18931]: vboxweb-service.sh: failed: VirtualBox web service failed to start.
Sep 21 20:59:53 pegasus-server vboxweb-service.sh[18953]: failed: VirtualBox web service failed to start.
Sep 21 20:59:53 pegasus-server systemd[1]: vboxweb-service.service: Control process exited, code=exited status=1
Sep 21 20:59:53 pegasus-server systemd[1]: vboxweb-service.service: Failed with result 'exit-code'.
Sep 21 20:59:53 pegasus-server systemd[1]: Failed to start vboxweb-service.service.

I havent been able to fix this, I hope someone here know how to.

 

Thanks 😃

Link to post
Share on other sites

That doesn't tell us much, try running

journalctl -xe | grep vbox

 


...is there a question here? 🤔

sudo chmod -R 000 /*

What is scaling and how does it work? Asus PB287Q unboxing! Console alternatives :D Watch Netflix with Kodi on Arch Linux Sharing folders over the internet using SSH Beginner's Guide To LTT (by iamdarkyoshi)

Sauron'stm Product Scores:

Spoiler

Just a list of my personal scores for some products, in no particular order, with brief comments. I just got the idea to do them so they aren't many for now :)

Don't take these as complete reviews or final truths - they are just my personal impressions on products I may or may not have used, summed up in a couple of sentences and a rough score. All scores take into account the unit's price and time of release, heavily so, therefore don't expect absolute performance to be reflected here.

 

-Lenovo Thinkpad X220 - [8/10]

Spoiler

A durable and reliable machine that is relatively lightweight, has all the hardware it needs to never feel sluggish and has a great IPS matte screen. Downsides are mostly due to its age, most notably the screen resolution of 1366x768 and usb 2.0 ports.

 

-Apple Macbook (2015) - [Garbage -/10]

Spoiler

From my perspective, this product has no redeeming factors given its price and the competition. It is underpowered, overpriced, impractical due to its single port and is made redundant even by Apple's own iPad pro line.

 

-OnePlus X - [7/10]

Spoiler

A good phone for the price. It does everything I (and most people) need without being sluggish and has no particularly bad flaws. The lack of recent software updates and relatively barebones feature kit (most notably the lack of 5GHz wifi, biometric sensors and backlight for the capacitive buttons) prevent it from being exceptional.

 

-Microsoft Surface Book 2 - [Garbage - -/10]

Spoiler

Overpriced and rushed, offers nothing notable compared to the competition, doesn't come with an adequate charger despite the premium price. Worse than the Macbook for not even offering the small plus sides of having macOS. Buy a Razer Blade if you want high performance in a (relatively) light package.

 

-Intel Core i7 2600/k - [9/10]

Spoiler

Quite possibly Intel's best product launch ever. It had all the bleeding edge features of the time, it came with a very significant performance improvement over its predecessor and it had a soldered heatspreader, allowing for efficient cooling and great overclocking. Even the "locked" version could be overclocked through the multiplier within (quite reasonable) limits.

 

-Apple iPad Pro - [5/10]

Spoiler

A pretty good product, sunk by its price (plus the extra cost of the physical keyboard and the pencil). Buy it if you don't mind the Apple tax and are looking for a very light office machine with an excellent digitizer. Particularly good for rich students. Bad for cheap tinkerers like myself.

 

 

Link to post
Share on other sites

Like Sauron already said. + You might also want to post the output of the following commands here if it has any information.

 

dmesg | tail
systemctl --failed

 

Link to post
Share on other sites
Posted · Original PosterOP

The output of journalctl -xe | grep vbox: https://pastebin.com/sqPDSMia

output of dmesg | tail: https://pastebin.com/t7zSFcpv

output of systemctl --failed: ● pteroq.service          loaded failed failed Pterodactyl Queue Worker                                                                      
● vboxweb-service.service loaded failed failed vboxweb-service.service   

● pteroq.service          loaded failed failed Pterodactyl Queue Worker                                                                      
● vboxweb-service.service loaded failed failed vboxweb-service.service    

Thanks for the replies so far! :D

Link to post
Share on other sites
Posted · Original PosterOP
3 minutes ago, Electronics Wizardy said:

Why use virtual box on ubuntu? KVM based solutions normally work much better in linux, and there are many good web gui's for them aswell. look at proxmox if you want a kvm based hypervisor.

Because I only have one server available to me, running ubuntu, and it is possible, otherwhise VirtualBox wouldnt be available for Ubuntu :)

Link to post
Share on other sites
Just now, TheDutchMC04 said:

Because I only have one server available to me, running ubuntu, and it is possible, otherwhise VirtualBox wouldnt be available for Ubuntu :)

But kvm just works better normally on linux. Better support, more commonly used, better performance, more integrated into kernel. And its just a simple install with apt aswell.

Link to post
Share on other sites
Posted · Original PosterOP
1 minute ago, Electronics Wizardy said:

But kvm just works better normally on linux. Better support, more commonly used, better performance, more integrated into kernel. And its just a simple install with apt aswell.

I understand that, but this VM isnt here for performance, and it may be more common. But I would like to stick with Ubuntu, as stubborn as that may sound 😃

Link to post
Share on other sites

Can read something in the log about vboxweb-service.sh failing to start. You might want to find this script and start it manually see what kind of output this will give.

 

find / -name vboxweb-service.sh
cd <Location of vboxweb-service.sh>
./vboxweb-service.sh

Edit : You might want to run that as sudo ;) otherwise many access denieds

Link to post
Share on other sites
Just now, TheDutchMC04 said:

I understand that, but this VM isnt here for performance, and it may be more common. But I would like to stick with Ubuntu, as stubborn as that may sound 😃

but you can install kvm on ubuntu. Its a program just like virtual box, but better in most ways. Just install libvirt and qemu-kvm with apt

Link to post
Share on other sites
Posted · Original PosterOP
1 minute ago, Jarno. said:

Can read something in the log about vboxweb-service.sh failing to start. You might want to find this script and start it manually see what kind of output this will give.

 


find / -name vboxweb-service.sh
cd <Location of vboxweb-service.sh>
./vboxweb-service.sh

 

I found the file in /usr/lib/virtualbox, running ./vboxweb-service.sh start gives

vboxweb-service.sh: Starting VirtualBox web service.
vboxweb-service.sh: failed: VirtualBox web service failed to start.
Link to post
Share on other sites
Posted · Original PosterOP
1 minute ago, Electronics Wizardy said:

but you can install kvm on ubuntu. Its a program just like virtual box, but better in most ways. Just install libvirt and qemu-kvm with apt

Ahh gotcha! I thought it was a seperate OS. Ill give it a go then!

Link to post
Share on other sites
10 minutes ago, Electronics Wizardy said:

Why use virtual box on ubuntu? KVM based solutions normally work much better in linux, and there are many good web gui's for them aswell. look at proxmox if you want a kvm based hypervisor.

Totally agree to this, KVM has way less overhead then virtualbox and VMware workstation. Funny fact: imported some diskimages from vmware workstation into KVM the other day on the same Linux PC. And it was running way better.

Link to post
Share on other sites
Posted · Original PosterOP
2 minutes ago, Jarno. said:

Totally agree to this, KVM has way less overhead then virtualbox and VMware workstation. Funny fact: imported some diskimages from vmware workstation into KVM the other day on the same Linux PC. And it was running way better.

I will throw VB out the window then, and install KVM :D

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×