On Sun, 29 Nov 2009 04:42:34 +0700 "~Lst" <[email protected]> wrote:
> >> >> Could you tell me how is running bgplgsh under chroot ? > >> > > > I tried running bgplgsh under chroot, still works if its via CLI but > not via web. > > -bash-4.0# ps -aux | grep chroot > www 4592 0.0 0.3 1356 2120 ?? Ss 10:36AM 0:01.07 > httpd: parent [chroot /var/www] (httpd) > > -bash-4.0# ls -l /var/www/bin/bgplgsh > -r-xr-xr-x 1 root daemon 28052 Nov 29 10:09 /var/www/bin/bgplgsh > > -bash-4.0# /var/www/bin/bgplgsh *chuckle* If you were running bgplgsh in a chroot from the cmdline you would have to execute it by invoking /bin/bgplgsh because of the changed root. ;) # man chroot # sudo chroot -u www -g www /var/www /bin/bgplgsh Lots of patience to spare around here, if everyone chims in from time to time. - Robert

