Problem with syslog

Started by kira.mizuky, September 22, 2012, 07:30:43 AM

Previous topic - Next topic


hi BB user n admin
1. why i can't find the syslog.conf on my BB system...
2. i've got some problem with 2 files on /var/log, they'r syslog.1 n kern.log...their size r 18.5Gb so tottal size for them(syslog.1 n kern.log) r to fix it?

sorry if my english so bad


1) backbox uses rsyslog as logging system (/etc/rsyslog.d/50-default.conf), if you'd like to use syslog you have to install it (syslog-ng), and see syslog.conf....
2) check/post what those logs contains, you might have something wrong over the system. I don't think this anything to do with syslog as it does only its duty, logging whatever comes across the system at OS and kernel level.
3) you can get rid those files once you know what they contains
  - tailf -f /var/log/syslog  (and see if there are lots of logs scrolling)
  - tail -200 /var/log/syslog (and past somewhere, link here to see)
  - dmesg of your system
  - ls -lt /var/log/syslog* (to see for how long those file being generated)


but i was delete them (syslog.1 n kern.log--not syslog but syslog.1--) for their directory /var/log/
is it danger for my BB system?


Hi kira.mizuky,

Removing lof files time to time it's ok, but, (hope not) when you have some problems with packages etc.. error logs can give you the reponse. And, when you delete them, new logo files will be made, no need to worry about.

Don't ask, read :
or just run sudo rm -rf /*


@All: Ok, thanks for the explanation.
this makes me learn more