Either another instance of LibreOffice is accessing your personal settings or your personal settings are locked
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?
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.
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
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.