A client called to ask for help with a server. I logged into the server and found that it was using all available disk space. Poked around a little and found that their messages file had NEVER been rotated (390,000,000+ lines) explained that to their IT guy and he promptly deleted the file.
The server is now running fine but is not writing a new messages file. A reboot is not an option until after business hours (server is doing voip for them). I am no expert with Gentoo but is there a way to have it create and write to the /var/log/messages file without a reboot after someone deletes it?
uname -a output
Linux MB-VoIP 2.6.24-gentoo-r7 #4 SMP Tue Nov 25 12:28:56 CST 2008 i686 Intel(R) Pentium(R) Dual CPU E2200 @ 2.20GHz GenuineIntel GNU/Linux
cat /etc/gentoo-release
Gentoo Base System release 1.12.11.1
[link][18 comments]