[VBoxVmService] -> Discussion & Support

Discussions related to using VirtualBox on Windows hosts.

Re: [VBoxVmService] -> Discussion & Support

Postby good_spid » 1. Jan 2010, 16:51

Hi,
I am using Windows Vista as host os and Fedora12 as guest.
Vbox 3.1.2 with respective Guest addtion3.1.2.

When i install the Guest addtion it works pretty well, with all features working.

But as soon as i restart my guest machine, the display goes blank.
It shows the white bar showing that OS(fedora) is being loaded. But then after the screen stays black forever. doesnt show any error or nothing.
Once i tried to break that silence by pressing all possible interrupt keys one after another. And it showd character interface prompt. But that also never happened again.

This problem occures only when i install Vbox Guest addition. Otherwise it works pretty well even after several reboots.
I am not getting any idea. what may go wrong.good_spid

Posts: 1
Joined: 31. Dec 2009, 22:41
Primary OS: MS Windows Vista
VBox Version: OSE Fedora
Guest OSses: fedora12
good_spid
 
Posts: 5
Joined: 31. Dec 2009, 22:41
Primary OS: MS Windows Vista
VBox Version: OSE Fedora
Guest OSses: fedora12

Re: [VBoxVmService] -> Discussion & Support

Postby supenthoelll » 5. Jan 2010, 10:12

I am using VBox on intel based host, is thare any chance that the guest configured using AMD processor. We need this since we have to restore windows 2003 server from AMD Based system.

Thanks B4,
Cheers :)
supenthoelll
 
Posts: 1
Joined: 5. Jan 2010, 08:10
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Win2003

Step By Step Tutorial Obsolete?

Postby wcarlson40 » 8. Jan 2010, 22:21

Is the Step By Step Tutorial posted here viewtopic.php?t=4762&postdays=0&postorder=asc&start=56 Obsolete?

