| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi, Any help is really appreciated. If you need more info to help with my problem, please ask. I have mac os x installed on a mac mini. It came with Apache 1.3 pre-installed. I installed Apache2 (after running 1.3 for over a year). I used http://www.serverlogistics.com/apache2.php When i attempt to start apache, i get the following in the access log: crit <http://discussions.apple.com/> (14)Bad address: mod_rewrite: Could not set permissions on rewrite_log_lock; check User and Group directives Configuration Failed I have the user and group directives set correctly in httpd.conf (an Administrative user - the same as i had them in apache 1.3). I have also tried setting: RewriteLog "/Library/Apache2/logs/rewrite.log" RewriteLogLevel 0 I simply cannot get Apache 2 to work on mac os x, version: Darwin 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386 Regards, Sam Wootton |
|
#2
| |||
| |||
| Hi Sam > When i attempt to start apache, i get the following in the access log: > > crit (14)Bad address: mod_rewrite: Could not set permissions on > rewrite_log_lock; check User and Group directives Configuration Failed > > I have the user and group directives set correctly in httpd.conf (an > Administrative user - the same as i had them in apache 1.3). I have > also tried setting: > > RewriteLog "/Library/Apache2/logs/ > rewrite.log" > RewriteLogLevel 0 Did you check the permissions on /all/ directories in that path? -- Ron Savage ron@savage.net.au http://savage.net.au/index.html --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org |
|
#3
| |||
| |||
| 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 losing my patience with this problem, is that the error msg appears fairly self explanatory (in that apache appears not to have the correct permissions), but i cannot fix it. Regards, Sam Wootton 2008/8/27 Ron Savage <ron@savage.net.au> > Hi Sam > > > > When i attempt to start apache, i get the following in the access log: > > > > crit (14)Bad address: mod_rewrite: Could not set permissions on > > rewrite_log_lock; check User and Group directives Configuration Failed > > > > I have the user and group directives set correctly in httpd.conf (an > > Administrative user - the same as i had them in apache 1.3). I have > > also tried setting: > > > > RewriteLog "/Library/Apache2/logs/ > > rewrite.log" > > RewriteLogLevel 0 > > Did you check the permissions on /all/ directories in that path? > > -- > Ron Savage > ron@savage.net.au > http://savage.net.au/index.html > > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > |
|
#4
| |||
| |||
| 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" <sam.wootton@gmail.com> wrote: > 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 losing my patience with this problem, is that the > error > msg appears fairly self explanatory (in that apache appears not to have > the > correct permissions), but i cannot fix it. > > Regards, Sam Wootton > > 2008/8/27 Ron Savage <ron@savage.net.au> > >> Hi Sam >> >> >> > When i attempt to start apache, i get the following in the access log: >> > >> > crit (14)Bad address: mod_rewrite: Could not set permissions on >> > rewrite_log_lock; check User and Group directives Configuration Failed >> > >> > I have the user and group directives set correctly in httpd.conf (an >> > Administrative user - the same as i had them in apache 1.3). I have >> > also tried setting: >> > >> > RewriteLog "/Library/Apache2/logs/ >> > rewrite.log" >> > RewriteLogLevel 0 >> >> Did you check the permissions on /all/ directories in that path? >> >> -- >> Ron Savage >> ron@savage.net.au >> http://savage.net.au/index.html >> >> >> >> --------------------------------------------------------------------- >> The official User-To-User support forum of the Apache HTTP Server > Project. >> See <URL:http://httpd.apache.org/userslist.html> for more info. >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >> " from the digest: users-digest-unsubscribe@httpd.apache.org >> For additional commands, e-mail: users-help@httpd.apache.org >> >> -- -WhoAmI- Email: whoami@autistici.org WebSite: http://www.autistici.org/whoami/ --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org |
|
#5
| |||
| |||
| 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 doesn't work. I am worried its darwin kernal / apache2 compatibility problem - but have been reassured on a few forums that these two do work together and its definitely a problem with my apache2 configuration. Thank you for your help / advice. Regards, Sam 2008/8/27 WhoAmI <whoami@autistici.org> > > 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" <sam.wootton@gmail.com> > wrote: > > 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 losing my patience with this problem, is that the > > error > > msg appears fairly self explanatory (in that apache appears not to have > > the > > correct permissions), but i cannot fix it. > > > > Regards, Sam Wootton > > > > 2008/8/27 Ron Savage <ron@savage.net.au> > > > >> Hi Sam > >> > >> > >> > When i attempt to start apache, i get the following in the access log: > >> > > >> > crit (14)Bad address: mod_rewrite: Could not set permissions on > >> > rewrite_log_lock; check User and Group directives Configuration Failed > >> > > >> > I have the user and group directives set correctly in httpd.conf (an > >> > Administrative user - the same as i had them in apache 1.3). I have > >> > also tried setting: > >> > > >> > RewriteLog "/Library/Apache2/logs/ > >> > rewrite.log" > >> > RewriteLogLevel 0 > >> > >> Did you check the permissions on /all/ directories in that path? > >> > >> -- > >> Ron Savage > >> ron@savage.net.au > >> http://savage.net.au/index.html > >> > >> > >> > >> --------------------------------------------------------------------- > >> The official User-To-User support forum of the Apache HTTP Server > > Project. > >> See <URL:http://httpd.apache.org/userslist.html> for more info. > >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > >> " from the digest: users-digest-unsubscribe@httpd.apache.org > >> For additional commands, e-mail: users-help@httpd.apache.org > >> > >> > -- > -WhoAmI- > > Email: whoami@autistici.org > WebSite: http://www.autistici.org/whoami/ > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > |
|
#6
| |||
| |||
| 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] > > > > RewriteLog "/Library/Apache2/logs/ /Library? Upper case A? 2? > > rewrite.log" > > RewriteLogLevel 0 >From the docs, http://127.0.0.1/manual/mod/mod_rewrite.html#rewritelog it says: 'The RewriteLog directive sets the name of the file...' So 1) It's a file name not a dir name 2) Ensure all components of the path are meaningful 3) Patch httpd.conf and restart the server -- Ron Savage ron@savage.net.au http://savage.net.au/index.html --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.