+++ This bug was initially created as a clone of Bug #335500 +++ vboxwebsrv (if built) needs to have MPROTECT disabled, otherwise it fails with NS_ERROR_FACTORY_NOT_REGISTERED message.
I believe this has been taken care of. Can you check with the latest virtualbox and report back so I can close this one.
Reopen if this is still a problem.
Problem still exists. I believe virtualbox doesn't work well with pax and vboxwebsrv is just a binary that was missed during ebuild creation. Details (proof and steps to replicate) below: ~ $ /opt/VirtualBox/vboxwebsrv Oracle VM VirtualBox web service version 4.0.4 (C) 2005-2011 Oracle Corporation All rights reserved. vboxwebsrv: error: failed to create the VirtualBoxClient object! vboxwebsrv: error: Code NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154) - Class not registered (extended info not available) vboxwebsrv: error: Most likely, the VirtualBox COM server is not running or failed to start. ~ # paxctl -v /opt/VirtualBox/vboxwebsrv PaX control v0.5 Copyright 2004,2005,2006,2007 PaX Team <pageexec@freemail.hu> file /opt/VirtualBox/vboxwebsrv does not have a PT_PAX_FLAGS program header, try conversion ~ # paxctl -c /opt/VirtualBox/vboxwebsrv file /opt/VirtualBox/vboxwebsrv had a PT_GNU_STACK program header, converted ~ # paxctl -v /opt/VirtualBox/vboxwebsrv PaX control v0.5 Copyright 2004,2005,2006,2007 PaX Team <pageexec@freemail.hu> - PaX flags: -------x-e-- [/opt/VirtualBox/vboxwebsrv] RANDEXEC is disabled EMUTRAMP is disabled ~ # paxctl -m /opt/VirtualBox/vboxwebsrv ~ $ /opt/VirtualBox/vboxwebsrv Oracle VM VirtualBox web service version 4.0.4 (C) 2005-2011 Oracle Corporation All rights reserved. 2011-04-13 14:36:59 [ P ] Socket connection successful: host = default (localhost), port = 18083, master socket = 8
removed.