I downloaded the LATEST version of VBoxVmService, and in the documentation/manual, it doesn't say anything about having to put a RunAsUser line or a RunAtDomain line in the .ini file. The only things it says to configure is:
Code: Select all   Expand viewCollapse view
[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:\Documents and Settings\Wade\.VirtualBox
[Vm0]
VmName=XP Pro HOME
CommandLineUp=c:\vms\startup.exe 0 BRUTEFORCE
CommandLineDown=c:\vms\shutdown.exe 0
WorkingDir=C:\vms
StartupMethod=vrdp
ShutdownMethod=savestate
VrdpPort=3010
[code]


And that is all that is listed in the default .ini file as well.... Which is obsolete, the step-by-step, or the manual?

Thanks!
wcarlson40
 
Posts: 1
Joined: 8. Jan 2010, 21:19
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: XP Pro

Re: [VBoxVmService] -> Discussion & Support

Postby tomtom » 10. Jan 2010, 19:16

I've experience some strange problems with VMS. When I try to start the VM's with the service I get an error saying that "Cannot find a registered machine named 'alphadog'"
But if I run the startup 0 bruteforce command it works perfectly. Any ideas?

Host OS:
Windows XP SP3

Configfile:
Code: Select all   Expand viewCollapse view
[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:\Documents and Settings\Administrator\.VirtualBox
[Vm0]
VmName=alphadog
CommandLineUp=c:\vms\startup.exe 0 BRUTEFORCE
CommandLineDown=c:\vms\shutdown.exe 0
WorkingDir=C:\vms
StartupMethod=vrdp
ShutdownMethod=savestate
VrdpPort=3001



Log when starting from services:
Code: Select all   Expand viewCollapse view
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 'alphadog'
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 'alphadog'
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 'alphadog'
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: "alphadog" via vrdp as a service ...
Moving lockfile: STARTUP to RUN 


Log when running with startup 0 BRUTEFORCE
Code: Select all   Expand viewCollapse view
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.

Name:            alphadog
Guest OS:        Debian
UUID:            43ddb534-e842-45dd-90de-453a5ea4fce4
Config file:     C:\Documents and Settings\Administrator\.VirtualBox\Machines\alphadog\alphadog.xml
Hardware UUID:   43ddb534-e842-45dd-90de-453a5ea4fce4
Memory size:     256MB
VRAM size:       12MB
Number of CPUs:  1
Synthetic Cpu:   off
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          off
PAE:             on
Time offset:     0 ms
Hardw. virt.ext: on
Hardw. virt.ext exclusive: on
Nested Paging:   off
VT-x VPID:       off
State:           powered off (since 2010-01-10T16:57:15.000000000)
Monitor count:   1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Storage Controller Name (0):            IDE Controller
Storage Controller Type (0):            PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  2
Storage Controller Port Count (0):      2
Storage Controller Name (1):            Floppy Controller
Storage Controller Type (1):            I82078
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1):  1
Storage Controller Port Count (1):      1
IDE Controller (0, 0): C:\Documents and Settings\Administrator\.VirtualBox\HardDisks\dbserver.vdi (UUID: 4fe6f8e2-e29f-49b9-884d-2f208dbed086)
IDE Controller (1, 0): D: (UUID: 00445644-0000-0000-0000-00000000443a)
Floppy Controller (0, 0): Empty
NIC 1:           MAC: 080027C23F97, Attachment: Bridged Interface 'Intel(R) PRO/100 VE Network Connection', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
UART 1:          disabled
UART 2:          disabled
Audio:           disabled
Clipboard Mode:  Bidirectional
VRDP:            enabled (Address 0.0.0.0, Ports 3001, MultiConn: off, ReuseSingleConn: off, Authentication type: null)
USB:             enabled

USB Device Filters:

<none>

Shared folders:  <none>

Guest:

Statistics update:                   disabled


Using custom VRDP-Port: 3089
VirtualBox Command Line Management Interface Version 3.1.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

VirtualBox Command Line Management Interface Version 3.1.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

Waiting for the remote session to open...
Remote session has been successfully opened.
Starting VM: "alphadog" via vrdp as a service ...


Any ideas why it won't start from services?
Thanks in advance!
tomtom
 
Posts: 6
Joined: 10. Jan 2010, 18:49
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu

Re: [VBoxVmService] -> Discussion & Support

Postby Tronder » 11. Jan 2010, 19:13

This solved it for me:
Code: Select all   Expand viewCollapse view
copy c:\Users\Tronder\.VirtualBox\VirtualBox.xml C:\Windows\System32\config\Systemprofile\.VirtualBox


(with your username instead of mine, of course...)

T
Tronder
 
Posts: 4
Joined: 17. Dec 2009, 20:26
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Linux Ubuntu 9.10 x64

Re: [VBoxVmService] -> Discussion & Support

Postby tomtom » 12. Jan 2010, 11:46

I checked out your previous post and tried to copy the files as you described but I still experience the exact same issue, unfortunately.

Any other ideas?
tomtom
 
Posts: 6
Joined: 10. Jan 2010, 18:49
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu

Re: [VBoxVmService] -> Discussion & Support

Postby mattz » 14. Jan 2010, 14:52

@wcarlson40

Yeah the tutorial is obsolete. The Runserv/Runasuser functionality was dropped due to unsolvable instability issues...
I strongly encourage everybody to stick closely to the supplied docs (the ones that come with each released package), since those are the most accurate infos currently available...

And to clearify one bummer: ON WINDOWS 7 YOU DO NOT NEED TO INSTALL THE "Windows 2003 Resource Kit Tools". I am not sure about the runtimes for visual studio though. Maybe FB2000 can contribute some input on that?!

It might seem funny to not know, but since I switched to Mac, I have been compiling and reworking the past releases from within a VBox guest Windows XP on my Mac Pro... :-)


BTW: A happy new year to everybody! :D


Cheers, mattz
mattz
 
Posts: 95
Joined: 18. Feb 2008, 11:51
Location: Germany
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: WinXP/Debian/OSX

Re: [VBoxVmService] -> Discussion & Support

Postby mattz » 14. Jan 2010, 14:57

@tomtom:

You should take a closer look at the VBOX_USER_HOME variable setting and adjust or apply it accordingly. (This issue has been discussed and described some posts up). Your problem is most likely to be deriving from inaccessibility to the VirtualBox.xml file.

Cheers, Mattz
mattz
 
Posts: 95
Joined: 18. Feb 2008, 11:51
Location: Germany
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: WinXP/Debian/OSX

Re: [VBoxVmService] -> Discussion & Support

Postby devouzter » 16. Jan 2010, 09:14

it seems that VboxVMService running with "Default User" Account instead of LocalService or NetworkService (or SYSTEM)

i've found out today that i can actually run my VM if i copy the VirtualBox.xml into "Default User\.VirtualBox" directory
it's strange is it ?

you should try these :
fsutil hardlink create "C:\Documents and Settings\Default User\.VirtualBox\VirtualBox.xml" "C:\Documents and Settings\Administrator\.VirtualBox\VirtualBox.xml"

instead of what's been written here :
viewtopic.php?t=4762&postdays=0&postorder=asc&start=56

maybe this sould be added in manual / doc
or maybe this should be repaired soon.

PS : i'm using Win Server 2003 as Host, Linux as Guest.
devouzter
 
Posts: 2
Joined: 16. Jan 2010, 08:57
Primary OS: MS Windows 2003
VBox Version: PUEL
Guest OSses: Ubuntu

