LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-12-2005, 05:46 PM   #1
blames
LQ Newbie
 
Registered: Oct 2004
Location: Boulder, Co
Distribution: Redhat WS4
Posts: 17

Rep: Reputation: 0
I accidentally erased /tmp directory..xserver no longer works(FC2)


so I stupidly erased my /tmp directory thinking it was a tmp directory in another folder. I've heard that xserver saves items in the tmp dir in order to access fonts and such. does anyone know how to reconfigure xserver (or will that even help my problem?)?. Maybe I need to reinstall FC2... Last resort though. Does anyone have any idea what I could do to get back all the files that were needed in my tmp dir...??

thank you very much,
blaine
 
Old 01-12-2005, 06:36 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
If you can boot to the command prompt, login as root and mkdir /tmp
Then reboot (exit then alt+ctrl+del)
 
Old 01-12-2005, 06:45 PM   #3
blames
LQ Newbie
 
Registered: Oct 2004
Location: Boulder, Co
Distribution: Redhat WS4
Posts: 17

Original Poster
Rep: Reputation: 0
I've done that... When I reboot the xserver won't load and my tmp dir is empty. I think the xserver had a file in there that it used to load up...I get an error in my xorg.log file that states that it cannot find the unix/:7100 server.. no fonts????
 
Old 01-12-2005, 07:34 PM   #4
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
One other thing to do:
chmod 1777 /tmp

I'm no expert, but it sounds like the error you mention is probably a socket/queue/pipe/whatever into a font server. If the font server daemon is already running, then it's not going to recreate that socket. Do the chmod above and reboot. Nothing in the /tmp directory is supposed to be permanent. That being the case, sockets are created when a process is launched to allow other process to communicate. Again, take that with a grain of salt, because I'm not an expert in the whole inter-process communication thing. It would seem pretty stupid to expect a permanent file inside a filesystem tree named "tmp".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Command No Longer Works carlosinfl Debian 2 11-02-2005 01:40 PM
help, accidentally deleted /root directory ahimsel08 Linux - Software 6 07-01-2004 02:02 AM
CD-RW drive no longer works wmeler Linux - Hardware 8 02-27-2004 02:07 PM
accidentally rm -fr in root (/) directory Under Fire Linux - Newbie 2 11-15-2003 10:03 PM
/tmp directory Bobmeister Linux - General 3 06-01-2003 04:32 PM


All times are GMT -5. The time now is 12:50 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration