Apache OpenOffice (AOO) Bugzilla – Issue 1618
Cannot locate Configuration on start
Last modified: 2003-09-08 16:53:51 UTC
I just installed OpenOffice build 638 on my system (GLIBC 2.2.3, kernel 2.4.8, XFree86 4.1.0) It was installed in my home directory, as that user (/home/odd/OpenOffice.org638). When I try to execute the soffice binary (the symlink to program/soffice) found in the aforementioned directory, I get this failure message: $ ./soffice Unable to retrieve application configuration data: Cannot locate Configuration: Invalid user installationAborted It should be mentioned that all of the files are owned by the user which installed the software, and which is trying to run the software. I should also, perhaps, mentioned that I had problems with previous builds because I didn't have lpr stuff installed, and various relating commands. Of course, these shouldn't be a requirement (but that's a whole other bug!), but I managed to pass that with some touch'ing of files et cetera, et cetera. However, this looks like another problem...
Have you installed OOo 638 as user 'A' and started as user 'B'? Or have you used the parameter -net for installation? If YES you have made a network installation. Then you have to start the setup of /home/odd/OpenOffice.org638/program to get a workstation installtion.
Installed as user A, ran as user A. Did not use any parameters for the installer.
Next question:-) Do you have the file '.sversionrc'? If yes, is there an entry like: [Versions] OpenOffice.org 638=/home/odd/OpenOffice.org638? If not, try to edit this or create this file with an editor. This shouls help as a workaround. We try to find out why there is no .sversionrc on your computer.
~/.sversionrc is owned by root.root, and is executable. writable only by root. This is probably the reason -- I don't have OpenOffice around anymore, but I'll try when the next build comes out.
You've discribed that the installation was made by user 'A', how is does it come that your .sversionrc has root rights? The correct .sversionrc should be in the root of the users homedirectory. If it is somewhere OOo couldn't find it. This can't happen if you log in as user 'A' and start setup as user 'A'. Then this rc file was written in users homedirectory.
I don't know. I'd expect that file to have been created when respective user runs the program? I might have done "sudo soffice" in the past, but even this should still create the .sversionrc file in the root home directory, right? It can't be created during install, or cannot? (Previous installs I did as root, into /usr/local/openoffice/).
The .sversionrc was created by setup not by soffice. It was createn in the users home directory. Every user has to make its own setup for using OOo.
So how could it possibly be owned by root.root unless I changed it into that manually?
Thats my question for you! I don't know why this file is owned by root. I can't tell you, that's out of area of my crystal ball :-) We cannot imagine what must happen that a user makes an installation and one file of these installation has different rights. Login as user 'A', start setup, change to the installation, start soffice and the application will start.
Cannot reproduce.