Skip to content

Locked "VirtualBox error: rc=0x80bb0007" Error After adding Shared Folder #240

Description

@cknight725

Guest is Server 2019 VM on Ubuntu 20.04 / Vbox 6.x host... after adding a Shared Folder with automount checked I get the following error:

SoapFault Object
(
    [message:protected] => VirtualBox error: rc=0x80bb0007 The machine 'DB' is already locked by a session (or being locked or unlocked) (0x80bb0007)
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /var/www/html/phpvirtualbox/endpoints/lib/vboxServiceWrappers.php
    [line:protected] => 4016
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/html/phpvirtualbox/endpoints/lib/vboxServiceWrappers.php
                    [line] => 4016
                    [function] => __soapCall
                    [class] => SoapClient
                    [type] => ->
                )

            [1] => Array
                (
                    [file] => /var/www/html/phpvirtualbox/endpoints/lib/vboxconnector.php
                    [line] => 3260
                    [function] => launchVMProcess
                    [class] => IMachine
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => /var/www/html/phpvirtualbox/endpoints/lib/vboxconnector.php
                    [line] => 951
                    [function] => remote_machineSetState
                    [class] => vboxconnector
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => /var/www/html/phpvirtualbox/endpoints/api.php
                    [line] => 316
                    [function] => __call
                    [class] => vboxconnector
                    [type] => ->
                )

        )

    [previous:Exception:private] => 
    [faultstring] => VirtualBox error: rc=0x80bb0007 The machine 'DB' is already locked by a session (or being locked or unlocked) (0x80bb0007)
    [faultcode] => SOAP-ENV:Client
    [detail] => stdClass Object
        (
            [RuntimeFault] => stdClass Object
                (
                    [resultCode] => -2135228409
                    [returnval] => 0597d58443fb517b-0000000000000004
                )

        )

)

phpvirtualbox does not appear to reflect the shared folder configuration change....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions