I have a problem that i am struggling about for a while. Maybe i overlooked, but i cannot find an answer for this problem. I hope anyone can help. I am quite a newbie to linux.
I am using ubuntu lucid lynx. My virtualbox version is 4.3.38.
My /etc/default/virtualbox is as follows:
Code: Select all
VBOXWEB_USER=gerrit
VBOXWEB_HOST=127.0.0.1
VBOXWEB_LOGFILE=/var/log/vboxweb.log
Code: Select all
VirtualBox XPCOM Server 4.3.38 r106717 linux.amd64 (Apr 19 2016 20:10:31) release log
00:00:00.001071 main Log opened 2017-04-09T13:36:28.440844000Z
00:00:00.001075 main Build Type: release
00:00:00.001087 main OS Product: Linux
00:00:00.001090 main OS Release: 2.6.32-74-server
00:00:00.001092 main OS Version: #142-Ubuntu SMP Tue Apr 28 10:12:19 UTC 2015
00:00:00.001141 main DMI Product Name: IBM x3850-[88722RG]-
00:00:00.001163 main DMI Product Version:
00:00:00.001307 main Host RAM: 12027MB total, 11660MB available
00:00:00.001319 main Executable: /usr/lib/virtualbox/VBoxSVC
00:00:00.001321 main Process ID: 2847
00:00:00.001323 main Package type: LINUX_64BITS_UBUNTU_10_04
00:00:00.129535 nspr-2 Home directory: '/home/gerrit/.config/VirtualBox'
00:00:00.142519 nspr-2 Loading settings file "/home/gerrit/.config/VirtualBox/VirtualBox.xml" with version "1.14-linux"
00:00:00.682822 nspr-2 Successfully initialised host USB using sysfs
00:00:00.725605 nspr-2 NetIfAdpCtlOut: VBoxNetAdpCtl: Error while retrieving link speed for virbr0: VBoxNetAdpCtl: ioctl failed: Operation not supported
00:00:00.735058 nspr-2 HostDnsMonitor: old information
00:00:00.735084 nspr-2 no server entries
00:00:00.735100 nspr-2 no search string entries
00:00:00.735111 nspr-2 no domain set
00:00:00.735120 nspr-2 HostDnsMonitor: new information
00:00:00.735129 nspr-2 server 1: 208.67.222.222
00:00:00.735140 nspr-2 server 2: 208.67.220.220
00:00:00.735151 nspr-2 no search string entries
00:00:00.735160 nspr-2 domain: domain
00:00:00.735183 nspr-2 HostDnsMonitorProxy::notify
00:00:00.778080 nspr-2 VDInit finished
00:00:00.862796 nspr-2 Loading settings file "/home/gerrit/VirtualBox VMs/Ubuntu 10.10 Server/Ubuntu 10.10 Server.vbox" with version "1.14-linux"
00:00:00.906174 nspr-2 Loading settings file "/VMs/Windows Server 2008 NL/Windows Server 2008 NL.vbox" with version "1.14-linux"
00:00:00.930742 nspr-2 Loading settings file "/VMs/Domein Controller 1/Domein Controller 1.vbox" with version "1.14-linux"
00:00:00.957531 nspr-2 Loading settings file "/VMs/Domein Controller 2/Domein Controller 2.vbox" with version "1.14-linux"
00:14:07.600759 main ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c) aIID={05f2bbb6-a3a6-4fb9-9b49-6d0dda7142ac} aComponent={Medium} aText={Medium '/VMs/Windows Server 2008 NL/Windows Server 2008 NL VDisk.vhd' cannot be closed because it is still attached to 1 virtual machines}, preserve=false
00:14:07.601178 main ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c) aIID={05f2bbb6-a3a6-4fb9-9b49-6d0dda7142ac} aComponent={Medium} aText={Medium '/VMs/Domein Controller 1/VDiskDC01.vhd' cannot be closed because it is still attached to 1 virtual machines}, preserve=false
00:14:07.601582 main ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c) aIID={05f2bbb6-a3a6-4fb9-9b49-6d0dda7142ac} aComponent={Medium} aText={Medium '/VMs/Domein Controller 2/Domein Controller 2-disk1.vhd' cannot be closed because it is still attached to 1 virtual machines}, preserve=false
00:14:07.647372 Watcher ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={fafa4e17-1ee2-4905-a10e-fe7c18bf5554} aComponent={VirtualBox} aText={The object is not ready}, preserve=false
Code: Select all
sudo service vboxweb-service start
When i issue the following commands:
Code: Select all
sudo -u gerrit /usr/bin/vboxwebsrv --background
sudo service vboxweb-service start
After examining the problem i found out that vboxweb-service will not write the pidfile /var/run/vboxwebservice. It also does not write /var/log/vboxweb.log.
So assume it has something to do with permissions, but i do not know how to resolve it.
Every help is appreciated.