Re: Mod_Perl server can't locate modules that exist...

2004-07-20 Thread Jie Gao
On Wed, 21 Jul 2004, simran wrote: > Date: Wed, 21 Jul 2004 13:05:42 +1000 > From: simran <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Cc: David Baxter <[EMAIL PROTECTED]>, Cees Hek <[EMAIL PROTECTED]>, > Daniel Tosolini <[EMAIL PROTECTED]> > Subject: Re: Mod_Perl server can't locate modu

Re: Mod_Perl server can't locate modules that exist...

2004-07-20 Thread simran
Hi All, After a few more errors, i think we might have found out what the problem was... We have about 500 virtual sites being run on the server... each one of them had its own access and error logs... and we had started running into a "too many open files" problem... i have removed "separate l

Re: Using Cache::Mmap in mod_perl

2004-07-20 Thread Victor Tsang
Hi Perrin, I have tired to look for the file along the @INC I managed to find the path but the directory is empty. I have taken a quick look into Cache::Mmap source and it doesn't appears to be using autoload, that Peter himself has confirmed. I am going to take Peter's suggestion to rei

Mod_Perl server can't locate modules that exist...

2004-07-20 Thread simran
Hi All, I have recently started having a few issues on our mod_perl/apache server. Software that has been functioning fine has suddenly randomly started giving errors like: Error: 'newsletter' could not be loaded... (Can't locate obj

About browser cookie

2004-07-20 Thread Mike Ni
Hey everyone, I am new to the web programming and I having a timeing issue with the browser cookie. For some odd reason, I am having a hard time to retrieve the cookie's parameter returned by the user's browser. I use the CGI's cookie routine. Yet, sometimes it wouldn't work. Is there a more

[mp2] PerlModule vs PerlLoadModule

2004-07-20 Thread dorian taylor
if PerlLoadModule supplants the command table, i surmise it does the job of PerlModule as well (which i understand to be roughly the equivalent of 'use'). i'm wondering, would there ever be a reason to load a module without wanting to supplant the command table with any existing values that may be

Running apachectl start hangs

2004-07-20 Thread Kent, Mr. John \(Contractor\)
Greetings Frequently when running apachectl start on a mod-perl server Apache/2.0.50 (Unix) mod_perl/1.99_14 Perl/v5.8.3 configured it just hangs. What I get from running strace on the heavy server process: [EMAIL PROTECTED] bin]$ strace -p 21724 attach: ptrace(PTRACE_ATTACH, ...): No such proc

Re: Using Cache::Mmap in mod_perl

2004-07-20 Thread Perrin Harkins
On Tue, 2004-07-20 at 06:19, Victor Tsang wrote: > Can't locate auto/Cache/Mmap/_lock.al in @INC You're having problems with autoloading. Check for the existence of "auto/Cache/Mmap/_lock.al" on your system, and then check that its path is in @INC when you run under mod_perl (command-line doesn't

Re: Using Cache::Mmap in mod_perl

2004-07-20 Thread Peter Haworth
On Tue, 20 Jul 2004 18:19:11 +0800, Victor Tsang wrote: > my $vhostcache = Cache::Mmap->new("/tmp/vhost.mmap", \%options); > .. (bunch of codes) > ($rv, $res) = $vhostcache->read($host); > > instead of read.al now it complain _lock.al > > Can't locate auto/Cache/Mmap/_lock.al in @INC This is jus

Re: Using Cache::Mmap in mod_perl

2004-07-20 Thread Victor Tsang
Hi Peter, Thanks for your promp reply, I have tried to reinstall Cache::Mmap via CPAN as you suggested, but doesn't seems to help, the error still show up. I am pitty sure the perl have not been changed after I installed mod_perl, but I will try recompile mod_perl tomorrow just to make sure.