The application cannot be strarted

I have been unable to open libreoffice since I installed Fedora 16. Whenever I try to start it as a regular user I get the following:

“The application cannot be started. A general error occurred while accessing your central configuration.”

I’v tried removing all possible offending directories (~/.libreoffice, ~/.openoffice etc) and uninstalling and reinstalling as suggested in many forums devoted to this problem. Nothing seems to work.

It does work when I start libreoffice as root.

I’m running kernel 3.3.2-6.fc16.x86_64, and libreoffice (the latest with yum from updates repo). But this happened with all previous versions of the kernel and libreoffice.

I would appreciate your help.
Thank you,

Thanks, Mick0! Your suggestion on Aug 7 did solve the problem. I had DATA set in my environment. Unsetting it, did the trick.

The config files for 3.5 are in ~/.config/libreoffice/ . You might want to try to move this to a temp directory and then start libreoffice again. See if that helps.

Thanks, thuswa for the reply. I see no libreoffice directory in ~/.config. I did a complete un-install of all libreoffice components, then did a ‘find’ for all folder/files containing libreoffice (or similar) and removed everything. Then reinstalled the latest libreoffice available. Nothing.

I noticed the same on a RHEL6.2 64-bit box running kernel 2.6.32-220.13.1.el6.x86_64 and libreoffice 3.4.5. An strace shows that it appears to fail on connecting to a socket located in /tmp/.X11-unix/X0 - permissions on that socket on this particular system is 777 however. Some of the pertinent logs:

socket(PF_FILE, SOCK_STREAM, 0) = 6

connect(6, {sa_family=AF_FILE, path=@"/tmp/.X11-unix/X0"}, 20) = 0

getpeername(6, {sa_family=AF_FILE, path=@"/tmp/.X11-unix/X0"}, [20]) = 0

A bit further down, I see:

poll([{fd=6, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=6, revents=POLLOUT}])

writev(6,[{"8\2\4\0\2\0\240\5\4\0\0\0\322\317\316\0C\0\5\0\1\0\240\5\2\0\240\5\244\0\341\0"..., 72}, {NULL, 0}, {"", 0}], 3) = 72

read(6, 0x911414, 4096) = -1 EAGAIN (Resource temporarily unavailable)

read(6, 0x911414, 4096) = -1 EAGAIN (Resource temporarily unavailable)

so it appears to fail on fd6. Anyone else able to confirm this?

If you can run ‘xclock’ and get a clock, there is no problem with X.

Also - this EAGAIN is not per-se an error, it just means there is no data to read

Drat - keep submitting by mistake; can you mail me a link to / your full compressed strace and/or file a bug containing that. Clearly we should start - whatever the setup, or give a friendly error of some sort. Do you get an error on the console of any kind ?

Full strace on - will expire in 24 hours. The issue appears to be profile-specific.

I have found a solution that at least works for me. It turns out that if the environmental variable $DATA is set (for purposes other than LibreOffice), it fails. If $DATA is unset, the application starts just fine.