Hi.
I am using VBoxWebSrv.exe to access VirtualBox functionallity.
I login, lock, power up a machine, power off, unlock and log out.
The second time I do that it fails:
00:00:13.703 SQW01 calling COM method PowerUp
API return code: 0x80004005 (E_FAIL)
COM error info result code: 0x0
COM error info text:
Observations:
1. After the first time on calling powerUp, the output on the cmd windows from where I launch the WebServer freezes
(but not the log in the VM directory)
2. The seconf time I try to call powerUp, it fails. In the log it says:
00:00:42.000 ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={1968b7d3-e3bf-4ceb-99e0-cb7c913317bb} aComponent={Console} aText={Failed to open release log (could not open file 'D:\VMs\msim\Logs\VBox.log' (fOpen=0x322), VERR_SHARING_VIOLATION)}, preserve=false
This is what I am doing:
LOGIN
16.02.2012 11:55:43: CREATED new session: b5f9e528c4b55df3-0000000000000001
16.02.2012 11:55:43: CREATED virtualBoxMOR: b5f9e528c4b55df3-0000000000000002
16.02.2012 11:55:43: machineMOR created: b5f9e528c4b55df3-0000000000000003
16.02.2012 11:55:43: Console got: b5f9e528c4b55df3-0000000000000004
16.02.2012 11:55:43: Powering Up, the beginning of the problems. VBoxWebService output freezes
16.02.2012 11:55:43: progressMOR for powering Up: b5f9e528c4b55df3-0000000000000005
16.02.2012 11:55:45: Elapsed time to launch VM process: 1962 miliseconds
16.02.2012 11:56:11: progressMOR for closing VM: b5f9e528c4b55df3-0000000000000007
16.02.2012 11:56:11: Unlocking after switching off
LOGOFF
LOGIN
16.02.2012 11:56:11: CREATED new session: bfc70ce5651faf19-0000000000000008
16.02.2012 11:56:11: CREATED virtualBoxMOR: bfc70ce5651faf19-0000000000000009
16.02.2012 11:56:11: machineMOR created: bfc70ce5651faf19-000000000000000a
16.02.2012 11:56:11: Console got: bfc70ce5651faf19-000000000000000b
16.02.2012 11:56:11: Powering Up, the beginning of the problems.
16.02.2012 11:56:11: VirtualBox error: (0x80004005)
Is this a bug? Any idea/suggestions?
This doesn't happens when using one of the standard frontends provided by VBox.
VBoxWebService problem on powerUp
VBoxWebService problem on powerUp
- Attachments
-
VBox.log- log of virtualbox
- (104.47 KiB) Downloaded 12 times
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: VBoxWebService problem on powerUp
Are you using your own code with the webservice or some other code and if so which one?
Re: VBoxWebService problem on powerUp
I am using my own code.
I have also read f=6&t=8029&p=29204 (another topic of this forum i can't post yet urls), quite related to this topic.
About starting VM on independent processes.
But from my understanding, shouldn't the VBoxWebService offer the possibility to close and open VM independtly?
I can't switch the web service on and off every time I need to start up a new machine...
But Ias I told in the first post, it is a quite basic thing:
login to web service, lock vm, power it up, power off, unlock and log out
I have also read f=6&t=8029&p=29204 (another topic of this forum i can't post yet urls), quite related to this topic.
About starting VM on independent processes.
But from my understanding, shouldn't the VBoxWebService offer the possibility to close and open VM independtly?
I can't switch the web service on and off every time I need to start up a new machine...
But Ias I told in the first post, it is a quite basic thing:
login to web service, lock vm, power it up, power off, unlock and log out
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: VBoxWebService problem on powerUp
Well my association to the VBox Webservice is anything but basic.
The VirtualBox 4.1.8 Software Developer Kit (SDK) is the best place to start.
Other places you can check is the devs irc channel. irc://irc.freenode.org/vbox
And perhaps the fine folks at phpvirtualbox
The VirtualBox 4.1.8 Software Developer Kit (SDK) is the best place to start.
Other places you can check is the devs irc channel. irc://irc.freenode.org/vbox
And perhaps the fine folks at phpvirtualbox
Re: VBoxWebService problem on powerUp
The problem is that phpvirtualbox are using headless environment, while I am trying to make my own environment. And this error doesn't happen on headless environment.
As written in the forum, viewtopic.php?f=6&t=8029&p=29204, it seems it is a problem on launching the same Vm in the same process. But the problem is, shouldnt the web server that comes with virtualBox realize that and therefore take into account that issue? Is that, then, a problem then of the web service itself or of the way I am using it? (I guess it is the first, but not sure)
Thanks again!
As written in the forum, viewtopic.php?f=6&t=8029&p=29204, it seems it is a problem on launching the same Vm in the same process. But the problem is, shouldnt the web server that comes with virtualBox realize that and therefore take into account that issue? Is that, then, a problem then of the web service itself or of the way I am using it? (I guess it is the first, but not sure)
Thanks again!
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: VBoxWebService problem on powerUp
You really need to use the irc link I provided and ask there. The DEVs are more than likely going to be the only ones that will be able to answer this.
They monitor that a lot more than they do the forum.
They monitor that a lot more than they do the forum.