FYIfanthom wrote:please run 'logrotate /etc/logrotate.conf' manually and check if the job is done.
Code: Select all
root@porteus:/home/guest# ls -al /var/log
total 4192
drwxr-xr-x 31 root root 340 Jan 21 12:12 ./
drwxr-xr-x 32 root root 160 Jan 21 11:24 ../
drwxr-xr-x 2 root root 60 Jan 21 11:24 ConsoleKit/
-rw-r--r-- 1 root root 389488 Jan 21 13:57 Xorg.0.log
-rw-r--r-- 1 root root 177296 Jan 21 12:12 Xorg.0.log.old
-rw-r--r-- 1 root root 42764 Dec 30 01:48 Xorg.1.log
-rw-r--r-- 1 root guest 42764 Dec 29 02:30 Xorg.1.log.old
-rw------- 1 root root 0 May 31 2013 btmp
-rw-r--r-- 1 root root 4828 Jan 21 11:24 cron
-rw-r--r-- 1 root root 238898 Jan 21 12:40 debug
-rw-r--r-- 1 root root 57641 Jan 18 12:49 debug.1.gz
-rw-r--r-- 1 root root 43216 Jan 21 11:24 dmesg
-rw-r--r-- 1 root root 0 Sep 13 2012 faillog
-rw-r--r-- 1 root root 11 Jan 19 02:22 internet
-rw-r--r-- 1 root root 292292 Dec 30 00:44 lastlog
-rw-r--r-- 1 root root 0 Oct 20 2010 maillog
-rw-r--r-- 1 root root 1111725 Jan 21 13:52 messages
-rw-r--r-- 1 root root 461861 Jan 18 12:50 messages.1.gz
drwxr-xr-x 2 root root 3 May 16 2001 nfsd/
drwxr-xr-x 2 root root 113 Jul 19 2013 packages/
-rw-r--r-- 1 root root 2050 Jan 21 12:40 pm-powersave.log
-rw-r--r-- 1 root root 6583 Jan 21 12:40 pm-suspend.log
-rw-r--r-- 1 root root 847 Jan 21 11:24 porteus-livedbg
drwxr-xr-x 2 root root 3 Jan 4 2012 removed_packages/
drwxr-xr-x 2 root root 3 Jan 4 2012 removed_scripts/
drwxr-xr-x 2 root root 3 May 3 2012 scripts/
-rw-r--r-- 1 root root 37671 Jan 21 12:29 secure
drwxr-xr-x 4 root root 26 Jan 4 2012 setup/
-rw-r--r-- 1 root root 3359 Jan 21 12:12 slim.log
-rw-r--r-- 1 root root 0 Oct 20 2010 spooler
-rw-r--r-- 1 root root 636557 Jan 21 13:57 syslog
-rw-r--r-- 1 root root 31712 Jan 21 12:40 wpa_supplicant.log
-rw-r--r-- 1 root root 660864 Jan 21 11:24 wtmp
root@porteus:/home/guest# logrotate /etc/logrotate.conf
error: /etc/logrotate.conf:31 duplicate log entry for /var/log/wtmp <---- !! ??
root@porteus:/home/guest# ls -al /var/log
total 1608
drwxr-xr-x 31 root root 420 Jan 21 13:59 ./
drwxr-xr-x 32 root root 160 Jan 21 11:24 ../
drwxr-xr-x 2 root root 60 Jan 21 11:24 ConsoleKit/
-rw-r--r-- 1 root root 396370 Jan 21 13:59 Xorg.0.log
-rw-r--r-- 1 root root 177296 Jan 21 12:12 Xorg.0.log.old
-rw-r--r-- 1 root root 42764 Dec 30 01:48 Xorg.1.log
-rw-r--r-- 1 root guest 42764 Dec 29 02:30 Xorg.1.log.old
-rw------- 1 root root 0 May 31 2013 btmp
-rw-r--r-- 1 root root 4828 Jan 21 11:24 cron
-rw-r--r-- 1 root root 238898 Jan 21 12:40 debug
-rw-r--r-- 1 root root 57641 Jan 18 12:49 debug.1.gz
-rw-r--r-- 1 root root 43216 Jan 21 11:24 dmesg
-rw-r--r-- 1 root root 0 Sep 13 2012 faillog
-rw-r--r-- 1 root root 11 Jan 19 02:22 internet
-rw-r--r-- 1 root root 292292 Dec 30 00:44 lastlog
-rw-r--r-- 1 root root 0 Oct 20 2010 maillog
-rw-r--r-- 1 root root 48 Jan 21 13:59 messages
-rw-r--r-- 1 root root 173827 Jan 21 13:52 messages.1.gz
drwxr-xr-x 2 root root 3 May 16 2001 nfsd/
drwxr-xr-x 2 root root 113 Jul 19 2013 packages/
-rw-r--r-- 1 root root 2050 Jan 21 12:40 pm-powersave.log
-rw-r--r-- 1 root root 6583 Jan 21 12:40 pm-suspend.log
-rw-r--r-- 1 root root 847 Jan 21 11:24 porteus-livedbg
drwxr-xr-x 2 root root 3 Jan 4 2012 removed_packages/
drwxr-xr-x 2 root root 3 Jan 4 2012 removed_scripts/
drwxr-xr-x 2 root root 3 May 3 2012 scripts/
-rw-r--r-- 1 root root 37671 Jan 21 12:29 secure
drwxr-xr-x 4 root root 26 Jan 4 2012 setup/
-rw-r--r-- 1 root root 3359 Jan 21 12:12 slim.log
-rw-r--r-- 1 root root 0 Oct 20 2010 spooler
-rw-r--r-- 1 root root 0 Jan 21 13:59 syslog
-rw-r--r-- 1 root root 56534 Jan 21 13:57 syslog.1.gz
-rw------- 1 root root 0 Jan 21 13:59 wpa_supplicant.log
-rw-r--r-- 1 root root 561 Jan 21 12:40 wpa_supplicant.log.1.gz
-rw-r--r-- 1 root root 0 Jan 21 13:59 wtmp
-rw-r--r-- 1 root root 19479 Jan 21 11:24 wtmp.1.gz
root@porteus:/home/guest#