View Single Post
  #3  
Old 08-19-2010, 12:04 PM
svyturio_alus svyturio_alus is offline
New Member
 
Join Date: Aug 2010
Posts: 5
Quote:
Originally Posted by mistwang View Post
If you direct admin uses piped logger, you can download the 4.0.17 build by changing the version number in the link.
Now I've tried 4.0.17 build as you suggested however nothing has changed and the logs are still not functioning.

At first, I have tried to upgrade to 4.0.17 (didn't fix the problem) and then I've done a reinstall (using the installer) which didn't fix the problem either.

Should I try getting rid of Litespeed completely and installing it again?


Here's an example from user's httpd.conf (had to replace www with xxx because of the forum):
Code:
<VirtualHost 12.34.56.789:80 >


        ServerName xxx.some.domain.com
        ServerAlias xxx.some.domain.com some.domain.com
        ServerAdmin webmaster@some.domain.com
        DocumentRoot /home/someuser/domains/some.domain.com/public_html


        UseCanonicalName OFF

        SuexecUserGroup auto auto
        CustomLog /var/log/httpd/domains/some.domain.com.bytes bytes
        CustomLog /var/log/httpd/domains/some.domain.com.log combined
        ErrorLog /var/log/httpd/domains/some.domain.com.error.log

        <Directory /home/someuser/domains/some.domain.com/public_html>
                Options +Includes -Indexes
...
Domains directory:
drwxrwxrwx 2 apache nobody 36864 Aug 19 21:07 domains

Newly created user's logs:
-rw-r--r-- 1 apache testuser 0 Aug 19 20:55 test.domain.com.bytes
-rw-r--r-- 1 apache testuser 906 Aug 19 21:48 test.domain.com.error.log
-rw-r--r-- 1 apache testuser 0 Aug 19 20:55 test.domain.com.log

User's logs (777 permissions, even though it should not be required):
-rwxrwxrwx 1 apache otheruser 148577 Aug 19 07:01 domain.com.bytes
-rwxrwxrwx 1 apache otheruser 128376 Aug 19 21:48 domain.com.error.log
-rwxrwxrwx 1 apache otheruser 6514879 Aug 19 07:01 domain.com.log

Log files are not empty because I've been using Apache on this Vhost before the LSWS install.

Thanks

Last edited by svyturio_alus; 08-22-2010 at 07:54 PM..
Reply With Quote