Koozali.org: home of the SME Server

Open-Basedir cause website to become unresponsive

Offline newburns

  • *
  • 345
  • +0/-0
  • A good plumber, noob developer
    • Mt. Rose MEdia
Open-Basedir cause website to become unresponsive
« on: March 27, 2010, 05:25:30 AM »
As I was installing Gallery2, I ran accross upload error 6. I followed this, http://forums.contribs.org/index.php?topic=42509.0, but it was still there. I proceeded with this http://forums.contribs.org/index.php?topic=41655.0 , mary's second advise.

Code: [Select]
db accounts setprop ibayname PHPBaseDir /home/e-smith/files/ibays/ibayname:/tmp
signal-event ibay-modify ibayname

I actually copied all of it, but when I pasted, it inputed. So it is entered word for word. This is when my website was no longer working. I can't get to server-manager, but I can get to ssh connection.
Also, db accounts getprop ibayname PHPBaseDir  does nothing for me. Nothing is displayed.  I am using SME 8 B5. what can I do to see what the error may be.

P.S. I did
Code: [Select]
httpd -t and got
Code: [Select]
Syntax error on line 1546 of /etc/httpd/conf/httpd.conf:
php_admin_value takes two arguments, PHP Value Modifier (Admin)

Then when I pico /etc/httpd/conf/httpd.conf, line 1546 is 
Code: [Select]
    php_admin_value open_basedir
/opt/gallery2/html/:/opt/gallery2/g2data/:/usr/bin/:/opt/gallery2/g2data/tmp/
SME 8.0
Quad 6600
8gb DDR2 800
8 TB RAID 5
Dual Gigabit NIC
I Still Don't KNOW WHAT I AM DOING. Please, don't assume I know anything about Linux or Centos, I just know hardware

Offline newburns

  • *
  • 345
  • +0/-0
  • A good plumber, noob developer
    • Mt. Rose MEdia
Re: Open-Basedir cause website to become unresponsive
« Reply #1 on: March 27, 2010, 05:56:00 AM »
Well, newb.
If you read the wiki's and manua, u would've seen this...http://wiki.contribs.org/DB_Variables_Configuration
Basicaly, to undo all you did, delete the property values you put in with the db accounts deprop key prop.
Then initialize the defaut databases.
Also, you have to reconfigure the open-basedir in your /opt/galer2 folder. Probably better off deleting it.






I figured I would just respond to myself because I couldn't delete the topic. I'm sure there's a right way to do it, but this worked faster!
SME 8.0
Quad 6600
8gb DDR2 800
8 TB RAID 5
Dual Gigabit NIC
I Still Don't KNOW WHAT I AM DOING. Please, don't assume I know anything about Linux or Centos, I just know hardware