Re: open/opendir/readdir fail under latest perl/mod_perl/apache

2000-12-11 Thread Stas Bekman
On Mon, 11 Dec 2000, Richard Dice wrote: > > It shouldn't be gigabytes -- you want to strace only special events like > > open and read, and you want to attach to the process only before running > > the script (run under -X) -- so you should have just a few lines!!! > > > > % strace -p PID -e t

Re: open/opendir/readdir fail under latest perl/mod_perl/apache

2000-12-11 Thread Richard Dice
> It shouldn't be gigabytes -- you want to strace only special events like > open and read, and you want to attach to the process only before running > the script (run under -X) -- so you should have just a few lines!!! > > % strace -p PID -e trace=open,read I was talking about ltrace, not stra

Re: open/opendir/readdir fail under latest perl/mod_perl/apache

2000-12-11 Thread Stas Bekman
On Mon, 11 Dec 2000, Richard Dice wrote: > > Have you looked at the permissions and verified that the uid of the user > > running apache has permissions to list the contents of the directory? > > It's a good suggestion, but we've been all up and down this one over > here. (For instance, if it d

Re: open/opendir/readdir fail under latest perl/mod_perl/apache

2000-12-11 Thread Richard Dice
> Have you looked at the permissions and verified that the uid of the user > running apache has permissions to list the contents of the directory? It's a good suggestion, but we've been all up and down this one over here. (For instance, if it didn't have perms, then the opendir/readdir commands

Re: open/opendir/readdir fail under latest perl/mod_perl/apache

2000-12-11 Thread Stas Bekman
On Mon, 11 Dec 2000, Richard Dice wrote: > Everyone: > > Here's something that myself and my sysadmin guy have been working on > for a bit: opendir appears to be broken for us on a new Apache/mod_perl > installation. Rich, please send in the relevant parts of the strace output, or may be you w

open/opendir/readdir fail under latest perl/mod_perl/apache

2000-12-11 Thread Richard Dice
Original Message ---- Subject: open/opendir/readdir fail under latest perl/mod_perl/apache. Date: Mon, 11 Dec 2000 13:17:59 -0500 From: Damian M Gryski <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] I've been trying to use opendir/readdir under mod_perl 1.24 with apache 1.2.14 u