vboxwebsrv: error: failed to open password file

Discussions related to using VirtualBox on Linux hosts.
Locked
Ben.Hahlen
Posts: 4
Joined: 25. Apr 2012, 14:55
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OEL, Fedora

vboxwebsrv: error: failed to open password file

Post by Ben.Hahlen »

When trying to start my VBox Web Service with the command

Code: Select all

 su - vbox -c "/usr/lib/virtualbox/vboxwebsrv -background -F /var/log/vbox.log"
I get the following message

Code: Select all

Oracle VM VirtualBox web service Version 4.2.0
(C) 2007-2012 Oracle Corporation
All rights reserved.
vboxwebsrv: error: failed to open password file (ckground, VERR_FILE_NOT_FOUND)
My /etc/default/virtualbox looks like:

Code: Select all

VBOXWEB_USER=vbox
VBOXWEB_HOST=192.168.10.5
VBOXWEB_LOGFILE=/var/log/vbox.log
What is the problem here? Is anyone else experiencing this?
Ben.Hahlen
Posts: 4
Joined: 25. Apr 2012, 14:55
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OEL, Fedora

Re: vboxwebsrv: error: failed to open password file

Post by Ben.Hahlen »

Anyone? No-one?
ss7ware
Posts: 3
Joined: 2. Oct 2019, 16:08

Re: vboxwebsrv: error: failed to open password file

Post by ss7ware »

Hello,

See that yuo have a typo in the command at the background argument.
it is --background or -b

Code: Select all

[root@yatebts ~]# /usr/lib64/virtualbox/vboxwebsrv --help
Oracle VM VirtualBox web service Version 5.1.22
(C) 2007-2017 Oracle Corporation
All rights reserved.

Usage: vboxwebsrv [options]

Supported options (default values in brackets):
--help, -h:            Print this help message and exit.
--background, -b:      Run in background (daemon mode).
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: vboxwebsrv: error: failed to open password file

Post by socratis »

ss7ware,
Your enthusiasm is really appreciated, but please check the post dates. The original post is from 2012, and I seriously doubt that the OP is still around, or still facing the same ongoing issue for 7 years... ;)

Locking this, returning it back to the land of the dead.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Locked