Help - Search - Members - Calendar
Full Version: Tmp Directory Problems
Linuxhelp > Support > Technical Support
linuxinit
when i try to start kde or anything like that such as x or something...i get errors that the tmp directory cant be written to or is full. What do i need to do to be able to use kde or x or anything but a console. email me if you can help or need more information. admin@linuxinit.50free.net thanks..

linuxinit
linuxinit
im in a bind...
im stuck at the command line. i am running debian with
gnome and kde (both of which wont open). it says "starting k desktop manager
done" and lots of other confirmations but some of them say that the
directory cant be found. i have tried "exec gnome-session" but it says:

------------------------------------------------------------------------------------------------------
Gtk-WARNING **: cannot open display:
_IceTransSocketUnixCreateListener: mkdir(/tmp/.ICE-unix) failed, errno = 2
_IceTransMakeAllCOTSServerListeners: failed to create listner for local

**WARNING**: Cannot establish any listening sockets
-------------------------------------------------------------------------------------------------------
then im sent back to the login prompt if i try "startkde" then i get this:

-------------------------------------------------------------------------------------------------------
xsetroot: unable to open display ' '
xset: unable to open display ""
xset: unable to open display ""
xset: unable to open display ""
Error: Can not create directory "/tmp/kde-root".
Error: Can not create directory "/tmp/kde-rootBEJPtI".
Error: Can not create directory "/tmp/ksocket-root".
Error: Can not create directory "/tmp/ksocket-rootucPHDJ".
ksplash: cannot connect to X server
kdeinit: Aborting. $DISPLAY is not set.
Warning: connect() failed: : No such file or directory
The following installation problem was detected
while trying to start KDE:

Writing to the temp directory (/tmp) failed with
the error 'No such file or directory'

KDE is unable to start.
ksmserver: cannot connect to X server
Error: Can't open display
Warning: connect() failed: : No such file or directory
Error: Can't cantact kdeinit!
can't create /tmp/mcop-root (No such file or directory)
-------------------------------------------------------------------------------------------------------
hughesjr
was this working before?

is /tmp a seperate partition or just a directory under root ?

What is the output of :

df -h

and

mount

and

ls -al / | grep tmp
linuxinit
QUOTE (hughesjr @ Dec 9 2003, 10:21 PM)
was this working before?

is /tmp a seperate partition or just a directory under root ?

What is the output of :

df -h

and

mount

and

ls -al / | grep tmp

yes, it was working before. and it is the same partition...under root i guess... im about to try the commands...
linuxinit
ok,

df -h
no such file or directory

mount
/dev/root on / type xfs (rw)
proc on /proc type proc (rw)

ls -al / | grep tmp
no such file or directory

also...
i cd'd to the root dir and can see the tmp directory there...
when i try to cd to it then it says that it doesnt exist...
hughesjr
try this command as root:

chown root:root /tmp
chmod 777 /tmp
linuxinit
chown root:root /tmp
failure when obtaining permision '/tmp' directory does not exist
chmod 777 /tmp
failure when obtaining permision '/tmp' directory does not exist
linuxinit
QUOTE (linuxinit @ Dec 9 2003, 10:51 PM)
ls -al / | grep tmp

i just realized that those are two commands...let me try them individualy...or is it one command? blink.gif
linuxinit
i have to be at school in the morning... ill try to be back on tommorow...thanks for the help....
hughesjr
it was one command...

Problems...

1. there seems to be a permissions problem ....several commands (ls, df) are not working, but the error has to do with not finding a directory/file (ie a missing path that the command expects to find)... not that the command itself is invalid or not findable.

2. This can be caused by a mounting problem, a physical disk problem, or an assigned permissions prblem.
----------------------------------------------------
try the command:

ls

then

df

If neither of these work, there is something wierd going on...

You only have / (on /dev/root) and proc mounted...can you print the results of:

cat /etc/fstab
linuxinit
ok...im about to try it now.
linuxinit
ls
tmp is the only directory that doesnt show up
df
the directory does not exist
cat /etc/fstab
(translated)the table of systems cannot be read I gave mounted files : the file or the directory does not exist

also...
when i boot i see mount problems but they go by too fast.
i tried th mkdir tmp and it said that the directory already exists.

and...

/bin/ls -ald /tmp
the directory does not exist

im about to just give up...i dont have a way to reinstall though unless i can find a distro that i can copy the files over to another hd (burner is screwed)
hughesjr
Because you used xfs as the file system, it is going to be hard to boot with another distro and read the information.

Are you using debian woody (stable), sarge (testing), or SID (unstable)?

I will try finding a boot disk that reads xfs ... starting with debian 3.0r2. Once I find one, you should be able to boot to that, put in a second drive, and copy everything you want to keep onto the second drive.

I know the gentoo boot disc can read xfs ...
linuxinit
im bringing the laptop home and am going to burn a few isos. im just going to reinstall. unless there is anything easier to do, but that seems like the easiest thing to do. im going to use ALT Linux Junior 2.2 for now since it is one disc.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.