Ask Your Question
0

The application cannot be strarted. [closed]

asked 2012-04-30 23:13:00 +0100

eldieguisimo gravatar image

updated 2015-10-17 16:19:32 +0100

Alex Kemp gravatar image

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 3.4.5.2-12 (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,

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-17 16:20:03.923362

Comments

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

eldieguisimo gravatar imageeldieguisimo ( 2012-08-22 20:10:40 +0100 )edit

3 Answers

Sort by » oldest newest most voted
0

answered 2012-08-07 20:08:07 +0100

MickO gravatar image

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.

edit flag offensive delete link more
0

answered 2012-07-20 15:59:04 +0100

MickO gravatar image

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?

edit flag offensive delete link more

Comments

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

Michael Meeks gravatar imageMichael Meeks ( 2012-07-20 16:28:34 +0100 )edit

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

Michael Meeks gravatar imageMichael Meeks ( 2012-07-20 16:28:54 +0100 )edit

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 ?

Michael Meeks gravatar imageMichael Meeks ( 2012-07-20 16:29:40 +0100 )edit

Full strace on http://pastebin.com/Epzu8RUa - will expire in 24 hours. The issue appears to be profile-specific.

MickO gravatar imageMickO ( 2012-07-20 21:30:04 +0100 )edit
0

answered 2012-05-01 13:06:13 +0100

thuswa gravatar image

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.

edit flag offensive delete link more

Comments

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.

eldieguisimo gravatar imageeldieguisimo ( 2012-05-02 16:55:43 +0100 )edit

Question Tools

1 follower

Stats

Asked: 2012-04-30 23:13:00 +0100

Seen: 2,323 times

Last updated: Aug 07 '12