Re: How to recover from a system hang that trashed KDE contr…

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Fred Wright
Date:  
To: plug-discuss
Subject: Re: How to recover from a system hang that trashed KDE control file
At 12:35 PM 1/3/05, you wrote:
>At 12:37 AM 1/3/05, you wrote:
>>Am 02. Jan, 2005 schwätzte Fred Wright so:
>>
>> > Suse 9, KDE, User Session
>> >
>> > My system hung solid (no intervention session possible) running k3b
>> > requiring a system reset to get back in (I know, bad thing to do). After
>> > restart, the user session was not restartable because .DCOPserver_linux__0
>> > gets "permission denied" during X startup/login. You can login Mode 3 but
>>
>>Look for KDE related directories under /tmp and /var/tmp.
>>
>>$ ls -l /tmp/kde-lufthanspE7xzr/*
>>lrwxrwxrwx 1 lufthans lufthans 40 2004-12-27 23:12
>>/tmp/kde-lufthanspE7xzr/ksycoca ->
>>/var/tmp/kdecache-lufthansrqSqZt/ksycoca
>>
>>Login to a terminal console while not logged in via X and remove those
>>dirs.
>>
>><ctrl>-<alt>-<f1> to get to a console from X. <alt>-<f7> to get back to X.
>>
>>ciao,
>>
>>der.hans
>>
>> > you cannot even "ls" the user's Home directory as user without getting the
>> > "permission denied" message. Root can issue the "ls" and see the
>> > .DCOP....... file by name but cannot "rm" it or copy over it with last
>> > week's backup copy. I can see the permissions in the backup copy of the
>> > file to see what they should be in the "active" version.
>> >
>> > Any suggestions of how to change the "active" file permissions or
>> overwrite
>> > with the backup copy?
>>
>>--
>>#  https://www.LuftHans.com/    http://www.AZOTO.org/
>>#  HERE LIES LESTER MOORE
>>#  SHOT 4 TIMES WITH A .44
>>#  NO LES
>>#  NO MOORE
>>#        -- tombstone, in Tombstone, AZ
>>---------------------------------------------------
>>PLUG-discuss mailing list - 
>>To subscribe, unsubscribe, or to change  you mail settings:
>>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>==================================================
>I can remove/rename the entries in /tmp and /var/tmp but to no avail.

>
>Error setting up interprocess communications for KDE
>Could not read network connection list
>/home/fredw/.DCOPserver_linux__0
>Please check that the "dcopserver" program is running
>
>Using Knoppix, I get permission failures when I attempt "ls -a" or "ls -l"
>in my home directory.
>I will try to get a copy of the "startx" startup log entries as they seem
>to have more detailed information about the failure.


stdout from the startx
===============================================
XFree86 Version 4.3.0.1
Release Date: 9 May 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: SuSE Linux [ELF] SuSE
Build Date: 12 February 2004
         Before reporting problems, check http://www.XFree86.Org/
         to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
          (++) from command line, (!!) notice, (II) informational,
          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Mon Jan  3 19:16:08 2005
(==) Using config file: "/etc/X11/XF86Config"
Could not init font path element /usr/X11R6/lib/X11/fonts/local, removing 
from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/kwintv, removing 
from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID, removing 
from list!
xset:  bad font path element (#96), possible causes are:
     Directory does not exist or has wrong permissions
     Directory missing fonts.dir
     Incorrect font server address or syntax
xset:  bad font path element (#96), possible causes are:
     Directory does not exist or has wrong permissions
     Directory missing fonts.dir
     Incorrect font server address or syntax
Link points to "/tmp/ksocket-fredw"
Can not create file /home/fredw/.DCOPserver_linux__0: Permission denied
DCOPServer self-test failed.
kdeinit: DCOPServer could not be started, aborting.
Warning: connect() failed: : Connection refused
Can not create file /home/fredw/.DCOPserver_linux__0: Permission denied
DCOPServer self-test failed.
kdeinit: DCOPServer could not be started, aborting.
Could not register with DCOPServer. Aborting.
startkde: Shutting down...
Warning: connect() failed: : Connection refused
Error: Can't contact kdeinit!
startkde: Running shutdown scripts...
startkde: Done.


waiting for X server to shut down
===============================================
stdout from ls of /usr/X11R6/lib/X11/fonts
===============================================
total 104
drwxr-xr-x    2 root     root        79800 2004-01-23 22:02 75dpi
drwxr-xr-x    2 root     root          248 2004-01-23 22:02 CID <====
drwxr-xr-x    3 root     root         1416 2004-01-23 22:02 encodings
-rw-r--r--    1 root     root          205 2004-12-26 11:14 fonts.cache-1
drwxr-xr-x    2 root     root          216 2004-01-23 22:02 kwintv      <====
drwxr-xr-x    2 root     root          216 2004-01-23 22:02 local       <====
drwxr-xr-x    2 root     root        17792 2004-01-23 22:02 misc
drwxr-xr-x    2 root     root          504 2004-01-23 22:02 Speedo
drwxr-xr-x    2 root     root          984 2004-01-23 22:02 truetype
drwxr-xr-x    2 root     root         2056 2004-01-23 22:02 Type1
drwxr-xr-x    2 root     root          448 2004-01-23 22:02 uni
lrwxrwxrwx    1 root     root           28 2004-01-23 21:50 URW -> 
/usr/share/ghostscript/fonts
drwxr-xr-x    2 root     root          600 2004-01-23 22:03 util
===============================================


Jerry-
I am not seeing the file and soft link you described. An "ls -al" against
my HOME directory consistently fails and the inode is not available for the
same reason the listing entry fails.


--
Fred Wright
fawright-at-earthlink-dot-net