Re: mod_perl install under Win32

2006-10-17 Thread Tom Schindl
Hi, don't build anything your own but rather use prebuilt packages. http://perl.apache.org/docs/2.0/os/win32/install.html Tom Devin Austin schrieb: Hey everyone, i'm brand new to this, so bear with me: I'm trying to install mod_perl under strawberry-perl-5.8.8-alpha-2.exe

Re: mod_perl install under Win32

2006-10-17 Thread Randy Kobes
On Mon, 16 Oct 2006, Devin Austin wrote: Hey everyone, i'm brand new to this, so bear with me: I'm trying to install mod_perl under strawberry-perl-5.8.8-alpha-2.exehttp://www.vanillaperl.com/, windows xp pro, and apache 2.2,3. I've extracted the mod_perl package into C:\, and i've cd'd to the

Re: Cannot restart or stop Apache after several days of running

2006-10-17 Thread Helmut Zeilinger
Hi Henrik, is this a remote machine administrated via ssh/telnet/etc. and with nobody typing on the keyboard? Helmut Henrik Steffen schrieb: Hello all, I am using Apache 2.0.59 on Linux with mod_perl 2.0.2 in a productive enviornment, with intense usage of perl-scripts. If changes to the

Re: Cannot restart or stop Apache after several days of running

2006-10-17 Thread Jonathan Vanasco
On Oct 17, 2006, at 2:54 AM, Henrik Steffen wrote: This works fine in the first couple of days (sometimes weeks) after a reboot but then suddenly I am no longer able to perform a normal apachectl restart. After entering this command actually nothing happens. The command execution just You

Re: Cannot restart or stop Apache after several days of running

2006-10-17 Thread Perrin Harkins
On Tue, 2006-10-17 at 08:54 +0200, Henrik Steffen wrote: This works fine in the first couple of days (sometimes weeks) after a reboot but then suddenly I am no longer able to perform a normal apachectl restart. After entering this command actually nothing happens. The command execution just

Re: Cannot restart or stop Apache after several days of running

2006-10-17 Thread Torsten Foertsch
On Tuesday 17 October 2006 19:15, Perrin Harkins wrote: I could of course killall the apache processes brutally, but even then I can't do apachectl start. The server won't start up again! So if you send the kill yourself, it does stop?  And what do you mean by won't start up again?  What

Re: AW: Cannot restart or stop Apache after several days of running

2006-10-17 Thread Jonathan
On Oct 17, 2006, at 2:55 PM, Henrik Steffen wrote: oops, I didn't know that. I have always done it with apachectl restart until now, and never had any trouble with it. Note though: apachectl is just a bash script which does a simple /usr/sbin/httpd -k restart. Is this still a problem? no

Re: CSRF (Was: XSS evasion)

2006-10-17 Thread Jonathan
Sorry for the OT ness of this thread--- I spent the better part of the past 2 days trying to do a 1pass content filtering on xss attacks-- including flash. breaking down every piece of user input 2x wasn't nice on my server load. I liked HTML::TagFilter, but it was making broken tags and

Re: Cannot restart or stop Apache after several days of running

2006-10-17 Thread Malcolm J Harwood
On Tue, 2006-10-17 at 08:54 +0200, Henrik Steffen wrote: This works fine in the first couple of days (sometimes weeks) after a reboot but then suddenly I am no longer able to perform a normal apachectl restart. After entering this command actually nothing happens. The command execution just

AW: Cannot restart or stop Apache after several days of running

2006-10-17 Thread Henrik Steffen
Hi Helmut, Helmut Zeilinger wrote: is this a remote machine administrated via ssh/telnet/etc. and with nobody typing on the keyboard? yes, it's a remote machine. No keyboard attached. Normally administrated via ssh, for emergencies or kernel-updates there is a console-switch, too. -- Mit

AW: Cannot restart or stop Apache after several days of running

2006-10-17 Thread Henrik Steffen
Hi Jonathan, You should never apachectl restart under mod perl You must always apachectl stop , wait , apachectl start oops, I didn't know that. I have always done it with apachectl restart until now, and never had any trouble with it. Note though: apachectl is just a bash script which

AW: Cannot restart or stop Apache after several days of running

2006-10-17 Thread Henrik Steffen
I could understand the ignoring the SIGHUP that restart sends, if something in your code was ignoring signals. The safe signals stuff in perl 5.8+ can be an issue there. I can't understand ignoring kill signals though. well, meanwhile I found out: kill -HUP works fine. However,

AW: Cannot restart or stop Apache after several days of running

2006-10-17 Thread Henrik Steffen
Dear Torsten, This can happen if apache is compiled with SysV shared memory support. If a segment is used for example as scoreboard and apache is killed with SIGKILL the segment remains and prevents further starting. After a reboot the segment disappears and the server will start again.