access_log empty

Avenueduweb

Verified User
Joined
Jun 8, 2004
Messages
122
Hello everybody,

I've got a problem. I have got a new install of my server and directadmin today, and since my file access_log is always empty. I have tested to create a new file access_log but it's don't run. Thanks. Bye.
 
Please help me, my directory var/log/httpd :

-rw-r--r-- 1 root root 0 Feb 7 18:27 access_log
-rw-r--r-- 1 root root 0 Feb 8 02:18 access_log.bak
drwxr-xr-x 2 root root 12288 Feb 11 00:14 domains
-rw-r--r-- 1 root root 352059 Feb 11 00:15 error_log
-rw-r--r-- 1 root root 6 Feb 11 00:32 homedir.log
lrwxrwxrwx 1 root root 19 Feb 7 19:15 httpd -> ../../var/log/httpd
-rw-r--r-- 1 root root 618 Feb 8 00:36 ssl_engine_log
-rw------- 1 apache root 0 Feb 7 21:22 ssl_mutex.13732
-rw------- 1 apache root 0 Feb 7 22:54 ssl_mutex.32241
-rw------- 1 apache root 0 Feb 7 18:59 ssl_mutex.3465
-rw------- 1 apache root 0 Feb 8 00:36 ssl_mutex.6491
-rw------- 1 apache root 0 Feb 11 00:15 ssl_mutex.8964
-rw-r--r-- 1 root root 0 Feb 7 18:27 ssl_request_log
-rw-r--r-- 1 root apache 18592 Feb 11 01:46 suexec_log

What is the problem ? Why my file access_log is always empty ?

Thanks. Bye.
 
Hello,

When I erase the file : access_log and restart apache, the access_log is created but he is always empty. When i restart apache, i have got this in my file error_log :

Sun Feb 13 14:26:46 2005] [notice] Apache/1.3.33 (Unix) mod_gzip/1.3.26.1a mod_ssl/2.8.22 OpenSSL/0.9.7a PHP/4.3.10 mod_perl/1.29 FrontPage/5.0.2.2510 configured -- resuming normal operations
[Sun Feb 13 14:26:46 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Feb 13 14:26:46 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)

The problem is that ? And how to resolve this problem ? Thanks. Bye.
 
All logging is done based on virtual domains under DirectAdmin. Logs for the default virtual domain are in homedir.log while other domains are in domains/<domain>.log.

If you want a combined access log for the default domain, add something like
Code:
CustomLog /var/log/httpd/homedir.cmb.log combined

to the default virtual host.
 
Back
Top