Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Every time I try to open a word document in LibreOffice 3.5, I get this error:

Either another instance of LibreOffice is accessing your personal settings or your personal settings are locked. Simultaneous access can lead to inconsistencies in your personal settings. Before continuing, you should make sure user ___ closes LibreOffice on host ___.

I've searched various forums in search of a remedy, but haven't found a solution.

Does anyone know how to resolve this?

share|improve this question

3 Answers 3

If you're absolutely sure libreoffice is not running, there's a .lock file in:
~/.config/libreoffice/3

Delete it to unlock your libreoffice settings for access.

A quick ps -A | grep soff should tell you if it's actually running.

share|improve this answer
    
OK. Thanks aking. I found the .lock file and got rid of it. I was able to open documents then but a few seconds after I try to print any document, the whole computer freezes and I have to restart it. Then there's another .lock file. any ideas on what might be causing that or a way to get an error report or something useful? Thanks again for your help –  Brad Apr 29 '12 at 7:42
2  
That last part is a bug and you should report it as such. –  hbdgaf Apr 29 '12 at 7:49
    
+1 for the process list grep. I assumed LibreOffice's process was named libre - something, and that's why I was unable to find it. –  BryanH Mar 5 '13 at 15:11
    
With libreoffice 4.x the path changes to ~/.config/libreoffice/4/.lock –  Ed Villegas Aug 27 '13 at 4:58

The important thing is the host-name, it should be the same with computer host-name.

I got same error after changing the host-name of my computer Instead of deleting the file, I was modified the file.

This is my example

[Lockdata]
User=teguh
Host=mypc020120001.mydomain <--- it was localhost.localdomain
Stamp=6277AA770908EE6C6E5BAB31537BA8BC
Time=Tue Jul  3 08:09:18 2012
IPCServer=true
share|improve this answer

The previous answer assumed some knowledge on the part of the user. This one adds some elaboration.

When an instance of LibreOffice is running a hidden file is set. This hidden file is called ".lock", the "." indicates it is normally hidden from view.

When you open a terminal window it will normally start in your home directory and will only show you files that have not been set to be hidden. The home directory is the directory you "own" and normally operate within unless, of course, you assume the persona of the administrator or another user. So if you type cd .config/libreoffice/3 it will take you to a directory folder, described by "~/.config/libreoffice/3"; the "~" indicating to the operating system you are referencing this command from the point of your home directory.

When you arrive in the folder "3" you will not be able to see the ".lock" file by typing a simple "ls" because, just like the ".config" folder, the ".lock" file is hidden from view. To see it, type "ls -al". This will reveal any hidden files in the listing.

To remove this file, once in the "3" folder, you type "rm .lock". After that you might like to type ls -al just to be sure the ".lock" file is no longer present.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.