I ran out of disk space, so I expanded the partition, grew the file system, confirmed the free space and restarted the server. However, graylog-server will not start.
I get the following error in the error log, followed by a stack trace:
2018-05-29T14:00:54.726-04:00 ERROR [LogManager] There was an error in one of the threads during logs loading: java.lang.IllegalArgumentException 2018-05-29T14:00:54.737-04:00 INFO [InputBufferImpl] Message journal is enabled. 2018-05-29T14:00:54.743-04:00 ERROR [KafkaJournal] Unable to start logmanager. kafka.common.KafkaException: Failed to acquire lock on file .lock in /var/lib/graylog-server/journal. A Kafka instance in another process or thread is using this directory.
I have tried deleting the .lock file, but that doesn’t help. What else should I do?
I’m running 2.4.5 on Ubuntu 16.04.4 LTS