V
V
vlarkanov2018-07-09 11:09:13
linux
vlarkanov, 2018-07-09 11:09:13

Why is the message run-parts: /etc/cron.daily/mlocate exited with return code 1 coming?

Hello!
I am using Proxmox 4.2.2.
For the last few days, every morning, an email with the text comes to the admin mail

run-parts: /etc/cron.daily/mlocate exited with return code 1

When manually running updatedb.mlocate I get
updatedb.mlocate: `/var/lib/mlocate/mlocate.db' is locked (probably by an earlier updatedb)

There is no mlocate in the list of processes. /var/lib/mlocate contains only mlocate.db and mlocate.db.i4vnfI files. The *.lock file is not there.
How to overcome the error?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2018-07-09
@jcmvbkbc

How to overcome the error?

Demolish mlocate to hell, because no one uses it.apt-get remove mlocate

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question