Re: [VBoxVmService] -> Discussion & Support

Postby tomtom » 17. Jan 2010, 18:28

Still unable to get it working properly.

devouzter: I've tried to hardlink the file as you describe but still no luck. Also tried to run the service under different users (Services->VboxVmService->Log on as:) like Local Service and Network Service but then I got another errorcode saying:
Code: Select all   Expand viewCollapse view
ERROR: Failed to create the VirtualBox object!
ERROR: code_EACCESSDENIED (0x80070005) - General access denied error (extended info not available)
Most likely, the VirtualBox COM server is not running or failed to start.
Using custom VRDP-Port: 3001

It seems likely that it cannot read the VirtualBox.xml so I copied it to Default User\.VirtualBox\ LocalService\.VirtualBox\ and NetworkService\.VirtualBox and tried to change the "Log on as"-user, but still it won't work.

If anyone got any ideas please let me know.
Could it be some parameter in the VirtualBox.xml that is wrong, but it's not likely as it's working properly if I run the startup.exe from the command prompt.

Thanks for your help!
tomtom
 
Posts: 6
Joined: 10. Jan 2010, 18:49
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu

Re: [VBoxVmService] -> Discussion & Support

Postby devouzter » 20. Jan 2010, 09:35

@tomtom

in your previous post you said about bruteforce right ?
it seems that new VBoxVmService.ini is included inside, maybe you should turn that on actually.

@everyone & dev

i think there's a little bug in the Service Caller, it should run virtualbox the same as it should run manually with startup.exe 0 command.
but today i've got trouble in updating my guest machine settings.
i've added additional Ethernet interface, but when i restart the service it seems that my new configuration (xml file) isn't loaded.
it's loading an old one, not the one i've configured.
very strange, even i've search my computer to find any old duplicates, found none.
even i've reinstall the vboxvmservice also, with no luck either.

maybe the vboxvmservice just load-the configuration from cache or shomething ?

the other strange thing is, when i run it with command startup.exe 0, it runs very perfectly.
so it seems its a bug in vboxvmservice i think.
devouzter
 
Posts: 2
Joined: 16. Jan 2010, 08:57
Primary OS: MS Windows 2003
VBox Version: PUEL
Guest OSses: Ubuntu

Re: [VBoxVmService] -> Discussion & Support

Postby andry » 20. Jan 2010, 16:41

tomtom, I have had the same problem.
I added a variable VBOX_USER_HOME=C:\Vbox_machines\.VirtualBox\Machines to system variables.
Then VBoxVmService began to work.
andry
 
Posts: 1
Joined: 20. Jan 2010, 16:15
Primary OS: MS Windows 2000
VBox Version: OSE other
Guest OSses: many

Re: [VBoxVmService] -> Discussion & Support

Postby Hans Eberhardt » 20. Jan 2010, 18:19

VBOX_USER_HOME is one essential thing for getting it work!
Hans Eberhardt
 
Posts: 76
Joined: 22. Mar 2008, 01:49
Location: Feuchtwangen, Germany
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: MS Windows XP

Re: [VBoxVmService] -> Discussion & Support

Postby tomtom » 22. Jan 2010, 20:43

andry wrote:tomtom, I have had the same problem.
I added a variable VBOX_USER_HOME=C:\Vbox_machines\.VirtualBox\Machines to system variables.
Then VBoxVmService began to work.


To clarify, you added VBOX_USER_HOME to Windows System Environment Variables with the Variable value: C:\Vbox_machines\.VirtualBox\Machines ?
I tried to add both:
VBOX_USER_HOME=C:\Documents and settings\Administrator\.VirtualBox\
VBOX_USER_HOME=C:\Documents and settings\Administrator\.VirtualBox\Machines\
to the System Environment, but still experience the same "ERROR: Could not find a registered machine..."
tomtom
 
Posts: 6
Joined: 10. Jan 2010, 18:49
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu

Re: [VBoxVmService] -> Discussion & Support

Postby FB2000 » 23. Jan 2010, 02:21

mattz wrote:And to clearify one bummer: ON WINDOWS 7 YOU DO NOT NEED TO INSTALL THE "Windows 2003 Resource Kit Tools". I am not sure about the runtimes for visual studio though. Maybe FB2000 can contribute some input on that?!


Since VBoxVMService is staticly linked to MSVC library, there is no depends on VC runtimes, either. To put it together: On Windows7 you don't need to install anything else to get VBoxVMService to run.
FB2000
 
Posts: 90
Joined: 10. Sep 2009, 13:27
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: CentOS

PreviousNext

Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: No registered users and 268 guests