Wolvix Forums
August 01, 2010, 02:21:42 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: The Wolvix Wiki needs your help!!
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: SLiM log file problem  (Read 2033 times)
Wolven
Administrator
Werewolf
*****
Posts: 1472



View Profile WWW
« on: May 01, 2008, 08:37:54 PM »

xbj9000/Dr.Ninethousand has pointed out that the Slim package does not create a logrotate entry. So each time X loads the log file (/var/log/slim.log) grows - till it reaches 2GB and SLiM becomes non-functional.  Fix here.
« Last Edit: August 12, 2008, 06:15:49 PM by Wolven » Logged

Give a man Debian, and he'll learn Debian. Give a man SUSE, and he'll learn SUSE. But give a man Slackware, and he'll learn Linux
Dr.Ninethousand
Wolf Cub
*
Posts: 1


View Profile
« Reply #1 on: May 01, 2008, 05:45:53 PM »

Hi, thanks for posting this in my absence, I hope it helps

   :p
Logged
rhomp2002
Delta Wolf
**
Posts: 81


View Profile
« Reply #2 on: August 12, 2008, 02:13:47 AM »

If you click on the fix here, it brings you right back to the current posting.  It does not take you to the fix.
Logged
Wolven
Administrator
Werewolf
*****
Posts: 1472



View Profile WWW
« Reply #3 on: August 12, 2008, 06:03:39 PM »

Thanks for pointing out the broken link, it must have disappeared in the forum conversion. I can't find the link again, but the solution is to make a log rotation for the SLiM log. Here's how:

Save the code below as /etc/logrotate.d/slim

Code:
/var/log/slim.log {
compress
rotate 1
size=+1024k
notifempty
missingok
copytruncate
noolddir
}

EDIT: I found the link, and I've fixed it.
« Last Edit: August 12, 2008, 06:14:27 PM by Wolven » Logged

Give a man Debian, and he'll learn Debian. Give a man SUSE, and he'll learn SUSE. But give a man Slackware, and he'll learn Linux
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!