Author Topic: [SOLVED] KDE not starting after update /tmp full error  (Read 827 times)

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1758
  • Satyameva Jayate | Truth Alone Triumphs.
[SOLVED] KDE not starting after update /tmp full error
« on: November 15, 2010, 12:20:25 AM »
I had not updated my desktop for about a month or so. Today I did a full update and reboot. Apparently everything went fine except for a few messages from Virtualbox installation. On reboot, KDE loaded till the third icon of the splash screen, got stuck there and after a long while throws up a dialog box with the following message and an OK button

"The following installation problem was detected while trying to start KDE:

Temp directory (/tmp) is out of space.

KDE is unable to start."

On clicking OK, I get a text box with "Could not start ksmserver. Check your installation." message and OKAY button.
On clicking OKAY I am thrown back into the login screen.

I have /root partition of only 10GB so I am suspecting a disk full.
How should I proceed?
-SS.
« Last Edit: November 15, 2010, 10:16:01 AM by sling-shot »
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline rubentje1991

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2108
  • Rubenus Parvus MCMXCI
Re: KDE not starting after update /tmp full error
« Reply #1 on: November 15, 2010, 06:04:33 AM »
When you're at Login screen, press <Ctrl><Alt><F1>, and log in as root...

Then run:
Code: [Select]
df
and check if your disk really is full (assuring it's not another problem)

Probably it IS the /tmp dir, but I want to be completely sure

Offline rubentje1991

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2108
  • Rubenus Parvus MCMXCI
Re: KDE not starting after update /tmp full error
« Reply #2 on: November 15, 2010, 06:09:49 AM »
Read also please this:

http://www.pclinuxos.com/forum/index.php/topic,69032.msg565725.html#msg565725

Maybe post your output of that command here...
(command (when you're logged in as root in tty1 (<Ctrl><Alt><F1>)):
Code: [Select]
du -sch /var/*)

Offline rubentje1991

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2108
  • Rubenus Parvus MCMXCI
Re: KDE not starting after update /tmp full error
« Reply #3 on: November 15, 2010, 06:13:20 AM »
Mine gives:

Quote
[root@localhost ruben]# du -sch /var/*
58M     /var/cache
644K    /var/db
4,0K    /var/empty
12K     /var/ftp
208M    /var/lib
4,0K    /var/local
8,0K    /var/lock
9,9M    /var/log
0       /var/mail
4,0K    /var/nis
4,0K    /var/opt
4,0K    /var/preserve
292K    /var/run
100K    /var/spool
0       /var/tmp
28M     /var/www
4,0K    /var/yp
304M    totaal
[root@localhost ruben]#

But logging isn't activated over here, that's why /var/log only contains 10MB (my machine just runs well, so.... I do not need any logging (I won't look at the log files... - so they're not needed then))

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1758
  • Satyameva Jayate | Truth Alone Triumphs.
Re: KDE not starting after update /tmp full error
« Reply #4 on: November 15, 2010, 10:06:58 AM »
'df' showed 100% full /root and tmpfs.
I logged in using failsafe option at login prompt. Then hit 'pcc', ticked the option to enable cleaning /tmp at boot.
Now I was able to boot. There was a lot of disk activity on logging in. Then I ran Bleachbit which removed around 280MB.
Now I /tmp is clean. Just installed Filelight and checking /root.
Well well well.
Filelight says /var is 5212 MB and /var/cache/apt is 4086 MB. I guess I need to clean this thing up right now :)
Thanks a lot for the help.
- SS.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline rubentje1991

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2108
  • Rubenus Parvus MCMXCI
Re: [SOLVED] KDE not starting after update /tmp full error
« Reply #5 on: November 15, 2010, 10:41:31 AM »
Yes, apt-get clean and/or apt-get autoclean.......

Remember, in PCC, the option to clear /tmp at boot, doesn't clear /tmp like you think, it just copy it to RAM (so you need then enough RAM, else you'll experience problems in the future)

You can clean in /var/log/ (maybe you can stop the logging on the system (PCC >> System >> Enable/disable system services (I have a Dutch installation, so maybe it's called something else) => there you can disable 'atd', 'crond' and 'syslog'
And of course cleaning up the cached rpms! (see beginning of my post) - and maybe you can disable the function in Synaptic to keep all downloaded packages....

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1758
  • Satyameva Jayate | Truth Alone Triumphs.
Re: [SOLVED] KDE not starting after update /tmp full error
« Reply #6 on: November 15, 2010, 08:21:27 PM »
Once I could boot into desktop I have also done the following in addition to the above mentioned steps:

1. Opened Synaptic and removed cached files using in built option. Then changed the rpm keep settings to 'keep only those in the repository' this should delete obsolete rpms while still keeping rpms related to the packages I have installed.

2. Ran PCC again and unticked the 'clean /tmp at boot' option. So it is back to default now.

I will try and see if I can increase the size of root partition.

- SS.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

genomega

  • Guest
Re: [SOLVED] KDE not starting after update /tmp full error
« Reply #7 on: November 16, 2010, 12:01:31 AM »
Use the update notifier to avoid problems. It's getting to the point where kde updates require a super computer.
I updated my qt install from kde unstable yesterday and it took 7 hours to compile.

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3339
  • Satellite Station Africa
Re: [SOLVED] KDE not starting after update /tmp full error
« Reply #8 on: November 17, 2010, 12:00:22 AM »
Use the update notifier to avoid problems. It's getting to the point where kde updates require a super computer.
I updated my qt install from kde unstable yesterday and it took 7 hours to compile.


7 hours?  You're kidding me, right?  How is that possible?  That would be right up there with some Redmond stuff ....  :o
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12657
Re: [SOLVED] KDE not starting after update /tmp full error
« Reply #9 on: November 17, 2010, 12:19:12 AM »
Use the update notifier to avoid problems. It's getting to the point where kde updates require a super computer.
I updated my qt install from kde unstable yesterday and it took 7 hours to compile.


7 hours?  You're kidding me, right?  How is that possible?  That would be right up there with some Redmond stuff ....  :o

That is how long it takes to compile KDE source code into binary packages.

Thanks to everyone who donates. You keep the servers running.
Follow me on Twitter for the latest development info.

Offline rubentje1991

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2108
  • Rubenus Parvus MCMXCI
Re: [SOLVED] KDE not starting after update /tmp full error
« Reply #10 on: November 17, 2010, 12:23:26 AM »
OK,
each month 7 hours only to compile KDE.....
Thanks you do this for us, Texstar!
(but what an amount of time.....)

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3339
  • Satellite Station Africa
Re: [SOLVED] KDE not starting after update /tmp full error
« Reply #11 on: November 17, 2010, 12:27:16 AM »
Use the update notifier to avoid problems. It's getting to the point where kde updates require a super computer.
I updated my qt install from kde unstable yesterday and it took 7 hours to compile.


7 hours?  You're kidding me, right?  How is that possible?  That would be right up there with some Redmond stuff ....  :o

That is how long it takes to compile KDE source code into binary packages.

Wow - thanks doing this for us ... on my machine it probably would take 7 days - while praying not to have a power failure ...
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12657
Re: [SOLVED] KDE not starting after update /tmp full error
« Reply #12 on: November 17, 2010, 01:39:26 AM »
Use the update notifier to avoid problems. It's getting to the point where kde updates require a super computer.
I updated my qt install from kde unstable yesterday and it took 7 hours to compile.


7 hours?  You're kidding me, right?  How is that possible?  That would be right up there with some Redmond stuff ....  :o

That is how long it takes to compile KDE source code into binary packages.

Wow - thanks doing this for us ... on my machine it probably would take 7 days - while praying not to have a power failure ...

Kde takes me approx 12 hours to download, prepare the packages, compile, test and upload.

Thanks to everyone who donates. You keep the servers running.
Follow me on Twitter for the latest development info.

Offline DutchWolfie

  • Full Member
  • ***
  • Posts: 94
Re: [SOLVED] KDE not starting after update /tmp full error
« Reply #13 on: November 17, 2010, 01:58:23 AM »
Kde takes me approx 12 hours to download, prepare the packages, compile, test and upload.

(noob mode) So this all takes place on your local pc somewhere in your serverroom filled with those huge racks?  ;)
Would it be possible to let this work be done on a state of the art remote server?
(noob mode off)
Just asking, now heading off to read more about repo's, compile etc.....
"All we have to decide is what to do with the time that is given to us",

Gandalf.

Offline rubentje1991

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2108
  • Rubenus Parvus MCMXCI
Re: [SOLVED] KDE not starting after update /tmp full error
« Reply #14 on: November 17, 2010, 04:10:55 AM »
Kde takes me approx 12 hours to download, prepare the packages, compile, test and upload.

(noob mode) So this all takes place on your local pc somewhere in your serverroom filled with those huge racks?  ;)
Would it be possible to let this work be done on a state of the art remote server?
(noob mode off)
Just asking, now heading off to read more about repo's, compile etc.....

Success DutchWolfie - it's always interesting stuff to learn from!