NoOp wrote:
On 09/18/2008 12:57 PM, Verner Kjærsgaard wrote:
NoOp skrev:
On 09/18/2008 07:13 AM, Verner Kjærsgaard wrote:
Dear list,

- On SuSE11, OO version 2.4 (danish) will not launch anymore.
- it gives me a dialogbox that goes:

"The user interface language cannot be determined"

- you click OK, and nothing happens. I cannot start OO.

- I've looked the archives and done my google, found the problem but no solutions...

- anyone :-)


Ah, I recognize that one... it's a permission issue. See:
http://www.oooforum.org/forum/viewtopic.phtml?t=70331
[FIXED:The user interface language cannot be determined-Linux]


Hi list,

- sorry, but no. I found that one myself. It's not the culprit.
- anyway, I don't understand this, quote:

"Check the permissions on /opt/openoffice.org2.4/share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry and indeed, the perms on the entire openoffice.org2.4 directory tree. Ours was set to 751 and they should be 755. "

I understand fully the rights issue, but the directory is not there...anyhow I did a chown -R 755 on just about any OO dir I could find. No good.

If you actually did this and it took, you will need to be root to correct things.

chown 755 changes the OWNER of the file to 755, presumably a name in the passwd file. (Or a number assigned to a name. man passwd for more)


SO, as ROOT, change to dir where you did that and do this:

(that is: cd to wherever you did that ""chown -R 755"")

chown -R 786:261 the_directory_name
                 as in /opt/openoffice.org2.0
   OR
chown -R  your_login_name:your_group  the_directory_name
                 as in /home/me/openoffice.org2.0
(WHEREVER IT IS - is what you use for the top of the target)
If it is NOT in your directory, use the global (786:261) and the correct path.

THEN:

for f in `find . -print`
do
  if [ -d $f ]
  then
    chmod 755 $f
    echo Directory $f permissions fixed
  else
    chmod 444 $f
    echo "  file $f permissions fixed"
  fi
done


Next time you need to find openoffice (in UNIX) use:
cd /
find . -name "*openoff*" -print
( find space period space dash no-space name space double-quote no-space asterisk no-space openoff no-space asterisk no-space double-quote space dash no-space print <ENTER_KEY>
and wait for it )

norseman


Try to locate via:

$  locate registered_packages.db

Mine is 644 (-rw-r-r--)

Also I don't understand this, quote:

"$ cd ~
$ sudo chown --reference=. -R .openoffice.org2 (xxx)
$ sudo chmod -R 0755 .openoffice.org2 "

I'm not sure I do either. But make sure that everything in your
~/.openoffice.org2 folders are are owned by you and 0755 (drwxr-xr-x).
To do that use the chown recursive (-R) command to change. I use:

cd ~
sudo chown <username>:<usergroup> -R ~/.openoffice.org2
sudo chmod -R 0755 ~/.openoffice.org2

If you still have difficulties, I would recommend renaming
~/.openoffice.org to ~/x-.openoffice.org2-x and then purge and reinstall
OOo. That may be faster than trying to hunt down the permissions
problem, and it is a permissions problem w/nothing to do with language
settings etc. Renaming ~/.openoffice.org will allow OOo to set up a new
~/.openoffice.org on reinstallation, and if you have any special
settings in the old ~/x-.openoffice.org2-x you can then copy them back
into the new.



If you rename it and then run the uninstall, it will never find itself so it can't uninstall!

Uninstall and start over?  YES

norseman



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to