Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

database lock when building first time? #27

Open
jacobSingh opened this issue Aug 24, 2017 · 1 comment
Open

database lock when building first time? #27

jacobSingh opened this issue Aug 24, 2017 · 1 comment
Assignees

Comments

@jacobSingh
Copy link

I followed the quickstart instructions, and I get this when indexing for the first time.

Cannot open lock file /home/jacob/.mairix_database.lock.13228.ip-172-30-2-219 for writing

Permissions are fine and am running as the user in question. No .mairix_* files are created

@vandry
Copy link
Collaborator

vandry commented Sep 5, 2017

I can't reproduce this and I don't think there should be any particular problem with the lock file upon first indexing. I would look for a local problem.

What is the value of the database= field in ~/.mairixrc ? I think it must be
database=/home/jacob/.mairix_database
in your case?

Are you able to create the file in question yourself with touch or something else?

Unfortunately mairix does not log the reason it was unable to open the file, which might have been helpful, but if you are running on Linux you might try using strace to find it:

strace -e trace=open,link mairix

What are the permissions on /home/jacob exactly? Are you sure mairix should be able to write to it?

@vandry vandry self-assigned this Sep 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants