dgzyk / phpvirtualbox

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

fopen(/tmp/pvbx-etc failed to open stream: Operation not permitted #570

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, Ubuntu 10.4, followed a number of guides and installed phpvirtualbox 
however after logging in the site appears to load, some frames are started to 
be rendered then it fails with the following errors:

fopen(/tmp/pvbx-4e2d4254205e7983f9e52bc4008e83ae-346fdd64d140c90dcc018f7ec9f4660
d.dat): failed to open stream: Operation not permitted

What version of phpVirtualBox, VirtualBox, and PHP are you using? On what
operating system?

root@server:/var/www# dpkg --get-selections | grep virtualbox
virtualbox-4.1                                  install
virtualbox-ose                                  deinstall
virtualbox-ose-dkms                             install
virtualbox-ose-qt                               deinstall

root@server:/var/www# dpkg --get-selections | grep php
libapache2-mod-php5                             install
php-pear                                        install
php5                                            install
php5-cgi                                        install
php5-cli                                        install
php5-common                                     install
php5-curl                                       install
php5-gd                                         install
php5-mysql                                      install
php5-suhosin                                    install

phpvirtualbox-4.1-7.zip

root@server:/var/www# uname -an
Linux server.live-servers.net 2.6.32-41-generic #94-Ubuntu SMP Fri Jul 6 
18:00:34 UTC 2012 x86_64 GNU/Linux

root@server:/var/www# cat /etc/issue
Ubuntu 10.04.4 LTS \n \l

Please provide any additional information below.

Original issue reported on code.google.com by m...@suicidalkid.com on 8 Aug 2012 at 7:00

GoogleCodeExporter commented 8 years ago
Hi, additional information:

root@server:/var/www# sudo -u vbox /usr/bin/vboxwebsrv --background
Oracle VM VirtualBox web service version 4.1.18
(C) 2005-2012 Oracle Corporation
All rights reserved.
VirtualBox web service 4.1.18 r78361 linux.amd64 (Jun 20 2012 10:27:48) release 
log
00:00:00.000 main     Log opened 2012-08-08T19:14:55.312087000Z
00:00:00.000 main     OS Product: Linux
00:00:00.000 main     OS Release: 2.6.32-41-generic
00:00:00.000 main     OS Version: #94-Ubuntu SMP Fri Jul 6 18:00:34 UTC 2012
00:00:00.000 main     OS Service Pack: #94-Ubuntu SMP Fri Jul 6 18:00:34 UTC 
2012
00:00:00.000 main     Executable: /usr/lib/virtualbox/vboxwebsrv
00:00:00.000 main     Process ID: 2562
00:00:00.000 main     Package type: LINUX_64BITS_UBUNTU_10_04
vboxwebsrv: error: could not get base directory for logging: VERR_ACCESS_DENIED

Original comment by m...@suicidalkid.com on 8 Aug 2012 at 7:17

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi, additional information:

root@server:/var/www# VBoxManage list systemproperties
API version:                     4_1
Minimum guest RAM size:          4 Megabytes
Maximum guest RAM size:          2097152 Megabytes
Minimum video RAM size:          1 Megabytes
Maximum video RAM size:          256 Megabytes
Minimum guest CPU count:         1
Maximum guest CPU count:         32
Virtual disk limit (info):       2199022206976 Bytes
Maximum Serial Port count:       2
Maximum Parallel Port count:     2
Maximum Boot Position:           4
Maximum PIIX3 Network Adapter count:   8
Maximum ICH9 Network Adapter count:   36
Maximum PIIX3 IDE Controllers:   1
Maximum ICH9 IDE Controllers:    1
Maximum IDE Port count:          2
Maximum Devices per IDE Port:    2
Maximum PIIX3 SATA Controllers:  1
Maximum ICH9 SATA Controllers:   8
Maximum SATA Port count:         30
Maximum Devices per SATA Port:   1
Maximum PIIX3 SCSI Controllers:  1
Maximum ICH9 SCSI Controllers:   8
Maximum SCSI Port count:         16
Maximum Devices per SCSI Port:   1
Maximum SAS PIIX3 Controllers:   1
Maximum SAS ICH9 Controllers:    8
Maximum SAS Port count:          8
Maximum Devices per SAS Port:    1
Maximum PIIX3 Floppy Controllers:1
Maximum ICH9 Floppy Controllers: 1
Maximum Floppy Port count:       1
Maximum Devices per Floppy Port: 2
Default machine folder:          /root/VirtualBox VMs
VRDE auth library:               VBoxAuth
Webservice auth. library:        VBoxAuth
Remote desktop ExtPack:
Log history count:               3

Original comment by m...@suicidalkid.com on 8 Aug 2012 at 7:23

GoogleCodeExporter commented 8 years ago
It looks like php/apache can't open cache files it places in /tmp because of 
some permissions. Either filesystem permissions or the PHP setting 
open_basedir. It's most likely the php setting. What do you see when you run 
the following as root:

find /etc -type f | xargs grep open_basedir

?

Original comment by imooreya...@gmail.com on 13 Aug 2012 at 3:59

GoogleCodeExporter commented 8 years ago
find /etc -type f | xargs grep open_basedir
/etc/php5/cli/php.ini:; open_basedir, if set, limits all file operations to the 
defined directory
/etc/php5/cli/php.ini:;open_basedir =
/etc/php5/apache2/php.ini:; open_basedir, if set, limits all file operations to 
the defined directory
/etc/php5/apache2/php.ini:;open_basedir =

Original comment by dan.newb...@gmail.com on 28 Aug 2012 at 10:00

GoogleCodeExporter commented 8 years ago
Sorry for the delay. What are the permissions on /tmp?

Original comment by imooreya...@gmail.com on 13 Sep 2012 at 12:50

GoogleCodeExporter commented 8 years ago
Closed due to inactivity.

Original comment by imooreya...@gmail.com on 9 Oct 2012 at 7:14