Hello, dear community.
I have an issue with the AOO on a Linux machine.
When I launch it from the console using soffice command, I get an error message "OpenOffice 4.1.10 - Fatal Error - The application cannot be started. A general error occurred while accessing your central configuration."
It only happens when using a non-root user. With root, it opens without any issues.
Launching AOO from the GUI (Applications menu) works with root and non-root users.
I believe it has to do something with permissions as it works with root and not with a regular user?
The error message:
Your help will be appreciated.
Thank you in advance,
Michael.
[Solved] Fatal Error on opening OpenOffice
[Solved] Fatal Error on opening OpenOffice
Last edited by Hagar Delest on Wed Mar 08, 2023 11:12 am, edited 1 time in total.
Reason: tagged solved.
Reason: tagged solved.
OpenOffice 4.1.10 on Red Hat Enterprise Linux Server release 7.9
Re: Fatal Error on opening OpenOffice
~/.openoffice/ must be readable and writable by the user. This is the user's configuration, templates, scripts, dictionaries etc.
The program folder /opt/openoffice4/ must be world readable.
The program folder /opt/openoffice4/ must be world readable.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: Fatal Error on opening OpenOffice
Thank you for your reply.
I checked the ~/.openoffice folder, it has rwx permissions for the user. I even renamed it to .old and tried to launch OpenOffice, the folder was re-created but the error still persist.
I also check the /opt/openoffice4 folder. It had rwxr-xr-x root:root, I changed to rwxrwxrwx root:domain users and the error still pops up.
OpenOffice 4.1.10 on Red Hat Enterprise Linux Server release 7.9
- Hagar Delest
- Moderator
- Posts: 32692
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: Fatal Error on opening OpenOffice
If it works fine from the GUI and not from the shell, then the smoking gun may be in the shell configuration. Any issue with another application launched from the shell?
Note: can't see the screenshot due to corporate filtering. Uploading it would be better.
Note: can't see the screenshot due to corporate filtering. Uploading it would be better.
LibreOffice 24.2 on Xubuntu 24.04 and 7.6.4.1 portable on Windows 10
Re: Fatal Error on opening OpenOffice
Hi Hagar
No, I haven't encountered any problems with other applications.
The only way it works from the shell is when I launch OpenOffice with the root user or run as root (sudo soffice).
I uploaded the screenshot of the error message.
Thanks.
No, I haven't encountered any problems with other applications.
The only way it works from the shell is when I launch OpenOffice with the root user or run as root (sudo soffice).
I uploaded the screenshot of the error message.
Thanks.
- Attachments
-
- AOO.png (21.2 KiB) Viewed 4077 times
OpenOffice 4.1.10 on Red Hat Enterprise Linux Server release 7.9
- Hagar Delest
- Moderator
- Posts: 32692
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: Fatal Error on opening OpenOffice
So, if I understand correctly, when you launch other applications from a shell, they work.
I don't see what could be wrong, I haven't found any topic related to a "central configuration" issue in the Linux section of the forum.
Have you tried the Red Hat forums?
I don't see what could be wrong, I haven't found any topic related to a "central configuration" issue in the Linux section of the forum.
Have you tried the Red Hat forums?
LibreOffice 24.2 on Xubuntu 24.04 and 7.6.4.1 portable on Windows 10
Re: Fatal Error on opening OpenOffice
Yes, they work without any problem. Tried to launch FileZilla, Chrome, Firefox, no issues.
No, I didn't try the Red Hat forum yet...
Could it be related somehow to the VNC Viewer I'm using for the GUI interface?
Maybe a session display or something...
No, I didn't try the Red Hat forum yet...
Could it be related somehow to the VNC Viewer I'm using for the GUI interface?
Maybe a session display or something...
OpenOffice 4.1.10 on Red Hat Enterprise Linux Server release 7.9
- Hagar Delest
- Moderator
- Posts: 32692
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: Fatal Error on opening OpenOffice
I ran another search and found 2 interesting links:
- [Solved] General error occurred accessing central config
- The application cannot be strarted (adapt it to AOO)
- [Solved] General error occurred accessing central config
- The application cannot be strarted (adapt it to AOO)
LibreOffice 24.2 on Xubuntu 24.04 and 7.6.4.1 portable on Windows 10
Re: Fatal Error on opening OpenOffice
You are the BEST!!!Hagar Delest wrote: ↑Tue Mar 07, 2023 10:14 pm I ran another search and found 2 interesting links:
- [Solved] General error occurred accessing central config
- The application cannot be strarted (adapt it to AOO)
Unsetting the $DATA variable did the trick!!
The variable was DATA=/data and now it's DATA=
Not sure why and how it affects OpenOffice but you cannot argue with facts
I'm sure this thread will be useful for others as well.
Thanks again!
Michael.
OpenOffice 4.1.10 on Red Hat Enterprise Linux Server release 7.9