LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-19-2006, 12:44 AM   #1
marekjs
LQ Newbie
 
Registered: Sep 2002
Location: Poland
Distribution: slackware
Posts: 26

Rep: Reputation: 15
Question OOo and problem with UIDs...


Hello.

I know, this problem regards to the OpenOffice forums, but...not necessarily...
I've very weird problem:
Sometimes, my OOo locks. When I try to start soffice, swriter.... I
can't: some seconds mixing my HDD and silence.
Well. I change the user id (UID) to different - it's start normally.
But, when I try the previous UID - I can't start OOo again.
I've locked 2 UIDs from OOo. It's good to have lot of UIDs into the
linux, but it isn't the good way to change every time UIDs to start OOo.

Any suggestion?
 
Old 04-19-2006, 01:56 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I don't understand what you mean by having a lot of user id's. If you create a new user, on the other hand, and this user doesn't have the same problems, then it sounds like your configurations are mucked up somehow.

Simply changing your UID could cause problems because your own files will have permissions for another user. If you've been doing this, changing your UID without using chown on all your personal ooo configuration files could be the reason that ooo is locking up for you.

You might look at the ownership and permissions of all of the files in $HOME/.ooo-2.0-pre/

Last edited by jschiwal; 04-19-2006 at 02:00 AM.
 
Old 04-19-2006, 02:18 AM   #3
marekjs
LQ Newbie
 
Registered: Sep 2002
Location: Poland
Distribution: slackware
Posts: 26

Original Poster
Rep: Reputation: 15
Unhappy

Quote:
Originally Posted by jschiwal
I don't understand what you mean by having a lot of user id's. If you create a new user, on the other hand. And this user doesn't have the same problems, then it sounds like your configurations are mucked up somehow.

Simply changing your UID could cause problems because your own files will have permissions for another user. If you've been doing this, changing your UID without using chown on all your personal ooo configuration files could be the reason that ooo is locking up for you.
...
OK. Step by step:
- ex. I've UID=1000, I can't start any progs from OOo
- I change UID to 1001, chown -R on my /home/user dirs and files, OOs starts normaly...
- after some days (sometime weeks, months...) on UID=1001 , my OOo crashes again, no chance to start any apps from OOo
- I change to UID=1003, no problems, OOs starts again
- But , when I can change UIDs to previously used (1000, 1001) to check, that is OK or NOT, my system remembers the blockage of OOo
- root can starts every apps from OOo without problem, but I use root's account not sporadic, (I use sudo su on normal accounts). But when my system will do this on UID=0 (it's possible), what will be next UID for root ?
- I haven't any messages when I start apps from OOo under X
- No infos in logs...
It isn't the problem with permissions on folders, because I chowned OOo dirs to ex. user.users, all libs into usr, kde too.

Anywhere, my system holds information what are relations between OOo and UIDs..., the question is: where...

Last edited by marekjs; 04-19-2006 at 02:20 AM.
 
Old 04-21-2006, 11:25 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I would recommend creating a new user and logging in as that user. Then compare the configurations for ~/.ooo-2.0-pre/ for both users. Also check for differences in ~/.kde that might account for the reasong OpenOffice doesn't start.

Also, start OpenOffice from the shell and note any messages that come up. Try to determine the reason that it doesn't start and fix that.

When you changed your UID, you probably didn't catch all of your user files, such as in /var/tmp/, /tmp/, and the mail cache. These items were then created anew after you changed your UID.

You might also consider logging off, log in as root in the console (init level 3 -- no x windows) and clear out any /tmp files owned by your user name(s). Maybe even clear out /var/tmp/ files that you own also. This might clear out a lot of garbage. Also clear out files owned by your old UIDs:

Using the find command can help locate these files, for example finding your old uid=1000 files and your current ones if your user name is "marekjs"
find /tmp -uid 1000"
find /tmp -user marekjs

Last edited by jschiwal; 04-21-2006 at 11:32 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: OOo Off the Wall: The Elephant in the Living Room -- OOo and MS Office LXer Syndicated Linux News 0 02-06-2006 12:01 PM
Problem with OOo 2.0 macondo Arch 12 01-07-2006 08:21 PM
OOo BASIC problem kovard Linux - Software 2 11-08-2004 11:08 AM
Problem making PDF from OOO gmichel Linux - Newbie 5 01-18-2004 08:14 PM
Help with UIDs please :) gponto18 Linux - Newbie 5 10-22-2002 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration