spatel Posted July 22, 2003 Report Share Posted July 22, 2003 I am running out of space on my /var volume. Can someone help me? how can i change so my log file doesn't grow? Quote Link to comment Share on other sites More sharing options...
Guest dardack Posted July 22, 2003 Report Share Posted July 22, 2003 couldn't you just delete your old logs? Quote Link to comment Share on other sites More sharing options...
bvc Posted July 22, 2003 Report Share Posted July 22, 2003 Is cron, anacron, logrotate, etc....installed. Cron does it's jobs in the middle of the night. If you don't run your sys 24/7 and shutdown at night, install anacron. On a network? Need all that crap? I got lazy but I use to not run any of them and not run syslog/klog after the sys was stable and would just manually clear them myself once a week. Quote Link to comment Share on other sites More sharing options...
spatel Posted July 22, 2003 Author Report Share Posted July 22, 2003 my logfile for auth.log is .47GB messages is .32GB xfterog is.7GB is there any setting i need to do to over write the logfile after 30 days or so? I am very new to Mandrake. thanks Quote Link to comment Share on other sites More sharing options...
bvc Posted July 22, 2003 Report Share Posted July 22, 2003 [root@localhost home]# ls -lh /var/log/auth.log -rw-r----- 1 root adm 16K Jul 22 17:01 /var/log/auth.log [root@localhost home]# ls -lh /var/log/messages -rw-r----- 1 root adm 2.4M Jul 22 17:24 /var/log/messages You'll find great info here; http://www.mandrakeusers.org/docs.php Checkout the Scheduling, and System Services links.....and I really recommend installing anacron from the cd's like I just did (this is a new install after using other distros and upgrading MoBo/cpu/case/mem etc... :wink: ) [root@localhost home]# urpmi anacron Please insert the medium named "International CD (x86) (cdrom3)" on device [/dev/hdc] Press Enter when ready... installing /var/cache/urpmi/rpms/anacron-2.3-11mdk.i586.rpm Preparing... ################################################## 1:anacron ################################################## [root@localhost home]# Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.