Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 10-21-2004, 09:47 AM   #1
LQ Newbie
Registered: Oct 2004
Location: St. John's NF
Distribution: Debian Sarge
Posts: 6

Rep: Reputation: 0
apache2 permission problems [fixed]

so yeah, this month has been my first month using a linux distro, and so far so good

only when I try to run apache2, I get this error in error_log:
[Thu Oct 21 11:59:22 2004] [crit] (22)Invalid argument: mod_rewrite: Could not set permissions on rewrite_log_lock; check User and Group directives

from what I can gather, it's from user permissions
the only thing I could find on google was a german forum, and I couldn't understand the translation too well

can I just change the "User" in httpd.conf to root, or something with the "Group", or would I have to set up another user account and log into that just to run apache?


chgrp -R nogroup /www/*
chown -R nobody /www/*
Group nogroup

Last edited by mikewyatt; 10-21-2004 at 04:17 PM.
Old 10-24-2004, 04:55 AM   #2
Senior Member
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Do not ever change the user of Apache, this is a major security issue.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2 and SSL problems Malibyte Linux - Software 1 07-09-2005 04:14 PM
PHP and Apache2 problems khansen Linux - Networking 3 05-26-2005 08:55 PM
apache2 + php4 package problems atheist Debian 4 10-25-2004 09:22 PM
Apache2 and php4 problems configuring linoob Linux - General 2 07-01-2003 05:21 AM
Apache2: Charset and Encoding Problems sarmadys Linux - General 0 11-17-2002 12:11 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration