LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-05-2005, 01:57 AM   #1
fobius
Member
 
Registered: Sep 2003
Location: California
Distribution: Slackware 14.2
Posts: 95

Rep: Reputation: 15
cleaned up /tmp now can't get into kde


hey guys,

i recently had a problem where I was unable to update my packages using swaret because /tmp had become too full. So looking around, it seemed like a good idea at the time to just remove the stuff in /tmp. But after I did that, I can't seem to startx anymore or use vi among other things. Is there any way to recover from this?

thanks
 
Old 01-05-2005, 02:01 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
what errors u r getting??
please post them....

regards
 
Old 01-05-2005, 01:10 PM   #3
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Does this persist across reboots? I wonder because I frequently use the following commands and have no problems.

Code:
cd /tmp
rm -r *
rm -r .*
reboot
Does that work for you?
 
Old 01-05-2005, 11:03 PM   #4
fobius
Member
 
Registered: Sep 2003
Location: California
Distribution: Slackware 14.2
Posts: 95

Original Poster
Rep: Reputation: 15
hey guys,

I tried what you suggested shilo, and I still am unable to start kde. If I try to start kde, I get an error message saying that /tmp is too full, although there's nothing in it. If I try and use vi, I get an error message saying "blkopen's read failed." How do I let the system know that /tmp is available?

Also, I installed kde in a separate partition, /opt

Thanks
 
Old 01-05-2005, 11:38 PM   #5
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
If vi isn't working you might have done some damage to your system. Have you deleted /tmp itself?
 
Old 01-05-2005, 11:53 PM   #6
fobius
Member
 
Registered: Sep 2003
Location: California
Distribution: Slackware 14.2
Posts: 95

Original Poster
Rep: Reputation: 15
Nope...even when I try to start firefox, I get an error about a bad resource request...is it time for a reinstall?
 
Old 01-06-2005, 01:39 AM   #7
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
leonscape asks the good question: did you delete /tmp itself, i.e. did you do a "rm -rf /tmp" ?
 
Old 01-06-2005, 01:41 AM   #8
fobius
Member
 
Registered: Sep 2003
Location: California
Distribution: Slackware 14.2
Posts: 95

Original Poster
Rep: Reputation: 15
nope..
 
Old 01-06-2005, 02:25 AM   #9
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Did you try as root :
chmod ugo+rxwt /tmp

Last edited by Cedrik; 01-06-2005 at 02:28 AM.
 
Old 01-06-2005, 10:35 AM   #10
fobius
Member
 
Registered: Sep 2003
Location: California
Distribution: Slackware 14.2
Posts: 95

Original Poster
Rep: Reputation: 15
hmm i haven't tried that yet but I tried listing to permission of /tmp, which was drwxrwxrwxt, still same problem..
 
Old 01-06-2005, 04:53 PM   #11
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
what does "df" give you for free space?

EDIT: also, did you try doing "swaret --purge" ?

Last edited by Genesee; 01-06-2005 at 04:55 PM.
 
Old 01-06-2005, 11:55 PM   #12
jimbob1234
LQ Newbie
 
Registered: Nov 2003
Distribution: Slackware Current
Posts: 21

Rep: Reputation: 15
I did the same thing, starting KDE as root fixed things for me. I hope it does the same for you.
 
Old 01-07-2005, 01:08 AM   #13
fobius
Member
 
Registered: Sep 2003
Location: California
Distribution: Slackware 14.2
Posts: 95

Original Poster
Rep: Reputation: 15
Hey guys,

Thanks for all the suggestions. Interestingly enough, when I do
Code:
df
It shows that / is 100% even though I cleared tmp. I can't provide the output since I can't start X pretty much. I tried to start KDE as root and I got a message saying that xauthority couldn't be found. I even deleted /tmp and recreated it, setting on permissions as Cedrik suggested, still no luck, KDE still complains that /tmp is out of space.

I rebooted into Mandrake and ran fsck on /dev/hda1 (where Slack is installed) and that didn't help either

Last edited by fobius; 01-07-2005 at 02:09 AM.
 
Old 01-07-2005, 06:18 AM   #14
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Try :
mkdir /tmp/.X11-unix
mkdir /tmp/.ICE-unix

chmod -R ugo+rxwt /tmp
 
Old 01-07-2005, 09:50 AM   #15
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
Quote:
Originally posted by fobius
Hey guys,
It shows that / is 100% even though I cleared tmp. I can't provide the output since I can't start X pretty much. I tried to start KDE as root and I got a message saying that xauthority couldn't be found. I even deleted /tmp and recreated it, setting on permissions as Cedrik suggested, still no luck, KDE still complains that /tmp is out of space.
Hi fobius -

you will have problems starting X/WM if there's really no space on the device - did you check to make sure swaret wasn't retaining all the d/l'ed packages? run it with the "--purge" option to see if that helps. if not, check that the space isn't being used elsewhere, inside /var would be a good place to start, using "du -h". I'm not sure on this, but kde may be referring to another tmp directory? - there are several possibilities, but that will depend on your system so try looking around....
 
  


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
tmp full- KDE won't start Trio3b Mandriva 2 11-04-2005 09:02 AM
Cleaned up colinstu General 1 06-17-2005 03:46 PM
kde, /tmp, /var/tmp and all that garba Linux - Software 4 06-17-2005 12:31 PM
Owner of file /tmp/.ICE-unix in Kde Gui (Redhat9) francio Linux - Newbie 0 07-28-2004 06:06 PM
Numerous scb_*.tmp files in /tmp dburk Programming 3 08-18-2003 04:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:05 PM.

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