You are not logged in.
I am trying - and failing miserabley - to get the virtualbox web service to start so that I can use phpvirtualbox. Whenever I try to start the service it simply returns [FAIL] .
Having read some earlier threads on here I have downgraded my instance of virtualbox-bin and virtualbox-ext-oracle to 4.1.2. As far as I can see I have configured it in line with the instructions on the Wiki and in other threads. I have appended the content of /etc/conf.d/vboxweb and /etc/vbox/vbox.cfg below. If anyone has managed to get this running I would be very interested to hear their comments. I've probably missed something blindingly obvious.
/etc/conf.d/vboxweb:
# WebService Mandatory Variables
VBOXWEB_USER='rz33fv'
# WebService Variables
#$VBOXWEB_LOGFILE='/var/log/vboxweb'
#$VBOXWEB_HOST=127.0.0.1
#$VBOXWEB_PORT=18083
#$VBOXWEB_TIMEOUT=
#$VBOXWEB_CHECK_INTERVAL=
#$VBOXWEB_THREADS=
#$VBOXWEB_KEEPALIVE=
/etc/vbox/vbox.cfg
# VirtualBox installation directory
INSTALL_DIR='/opt/VirtualBox'
# VirtualBox version
INSTALL_VER='4.1.2'
INSTALL_REV='73507'
Offline
I have the same problem. I am using virtualbox_4.1.8_OSE. I followed the arch wiki on phpvirtualbox. As suggested I also used the Conf file and rc script from PUEL edition in AUR. But it fails.
~]$ vboxwebsrv -b --logfile /var/log/vboxweb.log --pidfile /var/run/vbox/vboxwebsrv.pid --host 192.168.1.100
Oracle VM VirtualBox web service version 4.1.8_OSE
(C) 2005-2011 Oracle Corporation
All rights reserved.
VirtualBox web service 4.1.8_OSE r75467 linux.amd64 (Dec 19 2011 17:58:34) release log
00:00:00.000 main Log opened 2011-12-28T01:02:00.383082000Z
00:00:00.000 main OS Product: Linux
00:00:00.000 main OS Release: 3.1.5-1-ARCH
00:00:00.000 main OS Version: #1 SMP PREEMPT Sat Dec 10 14:43:09 CET 2011
00:00:00.000 main OS Service Pack: #1 SMP PREEMPT Sat Dec 10 14:43:09 CET 2011
00:00:00.000 main Executable: /usr/lib/virtualbox/vboxwebsrv
00:00:00.000 main Process ID: 1375
00:00:00.000 main Package type: LINUX_64BITS_GENERIC (OSE)
vboxwebsrv: error: failed to daemonize, rc=VERR_FILE_NOT_FOUND. exiting.
and
sudo /etc/rc.d/vboxweb start
Password:
:: Starting VirtualBox Web Service [FAIL]
Offline
Same problem here. If I run everything line-by-line as root, it works. Did you guys ever figure this out?
Offline