dgzyk / phpvirtualbox

Automatically exported from code.google.com/p/phpvirtualbox
Other
0 stars 0 forks source link

Error occurs while cloning a VM and switching servers #611

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
VirtualBox 4.2
phpVirtualBox: 4.2 (svn/trunk)
OS: Ubuntu 12.04 LTS x64

I started a clone of the VM on server 1 and the progress bar was moving showing 
progress. While the cloning was in progress I switched to server 2 and received 
an error message. The cloning process did not finish.

Original issue reported on code.google.com by van.stok...@gmail.com on 18 Oct 2012 at 6:57

GoogleCodeExporter commented 8 years ago
VirtualBox error: Runtime error opening '/mnt/vmach/testxp/testxp.vbox' for 
reading: -102 (File not found.). 
/home/vbox/vbox-4.2.0/src/VBox/Main/src-server/MachineImpl.cpp[469] (nsresult 
Machine::initFromSettings(VirtualBox*, const com::Utf8Str&, const com::Guid*)) 
(0x80004005)

Original comment by van.stok...@gmail.com on 18 Oct 2012 at 6:59

GoogleCodeExporter commented 8 years ago
SoapFault Object
(
    [message:protected] => VirtualBox error: Runtime error opening '/mnt/vmach/testxp/testxp.vbox' for reading: -102 (File not found.).
/home/vbox/vbox-4.2.0/src/VBox/Main/src-server/MachineImpl.cpp[469] (nsresult 
Machine::initFromSettings(VirtualBox*, const com::Utf8Str&, const com::Guid*)) 
(0x80004005)
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /d01/www/phpvirtualbox-svn-trunk/lib/vboxServiceWrappers.php
    [line:protected] => 476
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /d01/www/phpvirtualbox-svn-trunk/lib/vboxServiceWrappers.php
                    [line] => 476
                    [function] => __soapCall
                    [class] => SoapClient
                    [type] => ->
                    [args] => Array
                        (
                            [0] => IVirtualBox_openMachine
                            [1] => Array
                                (
                                    [0] => Array
                                        (
                                            [_this] => dc9914cef03c224c-00000000000001f5
                                            [settingsFile] => /mnt/vmach/testxp/testxp.vbox
                                        )

                                )

                        )

                )

            [1] => Array
                (
                    [file] => /d01/www/phpvirtualbox-svn-trunk/lib/vboxconnector.php
                    [line] => 2220
                    [function] => openMachine
                    [class] => IVirtualBox
                    [type] => ->
                    [args] => Array
                        (
                            [0] => /mnt/vmach/testxp/testxp.vbox
                        )

                )

            [2] => Array
                (
                    [file] => /d01/www/phpvirtualbox-svn-trunk/lib/vboxconnector.php
                    [line] => 950
                    [function] => remote_machineAdd
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [file] => /mnt/vmach/testxp/testxp.vbox
                                    [fn] => machineAdd
                                )

                            [1] => Array
                                (
                                    [data] => Array
                                        (
                                        )

                                    [errors] => Array
                                        (
                                        )

                                    [persist] => Array
                                        (
                                        )

                                    [messages] => Array
                                        (
                                        )

                                )

                        )

                )

            [3] => Array
                (
                    [file] => /d01/www/phpvirtualbox-svn-trunk/lib/ajax.php
                    [line] => 319
                    [function] => __call
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => machineAdd
                            [1] => Array
                                (
                                    [0] => Array
                                        (
                                            [file] => /mnt/vmach/testxp/testxp.vbox
                                            [fn] => machineAdd
                                        )

                                    [1] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [data] => Array
                                                        (
                                                        )

                                                    [errors] => Array
                                                        (
                                                        )

                                                    [persist] => Array
                                                        (
                                                        )

                                                    [messages] => Array
                                                        (
                                                        )

                                                )

                                        )

                                )

                        )

                )

            [4] => Array
                (
                    [file] => /d01/www/phpvirtualbox-svn-trunk/lib/ajax.php
                    [line] => 319
                    [function] => machineAdd
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [file] => /mnt/vmach/testxp/testxp.vbox
                                    [fn] => machineAdd
                                )

                            [1] => Array
                                (
                                    [0] => Array
                                        (
                                            [data] => Array
                                                (
                                                )

                                            [errors] => Array
                                                (
                                                )

                                            [persist] => Array
                                                (
                                                )

                                            [messages] => Array
                                                (
                                                )

                                        )

                                )

                        )

                )

        )

    [previous:Exception:private] => 
    [faultstring] => VirtualBox error: Runtime error opening '/mnt/vmach/testxp/testxp.vbox' for reading: -102 (File not found.).
/home/vbox/vbox-4.2.0/src/VBox/Main/src-server/MachineImpl.cpp[469] (nsresult 
Machine::initFromSettings(VirtualBox*, const com::Utf8Str&, const com::Guid*)) 
(0x80004005)
    [faultcode] => SOAP-ENV:Client
    [detail] => stdClass Object
        (
            [RuntimeFault] => stdClass Object
                (
                    [resultCode] => -2147467259
                    [interfaceID] => 22781af3-1c96-4126-9edf-67a020e0e858
                    [component] => Machine
                    [text] => Runtime error opening '/mnt/vmach/testxp/testxp.vbox' for reading: -102 (File not found.).
/home/vbox/vbox-4.2.0/src/VBox/Main/src-server/MachineImpl.cpp[469] (nsresult 
Machine::initFromSettings(VirtualBox*, const com::Utf8Str&, const com::Guid*))
                )

        )

)

Original comment by van.stok...@gmail.com on 18 Oct 2012 at 7:00

GoogleCodeExporter commented 8 years ago
Will be fixed in next version.

Original comment by imooreya...@gmail.com on 18 Oct 2012 at 7:39

GoogleCodeExporter commented 8 years ago
This is fixed in 4.2-3b

Original comment by imooreya...@gmail.com on 21 Oct 2012 at 8:10