Update database for mlocate.
Read locate lib files.
Domain allowed access.
Create the locate log with append mode.