Koozali.org: home of the SME Server

open_basedir...not same ole same ole.

Dennis Pecynski

open_basedir...not same ole same ole.
« on: August 09, 2002, 05:31:30 AM »
I can upload pictures and images..I do not have a security error.
I have one program that I need to set the open_basedir to no value.
in my php admin my open_basedir is set to no value..but in one ibay the value got changed....have tryed the sandbox reset...and still not working...this is only in one ibay...could someone please direct me as to how to change the open_basedir  value in that one ibay?

Jon Blakely

Re: open_basedir...not same ole same ole.
« Reply #1 on: August 09, 2002, 06:24:47 AM »
Quote from FAQ's

The administrator can change the PHP Base Directory using by executing the following commands (as root):

   /sbin/e-smith/db accounts setprop your_i-bay_name PHPBaseDir /
   /sbin/e-smith/signal-event ibay-modify your_i-bay_name

Note that the PHPBaseDir argument can be more restrictive than the example shown above. For example PHPBaseDir can also be '/home/e-smith/files/'.

Jon

Dennis Pecynski

Re: open_basedir...not same ole same ole.
« Reply #2 on: August 09, 2002, 06:27:36 AM »
did faq 6q12 in root as explained.....
maybe it was not clear to me...

typed in:

/sbin/e-smith/db accounts setprop my_ibay_name phpbasedir/  (enter)

gave reply:

/sbin e-smith db/dbfile/setprop key prop1 val1 [prop2 val2] [prop3 val3]...

typed in :

/sbin/e-smith/signal -event ibay-modify my_ibay_name (enter)

gave reply:

bash:  /sbin/e-smith/signal: no such file or directory

all I want to do is change open_basedir of one certain ibay to no value.

ok...so what am I doing wrong?....

Dennis Pecynski

Re: open_basedir...not same ole same ole.
« Reply #3 on: August 09, 2002, 06:38:03 AM »
even tryed home/e-smith/files/ibays/ect...

still same results

Jon Blakely

Re: open_basedir...not same ole same ole.
« Reply #4 on: August 09, 2002, 06:43:35 AM »
Ok 2 problems in your syntax

1/  space after phpbasedir i.e phpbasedir /
2/ no space between signal and -event i.e one word signal-event

Jon

Dennis Pecynski

Re: open_basedir...not same ole same ole.
« Reply #5 on: August 09, 2002, 07:01:13 AM »
/sbin/e-smith/db accounts setprop auction phpbasedir / (enter)

reply:
went back to prompt.

/sbin/e-smith/signal-event ibay-modify auction (enter)

reply:

bash: /sbin/e-smith/signal: no such file or directory

/sbin/e-smith/signal-event ibay-modify home/e-smith/files/ibays/auction (enter)

reply:

bash: /sbin/e-smith/signal: no such file or directory

Jon Blakely

Re: open_basedir...not same ole same ole.
« Reply #6 on: August 09, 2002, 07:14:51 AM »
Ok the first part is right but you must still have a space between signal and -event.
Take a look in /sbin/e-smith and you will see a file called 'signal-event'. That is what you are trying to call.

Jon

Dennis Pecynski

Re: open_basedir...not same ole same ole.
« Reply #7 on: August 09, 2002, 07:40:09 AM »
now I can not get into my server........can't access server manager...lost my website.

Jon Blakely

Re: open_basedir...not same ole same ole.
« Reply #8 on: August 09, 2002, 08:13:35 AM »
Try rebooting the server

Dennis Pecynski

Re: open_basedir...not same ole same ole.
« Reply #9 on: August 09, 2002, 03:22:01 PM »
reboot did not work...using server as router..so I can get on internet yet...probably lost ibay info....

Dennis Pecynski

Re: open_basedir...not same ole same ole.
« Reply #10 on: August 10, 2002, 08:57:46 AM »
hey I used the suggestion  that was given for my open_basedir problem and lost my wesite...either my php shut down or something shut my ibays down.. CAN ANYONE SHOW ME HOW TO UNDO THAT SUGESTION?