View Full Version : Invalid logfile owner
justme
04-05-2008, 05:14 AM
Using 3.3.9-std on linux:
if one enables 'own log file' access logging for a vhost and restart said vhost, logfile gets created with root ownership. Chown the file to the LSWS user to get it working.
On a not so related note, docs/Trouble_QA.html bug section should link to this forum and not the 404 http://litespeedtech.com/bugs.html :)
Martin.
mistwang
04-05-2008, 09:20 PM
Using 3.3.9-std on linux:
if one enables 'own log file' access logging for a vhost and restart said vhost, logfile gets created with root ownership. Chown the file to the LSWS user to get it working.
It is pretty strange. seems another user has the same problem, but I cannot reproduce it.
If you rename the log file or remove it, LSWS will create a new one, what the ownership of the new file?
I may need to take a look at your server if possible.
On a not so related note, docs/Trouble_QA.html bug section should link to this forum and not the 404 http://litespeedtech.com/bugs.html :)
OK. will address that later.
justme
04-06-2008, 09:13 AM
If I remove the file, it gets created OK.. it is only when the server rehashes its configuration after a logfile config change that the wrong owner is set.
Email me your public ssh key if you still need access.
mistwang
04-07-2008, 08:00 PM
It has been fixed in the latest 3.3.10 build. Just change the version number in the download link to get it.