Chrooting Perl CGI applications (was: openbsd web server failure)

2008-08-05 Thread Jason Dixon
On Mon, Aug 04, 2008 at 10:58:19AM -0400, Jason Dixon wrote: > On Mon, Aug 04, 2008 at 04:52:40PM +0300, Lars Nood??n wrote: > > John Nietzsche wrote: > > > ... Software error: > > > Can't locate Bio/SearchIO.pm in @INC (@INC contains ... > > > > It looks like you are missing the CPAN module Bio::

Re: openbsd web server failure

2008-08-04 Thread William Boshuck
On Mon, Aug 04, 2008 at 10:58:19AM -0400, Jason Dixon wrote: > > I've considered putting together a short article on Undeadly describing > this technique based on my own efforts porting security/hatchet, but I > wasn't sure if there would be any interest. I would be interested in reading the arti

Re: openbsd web server failure

2008-08-04 Thread Christopher Linn
On Mon, Aug 04, 2008 at 06:50:55PM +0300, Lars Nood??n wrote: > Jason Dixon wrote: > > > Numerous others have already given you the answers you're looking for. > > I would like to add my own $0.02 here that if you're running Perl apps > > in the chroot, that mod_perl should be your new best friend

Re: openbsd web server failure

2008-08-04 Thread Diana Eichert
On Mon, 4 Aug 2008, Jason Dixon wrote: SNIP I've considered putting together a short article on Undeadly describing this technique based on my own efforts porting security/hatchet, but I wasn't sure if there would be any interest. -- Jason Dixon my devalued US$.02 worth, I think there would b

Re: openbsd web server failure

2008-08-04 Thread Lars Noodén
Jason Dixon wrote: > Numerous others have already given you the answers you're looking for. > I would like to add my own $0.02 here that if you're running Perl apps > in the chroot, that mod_perl should be your new best friend. It can > load up all the necessary dependencies at httpd execution an

Re: openbsd web server failure

2008-08-04 Thread Peter N. M. Hansteen
Jason Dixon <[EMAIL PROTECTED]> writes: > I've considered putting together a short article on Undeadly describing > this technique based on my own efforts porting security/hatchet, but I > wasn't sure if there would be any interest. I for one would be very interested in reading such an article.

Re: openbsd web server failure

2008-08-04 Thread Jason Dixon
On Mon, Aug 04, 2008 at 04:52:40PM +0300, Lars Nood??n wrote: > John Nietzsche wrote: > > ... Software error: > > Can't locate Bio/SearchIO.pm in @INC (@INC contains ... > > It looks like you are missing the CPAN module Bio::SearchIO from > Apache's chroot. Make sure this is installed and, as the

Re: openbsd web server failure

2008-08-04 Thread John Nietzsche
Thank you Peter! I installed bioperl and it worked. On Mon, Aug 4, 2008 at 10:20 AM, Peter N. M. Hansteen <[EMAIL PROTECTED]> wrote: > "John Nietzsche" <[EMAIL PROTECTED]> writes: > >> Software error: >> >> Can't locate Bio/SearchIO.pm in @INC (@INC contains: > > [**snippage** ] > >> Does anybody

Re: openbsd web server failure

2008-08-04 Thread Peter N. M. Hansteen
"John Nietzsche" <[EMAIL PROTECTED]> writes: > Software error: > > Can't locate Bio/SearchIO.pm in @INC (@INC contains: [**snippage** ] > Does anybody know the path to the right portage for installation? I wouldn't claim to *know*, but the last time I had a similar problem, I did a web search o

Re: openbsd web server failure

2008-08-04 Thread Lars Noodén
John Nietzsche wrote: > ... Software error: > Can't locate Bio/SearchIO.pm in @INC (@INC contains ... It looks like you are missing the CPAN module Bio::SearchIO from Apache's chroot. Make sure this is installed and, as the others have pointed out, inside chroot. You might find some ideas here:

Re: openbsd web server failure

2008-08-04 Thread Marc Balmer
* John Nietzsche wrote: > i am migrating a web application from a linux server to an openbsd > one. I am having a hard time trying to execute a cgi program, the only > thing i get on the browser is: > > Software error: > > Can't locate Bio/SearchIO.pm in @INC (@INC contains: > /usr/libdata/perl5

Re: openbsd web server failure

2008-08-04 Thread Gilles Chehade
On Mon, Aug 04, 2008 at 09:59:47AM -0300, John Nietzsche wrote: > Hi, > > i am migrating a web application from a linux server to an openbsd > one. I am having a hard time trying to execute a cgi program, the only > thing i get on the browser is: > > Software error: > > Can't locate Bio/SearchIO

Re: openbsd web server failure

2008-08-04 Thread Josh Grosse
On Mon, 4 Aug 2008 09:59:47 -0300, John Nietzsche wrote > Hi, > > i am migrating a web application from a linux server to an openbsd > one. I am having a hard time trying to execute a cgi program... The default configuration of the Apache web server is chrooted. FAQ 10.16 describes the implicati

openbsd web server failure

2008-08-04 Thread John Nietzsche
Hi, i am migrating a web application from a linux server to an openbsd one. I am having a hard time trying to execute a cgi program, the only thing i get on the browser is: Software error: Can't locate Bio/SearchIO.pm in @INC (@INC contains: /usr/libdata/perl5/amd64-openbsd/5.8.8 /usr/local/libd