Re: [EMAIL PROTECTED] Apache2 rewrite_log_lock

2008-08-27 Thread Ron Savage
Hi Sam > The permissions in the /apache/logs directory are all Lower case A? No 2? See below. > -rw-rw-r-- > > however, in my attempt (temporarily) to get things working, i did > chmod 777 on all directories - and this still didn't work (i got the > rewrite lock error still). [snip] >

Re: [EMAIL PROTECTED] lower cpu priority to perl scripts

2008-08-27 Thread david
Audio Phile: Do you have a comparable example for ActiveState Perl on Windows? At 03:12 PM 8/27/2008, you wrote: If you are running on unix, the easiest way to probably do this is by calling the "setpriority" from within your perl script like this: setpriority(WHICH,WHO,PRIORITY); To set your

Re: [EMAIL PROTECTED] lower cpu priority to perl scripts

2008-08-27 Thread Richard de Vries
If you are running on unix, the easiest way to probably do this is by calling the "setpriority" from within your perl script like this: setpriority(WHICH,WHO,PRIORITY); To set your current running perlscript to the lowest priority, you would call setpriority(0, $$, 20); $$ is your script's proces

[EMAIL PROTECTED] limiting user?

2008-08-27 Thread Zach Uram
I wish to add a user account for my friend on my Apache2 webserver (running in Debian). How can I limit how much disk space he can use and limit how much bandwidth? Also I would like it so he cannot explore the filesystem and is limited to his $HOME directory only. Zach

Re: [EMAIL PROTECTED] lower cpu priority to perl scripts

2008-08-27 Thread Audio Phile
Tamer, Thank you very much for the reply. I googled around for the proper syntax of your suggestion as well as which config file I need to edit with it, but I came up with a big fat 0. Can you provide a few more details for me? Apologies in advance, I am a newbie with apache2 :) Tamer Embab

Re: [EMAIL PROTECTED] How to restart Apache

2008-08-27 Thread Joseph S D Yao
On Wed, Aug 27, 2008 at 01:41:48PM +0200, [EMAIL PROTECTED] wrote: > Is there a way how to restart Apache if pid file is missing? > I use my own demon.It happened that the demon deleted /var/run/apache2.pid > file. > Then I can not use /etc/init.d/apache2 restart > > but I must restart my Deb

Re: [EMAIL PROTECTED] How to restart Apache

2008-08-27 Thread Sander Temme
On Aug 27, 2008, at 6:13 AM, Bradley Giesbrecht wrote: Others will answer this better I'm sure and I haven't used Debian in a while but I would do: Debian names its httpd 'apache2'. [EMAIL PROTECTED]:~$ cat /var/run/apache2.pid 5692 [EMAIL PROTECTED]:~$ sudo rm /var/run/apache2.pid [sudo] p

Re: [EMAIL PROTECTED] How to restart Apache

2008-08-27 Thread Eric Covener
On Wed, Aug 27, 2008 at 7:41 AM, <[EMAIL PROTECTED]> wrote: > Is there a way how to restart Apache if pid file is missing? > I use my own demon.It happened that the demon deleted /var/run/apache2.pid > file. > Then I can not use /etc/init.d/apache2 restart > > but I must restart my Debian ser

[EMAIL PROTECTED] Using Apache 2.2.9 + mod_auth_xradius with 2 Radius servers fails

2008-08-27 Thread Emmanuel Bailleul
Hello list, I've spent a lot of time trying to find a way to use at least 2 Radius Servers in order to authenticate users in a reverse proxy config. I currently use httpd-2.2.9 & mod_auth_xradius-0.4.6. I have tried a lot of combination even with several Radius products (RSA, ActivID, ...) but to

Re: [EMAIL PROTECTED] How to restart Apache

2008-08-27 Thread Bradley Giesbrecht
Others will answer this better I'm sure and I haven't used Debian in a while but I would do: $sudo ps ax | grep httpd $sudo kill "lowest httpd process id goes here" $sudo /etc/init.d/apache2 start Or, since it looks like /var/run/httpd.pid contains only the pid of the first (lowest number

[EMAIL PROTECTED] How to restart Apache

2008-08-27 Thread export
Is there a way how to restart Apache if pid file is missing? I use my own demon.It happened that the demon deleted /var/run/apache2.pid file. Then I can not use /etc/init.d/apache2 restart but I must restart my Debian server by init 6 . After that the Apache starts normally. So, if the init

Re: [EMAIL PROTECTED] Apache2 rewrite_log_lock

2008-08-27 Thread Sam Wootton
Hi, Yeap, in the conf/httpd.conf, i have: User snapple Group admin This is the gourp i had in my old apache 1.3 set up. This is my admin user for my machine, and the user i used when isntalling apache2. This is the odd thing, its all the same set up as my old apache, fairly simple stuff - just

Re: [EMAIL PROTECTED] Apache2 rewrite_log_lock

2008-08-27 Thread WhoAmI
Hi, is the owner of that directories the same user thet you have set in "User" and "Group" (apache2.conf)? On Wed, 27 Aug 2008 09:30:45 +0100, "Sam Wootton" <[EMAIL PROTECTED]> wrote: > Hi, > > Thank you for the reply, much appreciated. > > The permissions in the /apache/logs directory are al

Re: [EMAIL PROTECTED] too many open files

2008-08-27 Thread Arnab Ganguly
Hi Michael, Did you tried the following "ulimit -S -n `ulimit -H -n` ? This will assign the max open file hard limits value to your soft limit. Can you check the output of ulimit -H -n and ulimit -S -n?Former gives your hard and the latter gives your soft limits respectively. Even if the above step

Re: [EMAIL PROTECTED] Apache2 rewrite_log_lock

2008-08-27 Thread Sam Wootton
Hi, Thank you for the reply, much appreciated. The permissions in the /apache/logs directory are all -rw-rw-r-- however, in my attempt (temporarily) to get things working, i did chmod 777 on all directories - and this still didn't work (i got the rewrite lock error still). The reason why i am

[EMAIL PROTECTED] Suexec - VhostAlias. Is it possible?

2008-08-27 Thread WhoAmI
Hi Guys, I have a "little" problem: my server is running whit mod_vhost_alias and mod_fastcgi (i only use it whit php5-cgi). I Use it whit VirtualScriptAlias directive so i haven't to restart the webserver every time i add an user (of course i haven't any vhost). For security reasons i MUST use

RE: [EMAIL PROTECTED] lower cpu priority to perl scripts

2008-08-27 Thread Tamer Embaby
Audio, You can always start your scripts with [re]nice() syscall to lower your process (perl script in this case) priority. Regards, Tamer -Original Message- From: Audio Phile [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2008 8:57 PM To: users@httpd.apache.org Subject: [EMAIL PROT