[vbox-dev] GuestAddtions OSE: VBoxService.exe does not start

Andreas - Sun Microsystems pentagonik at sun.com
Fri Sep 18 05:28:48 PDT 2009


Hi Sebastian,

I just took a quick look into your .nsi sources over at 
http://code.google.com/p/virtual-box-windows-guest-additions-installer

AFAICS you're using the information of our VBoxGuest.inf file to install 
VBoxService, while our PUEL GA setup does not use this information atm.

Try to change the VBoxService registry keys to the following:

Service Type ("Type", DWORD): 0x10 (SERVICE_WIN32_OWN_PROCESS), decimal = 16
Start Type ("Start", DWORD): 0x2 (SERVICE_AUTO_START)
Load Order Group ("Group", SZ): "Base"

(instead of using the parameters supplied in the VBoxGuest.inf file).

Cheers,
-Andreas.

	

Service that runs in its own process.


Sebastian Brandt schrieb:
> Andreas - Sun Microsystems wrote:
>> Sebastian,
> Hi,
> 
>> I tried out VBoxService using OSE sources and took a look into your log
>> file as well -- it all works like it should on my system.
>>
>> Maybe you're misunderstanding the way VBoxService gets started/operates?
>> If you just call (on Windows: doubleclick or over command line)
>> VBoxService.exe the service control dispatcher gets involved which then
>> leads to the described error you reported. This is not actually an error
>> but has to be implemented like this to get VBoxService handled correctly
>> with the Windows SCM.
> No,
> I'm installing it as a server and starting it as a service.
> Otherwise, I -- correctly -- get an error message.
>> To manually call VBoxService you have to call it with the "-f" option
>> (foreground), which then does not involve the service control dispatcher
>> at all.
> This would be the other possibility, putting it into autostart - but then,
> the service does not run w/o a user logged in ... and the console window is
> always open ..
> 
> When I replace the 306-vboxservice.exe with the 224 one, the service starts
> w/o any problems. So, if the fact that it is a service has not been changed
> between 224 and 30x ...
> 
> So, it's somewhere in the driver handling - dependencies? different
> installation Flags? the datastructure passed to the service control method
> invalid? an init callback method that does not return?
> 
> Thanks,
> Sebastian
> 
> 
>>> Andreas - Sun Microsystems, Inc. wrote:
>>>> Hi Sebastian,
>>>>
>>>> thanks for the report. What happens if you start the VBoxService.exe
>>>> from command line specifying "VBoxService -f -vvv" after stopping any
>>>> running instance of VBoxService first? This makes the service run in
>>>> foreground with verbose output.
>>> Hi!
>>> Yes, that one runs ....
>>> Log is attached.
>>> * VBox 3.0.4 on XP Pro SP3
>>> * VBox GA OSE 3.0.2 on the XP Pro SP3 guest
>>> * VBoxService 3.0.6 version (in system32 dir)
>>> (a bit mixed up, I'm currently upgrading ...)
>>>
>>> Problem is, I did not get any log messages when running in service
>>> mode and using -vvv ...
>>>
>>> Development env:
>>> * Visual Studio 2005 sp1
>>> * Microsoft Platform SDK for Windows Server 2003 R2
>>> * DDK 3790.1830
>>> * DirectX SDK 2008-08
>>>
>>> Thanks,
>>> Sebastian
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> vbox-dev mailing list
>>> vbox-dev at virtualbox.org
>>> http://vbox.innotek.de/mailman/listinfo/vbox-dev
>>
> 
> 
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev





More information about the vbox-dev mailing list