Duplicated logfile?
Hello,
doing maintenance on my servers i have discovered that apache logfiles seems duplicated.
example:
in /etc/httpd/domlogs/
ls -asl auserdomain.org
952K -rw-r----- 2 root auser 946K 30 mag 14:45 auserdomain.org
and in /etc/httpd/domlogs/auser
ls -asl
4,0K drwxr-x--- 2 root auser 4,0K 30 mag 14:07 .
36K drwx--x--x 36 root wheel 36K 30 mag 14:41 ..
952K -rw-r----- 2 root auser 946K 30 mag 14:45 auserdomain.org
and is not a link, it's a duplicate.
Why this happens? No trace of the second one in the http.conf.
-
Hello, It's not a duplicate file, but a hard link. You can verify the same inode is shared with the use of the "ls -ali" command. EX: ls -ali /usr/local/apache/domlogs/cptest01.com ls -ali /usr/local/apache/domlogs/cptest01/cptest01.com
Thank you.0
Please sign in to leave a comment.
Comments
1 comment