I recently had to stand in for a sysadmin at our company. I have some Linux/Unix knowledge, but not nearly enough to be comfortable in this spot, but that is only a part of the problem.
One of the servers I have to manage has developed an acute shortage of disk-space. Now I know there various web-services write their logs, and what each of those logs contain. There is however no well defined dating mechanism for these logs. Some of them contain just a months or a weeks amount of logs, some contain a years worth.
What is the worst thing, is that all of them have a .lck file. Now I can see, that there is only on, that has been recently modified (today) and that seems to be the current file.
My question is, is it safe to try and delete the .lck files for the older log files and archive them?
The log files are created by Java and log4j on a CentOS server.