On Sun, Nov 29, 2009 at 1:47 AM, Bret S. Lambert <bret.lamb...@gmail.com> wrote:
> On Sun, Nov 29, 2009 at 01:25:03AM +0700, ~Lst wrote:
>> On Sun, Nov 29, 2009 at 1:15 AM, Andre Keller <a...@ak.cx> wrote:
>> > Am 28.11.2009 18:34, schrieb ~Lst:
>> >> On Sun, Nov 29, 2009 at 12:19 AM, Andre Keller <a...@ak.cx> wrote:
>> >>
>> >>> Am 28.11.2009 16:36, schrieb ~Lst:
>> >>>
>> >>>> No, I just install and followed manual
>> >>> You either missed a step or run an very uncommon configuration
>> >>
>> >> It might be I missed a step, Could you help where is the step that I 
>> >> missed ?
>> >>
>> >
>> > Either permissions or httpd chroot setup or something completely different
>> >
>> >> http://203.84.157.250/cgi-bin/bgpl
>> >
>> > Restricted shell access might be more useful. I do believe you that it
>> > does not work, i just do not believe you that you done it EXACTLY like
>> > described in the man pages ;-))
>> >
>>
>> OK, might be I was wrong, let's say I'm not doing exactly what the man
>> pages said but this doesn't mean what I'm asking to.
>> My question is,
>> 1. why ping, traceroute and show version is working OK, but not with
>> the others ?
>> 2. why it's running well if its via CLI but not via web ?
>
> are you chrooting your webserver? try running bgplgsh under chroot(1)
> and see if you get the same behavior
>

I think yes,

-bash-4.0# ps -aux | grep www
_syslogd 12984  0.0  0.1   468   668 ??  S      7:20AM    0:02.75
syslogd -a /var/www/dev/log -a /var/empty/dev/log
www      23151  0.0  0.3  1312  2132 ??  Ss     7:20AM    0:24.85
httpd: parent [chroot /var/www] (httpd)
www      31735  0.0  0.2  1376  1784 ??  I      7:39AM    0:01.17
httpd: child (httpd)
www      21668  0.0  0.2  1376  1788 ??  I      7:39AM    0:01.16
httpd: child (httpd)
www      24825  0.0  0.2  1360  1780 ??  I      7:39AM    0:00.47
httpd: child (httpd)
www       1591  0.0  0.2  1376  1740 ??  I      7:39AM    0:01.06
httpd: child (httpd)
www       5272  0.0  0.2  1312  1688 ??  I      7:39AM    0:00.49
httpd: child (httpd)
www      28568  0.0  0.2  1312  1736 ??  I      7:39AM    0:00.39
httpd: child (httpd)
www       6680  0.0  0.2  1376  1740 ??  I      7:46AM    0:00.10
httpd: child (httpd)

Could you tell me how is running bgplgsh under chroot ?


Rgds,
--
~Lst

Reply via email to