Hi,
I'm using this guide for the VBox installation, but got a blank page: http://omv-ip:7000
Guide: Virtualbox 6.x on OMV5 and Debian 10.x
error code:
Code
systemctl status vboxweb-service.service
● vboxweb-service.service
Loaded: loaded (/usr/lib/virtualbox/vboxweb-service.sh; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2020-04-25 13:09:07 EDT; 2min 30s ago
Process: 23523 ExecStart=/usr/lib/virtualbox/vboxweb-service.sh start (code=exited, status=1/FAILURE)
Apr 25 13:09:07 server.localhost systemd[1]: Starting vboxweb-service.service...
Apr 25 13:09:07 server.localhost vboxweb-service.sh[23523]: vboxweb-service.sh: Starting VirtualBox web service.
Apr 25 13:09:07 server.localhost vboxweb-service.sh[23523]: vboxweb-service.sh: failed: VirtualBox web service failed to start.
Apr 25 13:09:07 server.localhost systemd[1]: vboxweb-service.service: Control process exited, code=exited, status=1/FAILURE
Apr 25 13:09:07 server.localhost systemd[1]: vboxweb-service.service: Failed with result 'exit-code'.
Apr 25 13:09:07 server.localhost systemd[1]: Failed to start vboxweb-service.service.
Alles anzeigen
/etc/nginx/sites-available/phpvirtualbox-webgui
Code
server {
server_name phpvirtualbox-webgui;
root /var/www/phpvirtualbox;
index index.html;
autoindex off;
server_tokens off;
sendfile on;
large_client_header_buffers 4 32k;
client_max_body_size 25M;
error_log /var/log/nginx/phpvirtualbox-webgui_error.log error;
access_log /var/log/nginx/phpvirtualbox-webgui_access.log combined;
error_page 404 = /404.php;
location /404.html {
internal;
}
location /extjs6/ {
alias /usr/share/javascript/extjs6/;
expires 2d;
}
location ~ ^/(css|js|images)/ {
expires 2d;
}
location /favicon {
expires 14d;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php/php7.3-fpm-phpvirtualbox-webgui.sock;
fastcgi_index index.php;
fastcgi_read_timeout 60s;
include fastcgi.conf;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
listen [::]:7000 ipv6only=off;
include /etc/nginx/phpvirtualbox-webgui.d/*.conf;
}
Alles anzeigen
/etc/php/7.3/fpm/pool.d/phpvirtualbox-webgui.conf
Code
[phpvirtualbox-webgui]
user = phpvirtualbox-webgui
group = phpvirtualbox-webgui
listen = /run/php/php7.3-fpm-phpvirtualbox-webgui.sock
listen.owner = www-data
listen.group = www-data
listen.mode = 0600
pm = ondemand
pm.max_children = 25
pm.process_idle_timeout = 10s
chdir = /
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; phpvirtualbox php.ini settings ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories
php_value[include_path] = ".:/usr/share/php:/var/www/phpvirtualbox"
; Pam Authentication Support (see /etc/pam.d)
php_value[pam.servicename] = "phpvirtualbox-webgui";
; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
php_value[upload_max_filesize] = 25M
; Maximum size of POST data that PHP will accept.
; http://php.net/post-max-size
php_value[post_max_size] = 25M
; Do not expose to the world that PHP is installed on the server.
; http://php.net/expose-php
php_value[expose_php] = Off
; Name of the session (used as cookie name).
; http://php.net/session.name
php_value[session.name] = X-PHPVIRTUALBOX-SESSIONID
; Default timeout for socket based streams (seconds)
; http://php.net/default-socket-timeout
php_value[default_socket_timeout] = 90
; Maximum execution time of each script, in seconds
; http://php.net/max-execution-time
; Note: This directive is hardcoded to 0 for the CLI SAPI
php_value[max_execution_time] = 90
Alles anzeigen
/etc/default/virtualbox