Invalid logfile owner

justme

Well-Known Member
#1
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

LiteSpeed Staff
#2
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

Well-Known Member
#3
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.
 
Top