Issue 1618 - Cannot locate Configuration on start
Summary: Cannot locate Configuration on start
Status: CLOSED FIXED
Alias: None
Product: Installation
Classification: Application
Component: code (show other issues)
Version: 638
Hardware: PC Linux, all
: P2 Trivial (vote)
Target Milestone: ---
Assignee: Olaf Felka
QA Contact: issues@installation
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-04 21:04 UTC by Unknown
Modified: 2003-09-08 16:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2001-09-04 21:04:46 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...
Comment 1 Olaf Felka 2001-09-05 09:03:09 UTC
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.
Comment 2 Unknown 2001-09-05 09:07:32 UTC
Installed as user A, ran as user A.

Did not use any parameters for the installer.
Comment 3 Olaf Felka 2001-09-05 11:12:27 UTC
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.
Comment 4 Unknown 2001-09-05 13:56:56 UTC
~/.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.
Comment 5 Olaf Felka 2001-09-05 14:14:38 UTC
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.
Comment 6 Unknown 2001-09-05 14:18:56 UTC
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/).
Comment 7 Olaf Felka 2001-09-05 14:42:31 UTC
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.
Comment 8 Unknown 2001-09-05 15:50:17 UTC
So how could it possibly be owned by root.root unless I changed it
into that manually?
Comment 9 Olaf Felka 2001-09-06 10:45:11 UTC
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.
Comment 10 Olaf Felka 2001-11-14 17:08:58 UTC
Cannot reproduce.