View Single Post
  #16  
Old 29th July 2009, 15:25
kird03 kird03 is offline
Junior Member
 
Join Date: Oct 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Output of ls -la /var/log

Code:
[root@apollo ~]#ls -la /var/log/
total 14244
drwxr-xr-x  7 root   root       4096 Jul 28 04:02 .
drwxr-xr-x 27 root   root       4096 Jul 15 11:33 ..
-rw-------  1 root   utmp   13539072 Jul 28 14:00 btmp
drwxr-xr-x  2 clamav clamav     4096 Jul 26 04:02 clamav
-rw-r--r--  1 root   root     409017 Jul 26 04:02 denyhosts
-rw-r--r--  1 root   root       5775 Jul 15 11:54 dmesg
-rw-------  1 root   root          0 Jun 14 18:02 fail2ban.log
-rw-------  1 root   root     160160 Jul 15 11:33 faillog
drwx------  2 root   root       4096 Jul 26 04:02 httpd
drwxr-xr-x  3 root   root       4096 Jul 17 05:19 ispconfig
-rw-r--r--  1 root   root      75262 Jul 15 12:10 ispconfig_install.log
-rw-r--r--  1 root   root    1461460 Jul 29 03:16 lastlog
-rw-r--r--  1 root   root          0 Jul 26 04:02 maillog
-rw-r--r--  1 root   root          0 Jul 19 04:02 maillog.1
-rw-r--r--  1 root   root          0 Jul 12 04:02 maillog.2
-rw-r--r--  1 root   root          0 Jul  5 04:02 maillog.3
-rw-r--r--  1 root   root          0 Jun 28 04:02 maillog.4
-rw-r--r--  1 root   root          0 Jul 26 04:02 messages
-rw-r--r--  1 root   root          0 Jul 19 04:02 messages.1
-rw-r--r--  1 root   root          0 Jul 12 04:02 messages.2
-rw-r--r--  1 root   root          0 Jul  5 04:02 messages.3
-rw-r--r--  1 root   root          0 Jun 28 04:02 messages.4
-rw-r-----  1 mysql  mysql     18861 Jul 15 12:30 mysqld.log
drwxr-xr-x  2 root   root       4096 Jun 14 15:18 pm
drwxr-xr-x  2 root   root       4096 Jun 19 04:02 prelink
-rw-------  1 root   root          0 Jun 21 04:02 pureftpd.log
-rw-------  1 root   root      75757 Jun 18 10:23 pureftpd.log.1
-rw-r--r--  1 root   root      23727 Jul 28 04:02 rpmpkgs
-rw-r--r--  1 root   root      23697 Jul 25 04:02 rpmpkgs.1
-rw-r--r--  1 root   root      23697 Jul 18 04:02 rpmpkgs.2
-rw-r--r--  1 root   root      23325 Jul 11 04:02 rpmpkgs.3
-rw-r--r--  1 root   root      23325 Jul  4 04:02 rpmpkgs.4
-rw-r--r--  1 root   root          0 Jun 18 06:06 sa-update.log
-rw-------  1 root   root          0 Jul 26 04:02 secure
-rw-------  1 root   root          0 Jul 19 04:02 secure.1
-rw-------  1 root   root          0 Jul 12 04:02 secure.2
-rw-------  1 root   root          0 Jul  5 04:02 secure.3
-rw-------  1 root   root          0 Jun 28 04:02 secure.4
-rw-------  1 root   root          0 Jul 26 04:02 spooler
-rw-------  1 root   root          0 Jul 19 04:02 spooler.1
-rw-------  1 root   root          0 Jul 12 04:02 spooler.2
-rw-------  1 root   root          0 Jul  5 04:02 spooler.3
-rw-------  1 root   root          0 Jun 28 04:02 spooler.4
-rw-------  1 root   root          0 Jun 14 15:21 tallylog
-rw-rw-r--  1 root   utmp     159360 Jul 29 03:16 wtmp
-rw-r--r--  1 root   root      37653 Jul 26 23:59 yum.log
[root@apollo ~]#
a log rotation file is created every week, but the size stays zero, so nothing is logged in my opion. File is really empty, when opening with VI it's an empty file.
Reply With Quote