Guide to installing PhpVirtualbox 5.04?

Status
Not open for further replies.

RichTJ99

Patron
Joined
Sep 12, 2013
Messages
384
Hi,

I have been having some issues with PHPVirtualbox 4.3.2 (plugin) becoming non-responsive overnight. I have needed to restart the jail the last two mornings. I am wondering if the newer version would fix the issue.

I am not really sure how to do it thought.

So far, I created a new jail & then tried the following commands from the web shell:

cd /usr/ports/www/phpvirtualbox/ && make install clean
pkg update && pkg install phpvirtualbox

I went to the IP of the jail on a web browser but didnt see anything. I suspect I am missing some steps. I am pretty new & like the idea of virtualizing some servers that currently run 24/7 but are used rarely.

I do want it to be semi reliable though.

Thanks,
Rich
 
D

dlavigne

Guest
While I don't know the answer to your question, I can offer these observations:

cd /usr/ports/www/phpvirtualbox/ && make install clean
pkg update && pkg install phpvirtualbox

You don't have to install both the port and the package. One or the other is fine.

The latest FreeBSD port/pkg is still version 4.3.2 so reinstalling either the pkg or port won't bump up the version.
 

RichTJ99

Patron
Joined
Sep 12, 2013
Messages
384
I have been trying to figure it out but no good. I keep having reliability issues with the VM's. They keep just becoming unresponsive. I cant restart or shut them down so I end up rebooting the plugin.


Code:
SoapFault Object
(
    [message:protected] => Error Fetching http headers
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /usr/local/www/phpvirtualbox/lib/vboxServiceWrappers.php
    [line:protected] => 4106
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [function] => __doRequest
                    [class] => SoapClient
                    [type] => ->
                    [args] => Array
                        (
                            [0] => <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.virtualbox.org/"><SOAP-ENV:Body><ns1:IConsole_reset><_this>84eb0ab36a25c80a-0000000000004f45</_this></ns1:IConsole_reset></SOAP-ENV:Body></SOAP-ENV:Envelope>

                            [1] => http://127.0.0.1:18083/
                            [2] => 
                            [3] => 1
                            [4] => 0
                        )

                )

            [1] => Array
                (
                     => /usr/local/www/phpvirtualbox/lib/vboxServiceWrappers.php
                    [line] => 4106
                    [function] => __soapCall
                    [class] => SoapClient
                    [type] => ->
                    [args] => Array
                        (
                            [0] => IConsole_reset
                            [1] => Array
                                (
                                    [0] => Array
                                        (
                                            [_this] => 84eb0ab36a25c80a-0000000000004f45
                                        )

                                )

                        )

                )

            [2] => Array
                (
                     => /usr/local/www/phpvirtualbox/lib/vboxconnector.php
                    [line] => 3266
                    [function] => reset
                    [class] => IConsole
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
                        )

                )

            [3] => Array
                (
                     => /usr/local/www/phpvirtualbox/lib/vboxconnector.php
                    [line] => 928
                    [function] => remote_machineSetState
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [vm] => 2b00bfaa-99bf-4ba2-8ac2-73c9f660c4ce
                                    [state] => reset
                                    [fn] => machineSetState
                                )

                        )

                )

            [4] => Array
                (
                     => /usr/local/www/phpvirtualbox/lib/ajax.php
                    [line] => 309
                    [function] => __call
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => machineSetState
                            [1] => Array
                                (
                                    [0] => Array
                                        (
                                            [vm] => 2b00bfaa-99bf-4ba2-8ac2-73c9f660c4ce
                                            [state] => reset
                                            [fn] => machineSetState
                                        )

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

                                                        )

                                                    [errors] => Array
                                                        (
                                                        )

                                                    [persist] => Array
                                                        (
                                                        )

                                                    [messages] => Array
                                                        (
                                                        )

                                                )

                                        )

                                )

                        )

                )

            [5] => Array
                (
                     => /usr/local/www/phpvirtualbox/lib/ajax.php
                    [line] => 309
                    [function] => machineSetState
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [vm] => 2b00bfaa-99bf-4ba2-8ac2-73c9f660c4ce
                                    [state] => reset
                                    [fn] => machineSetState
                                )

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

                                                )

                                            [errors] => Array
                                                (
                                                )

                                            [persist] => Array
                                                (
                                                )

                                            [messages] => Array
                                                (
                                                )

                                        )

                                )

                        )

                )

        )

    [previous:Exception:private] => 
    [faultstring] => Error Fetching http headers
    [faultcode] => HTTP
)
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
I keep having reliability issues with the VM's.
Did you check the box labelled "Use host I/O cache" in the VM Storage settings? Without that, I frequently saw Aborted VMs. With it checked, no more Aborted VMs
 
Status
Not open for further replies.
Top