Koozali.org: home of the SME Server

VirtualBox broken after attempted update

Offline EdelingF

  • ****
  • 215
  • +0/-0
VirtualBox broken after attempted update
« on: October 12, 2012, 01:50:35 PM »
After an attempted update from VirtualBox using http://wiki.contribs.org/VirtualBox_4.0_on_SME_Server_v8_beta_6, it broke down. This is the message I got:

Quote
fopen(/tmp/pvbx-2e6541470d8d13d134bdb7e3b1ea61ad-346fdd64d140c90dcc018f7ec9f4660d.dat) [function.fopen]: failed to open stream: Operation not permitted

After several attempts to upgrade/downgrade it, trying to get it to work again, I'm now at the point of needing some help.
At fora I can only find that is perhaps has something to do with open_basedir. The error-message is I think about access to a /tmp map under /home/e-smith/files/ibays/phpvbox/html/. The permissions to that map are 777 

Code: [Select]
[root@myserver]# find /etc -type f | xargs grep open_basedir
/etc/httpd/conf/httpd.conf:    php_admin_value open_basedir /home/e-smith/files/                                                                             ibays/Primary/
/etc/httpd/conf/httpd.conf:    php_admin_value open_basedir /home/e-smith/files/                                                                             ibays/backup/
/etc/httpd/conf/httpd.conf:    php_admin_value open_basedir /home/e-smith/files/                                                                             ibays/phpvbox/
/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays:         $                                                                             OUT .= "    php_admin_value open_basedir $basedir\n";

Has anyone got an idea what I should / could do? What am I overseeing?
...

Offline EdelingF

  • ****
  • 215
  • +0/-0
Re: VirtualBox broken after attempted update
« Reply #1 on: October 13, 2012, 12:10:04 PM »
After reading an other post, would this do it?

Code: [Select]
db accounts setprop phpvox PHPBaseDir /home/e-smith/files/ibays/phpvbox/html/:/tmp
...

Offline helzing

  • 1
  • +0/-0
Re: VirtualBox broken after attempted update
« Reply #2 on: October 13, 2012, 02:57:32 PM »
Hello EdelingF,

Look at the Virtualbox contrib you used, and check/redo step 25.
There is an error in your 'config.php' file concerning the tmp location.

Greetings,
Henk

Offline EdelingF

  • ****
  • 215
  • +0/-0
Re: VirtualBox broken after attempted update
« Reply #3 on: October 14, 2012, 11:47:55 AM »
Thanks, that did it. Two simple dots were missing.
...