Thanks for a great product and a great support forum.
I carefully installed the program according to instructions (Windows 7 Host, Ubuntu 9.10 Guest). The
startup 0 BRUTEFORCE works great from the DOS command line (the lockfile in the
run folder appears, I can ssh into the headless Ubuntu VM from a different machine).
shutdown 0 works as expected as well.
lock, run, tmp folders empty. I install as a system service, according to instructions, and start the system service (starts "Automatically").
I ensure the system service is "Running". I reboot the Win 7 host machine and try to ssh into Ubuntu from a different computer - no luck. I log into the Win 7 machine and check the logfile (attached below,... I cleared it before the Win 7 reboot, so these entries are all relevant). There are Errors... Somehow it does not find Ubuntu when starting as a system service. I notice that there is a lockfile in the
run directory. And the Service is indeed "Running".
Any idea why it cannot find a registered machine named 'ubuntu'? I'm more familiar with Linux system services than Windows services... do I need to set the "Log On" tab in the "Properties" dialog for the system service in some specific way? Permissions issue?
Stumped.
T.
Code: Select all
[Settings]
ServiceName=VBoxVmService
PathToVBoxSDL=C:\Program Files\Sun\VirtualBox\VBoxSDL.exe
PathToVBoxHeadless=C:\Program Files\Sun\VirtualBox\VBoxHeadless.exe
PathToVBoxManage=C:\Program Files\Sun\VirtualBox\VBoxManage.exe
VBOX_USER_HOME=C:\Users\Tronder\.VirtualBox
[Vm0]
VmName=ubuntu
CommandLineUp=c:\vms\startup.exe 0 BRUTEFORCE
CommandLineDown=c:\vms\shutdown.exe 0
WorkingDir=C:\vms
StartupMethod=vrdp
ShutdownMethod=savestate
VrdpPort=3001
Code: Select all
This VM does not seem to be currently running. Shutdown call aborted.
12/17/2009, 11:19:06 - c:\vms\VBoxVmService.exe
12/17/2009, 11:19:06 - c:\vms\VBoxVmService.ini
12/17/2009, 11:19:06 - c:\vms\VBoxVmService.log
12/17/2009, 11:19:06 - VBoxVmService
BRUTEFORCE: Killing all existing run- / lockfiles for this VM...
No previously started VM operations to wait for. Continuing...
Reading global parameters...
Setting VBOX_USER_HOME within the machine environment...
Reading parameters for VM0...
VirtualBox Command Line Management Interface Version 3.1.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.
ERROR: Could not find a registered machine named 'ubuntu'
Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee IUnknown
Context: "FindMachine (Bstr(VMNameOrUuid), machine.asOutParam())" at line 2017 of file VBoxManageInfo.cpp
Using custom VRDP-Port: 3001
VirtualBox Command Line Management Interface Version 3.1.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.
ERROR: Could not find a registered machine named 'ubuntu'
Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee IUnknown
Context: "FindMachine(Bstr(a->argv[0]), machine.asOutParam())" at line 251 of file VBoxManageModifyVM.cpp
VirtualBox Command Line Management Interface Version 3.1.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.
ERROR: Could not find a registered machine named 'ubuntu'
Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee IUnknown
Context: "FindMachine(Bstr(VMName), machine.asOutParam())" at line 357 of file VBoxManageMisc.cpp
Starting VM: "ubuntu" via vrdp as a service ...
Moving lockfile: STARTUP to RUN