ubuntu refuses to boot

Asked by Koen Cosyns

When I was downloading a movie (using bit torrent) I suddenly got the message that root had no more free space left which is impossible. I decided to stop all programs and to reboot. As from then ubuntu refuses to boot. I get to see a mutated login screen and following message:

install problem!!

the configuration defaults for GNOME power manager have not been installed correctly. Please contact your administrator.

I can't login at all, each time I enter my login name and password I get the same message, even when I try to boot from the ubuntu CD Rom. For the record, I never had a similar problem.

Tx for your help, Cozze

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

boot to root recovery mode (hold shift at boot, select recovery, select root) then run:

apt-get clean; apt-get --purge remove openoffice*; reboot

Does it now boot ok?

Revision history for this message
Koen Cosyns (kcosyns) said :
#2

Dear

Boot is fine again, thank you very much for your quick answer. Can I
reinstall openoffice using the ubuntu software center?

Cozze

On 29/12/10 23:00, actionparsnip wrote:
> Your question #139555 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/139555
>
> Status: Open => Needs information
>
> actionparsnip requested for more information:
> boot to root recovery mode (hold shift at boot, select recovery, select
> root) then run:
>
> apt-get clean; apt-get --purge remove openoffice*; reboot
>
> Does it now boot ok?
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

It sounds like you are low on space so installing it will obviously recreate the issue. Do you use all thr openoffice apps or just writer?

Can you also give the output of:

dpkg -l | grep linux-image-2

Thanks

Revision history for this message
Koen Cosyns (kcosyns) said :
#4

Hi

Indeed I am getting low on space that is why i burned the gparted iso
image on a disc and rebooted in order to resize my partitions. However
my laptop boots as usual and I just see the content of the cd in the
file system, gparted doesn't start (even though cd rom is indicated as
1st in my boot setup). I also installed gparted using ubuntu software
center, I can get the program running but the option to resize the
partition is not highlighted. Any idea?

Hereunder the requested output:

cozze@cozze-AMILO-Xi-3650:~$ dpkg -l | grep linux-image-2
ii linux-image-2.6.35-22-generic
2.6.35-22.35 Linux kernel image for
version 2.6.35 on x86/x86_64
ii linux-image-2.6.35-23-generic
2.6.35-23.41 Linux kernel image for
version 2.6.35 on x86/x86_64
ii linux-image-2.6.35-24-generic
2.6.35-24.42 Linux kernel image for
version 2.6.35 on x86/x86_64

Tx, Cozze

On 30/12/10 11:53, actionparsnip wrote:
> Your question #139555 on util-linux in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/util-linux/+question/139555
>
> Status: Open => Needs information
>
> actionparsnip requested for more information:
> It sounds like you are low on space so installing it will obviously
> recreate the issue. Do you use all thr openoffice apps or just writer?
>
> Can you also give the output of:
>
> dpkg -l | grep linux-image-2
>
> Thanks
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Ok can you give the output of:

uname -a; echo; df -h

Thanks

You don't need to resize, you just need to reduce used space. Ubuntu can be very small but a default install is quite bloated. Do you use the fullfunctionality of openoffice or do you only use writer and/or math (the excel equiv in openoffice)?

Revision history for this message
Koen Cosyns (kcosyns) said :
#6

I use the writer, the math and the powerpoint functionallity.

The / partition is now about 14 GB, there is 1.7 GB unused as I
uninstalled a few things in order to get rid of those warning messages.
Here is the output:

cozze@cozze-AMILO-Xi-3650:~$ uname -a; echo; df -h
Linux cozze-AMILO-Xi-3650 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2
01:41:57 UTC 2010 i686 GNU/Linux

Filesystem Size Used Avail Use% Mounted on
/dev/sda1 14G 13G 1.1G 93% /
none 1.5G 280K 1.5G 1% /dev
none 1.5G 2.3M 1.5G 1% /dev/shm
none 1.5G 216K 1.5G 1% /var/run
none 1.5G 0 1.5G 0% /var/lock
/dev/sda5 278G 49G 216G 19% /home
/home/cozze/.Private 278G 49G 216G 19% /home/cozze

On 30/12/10 13:54, actionparsnip wrote:
> Your question #139555 on util-linux in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/util-linux/+question/139555
>
> Status: Open => Needs information
>
> actionparsnip requested for more information:
> Ok can you give the output of:
>
> uname -a; echo; df -h
>
> Thanks
>
> You don't need to resize, you just need to reduce used space. Ubuntu can
> be very small but a default install is quite bloated. Do you use the
> fullfunctionality of openoffice or do you only use writer and/or math
> (the excel equiv in openoffice)?
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

sudo apt-get --purge remove linux-image-2.6.35-22-generic linux-image-2.6.35-23-generic

Will save youo about 250Mb space. You can install openoffice if you like, it will occupy 300Mb of your remaining space. So you have little over 1Gb space to play with. I suggest you install bleachbit to clean more space as well as review the installed apps and remove what isn't needed (evolution is another biggy but leave evolution-data-server-common as it is a dependancy of gnome-panel (no idea why))

Revision history for this message
delance (olivier-delance) said :
#8

Run command
   du -sm /var | sort -n
and report result.

Revision history for this message
Koen Cosyns (kcosyns) said :
#9

Still that doesn't leave me much ... I'd rather resize the root
partition as I've plenty free space on my home partition. how come
gparted doesn't work when I boot ?

On 30/12/10 14:59, actionparsnip wrote:
> Your question #139555 on util-linux in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/util-linux/+question/139555
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> sudo apt-get --purge remove linux-image-2.6.35-22-generic linux-
> image-2.6.35-23-generic
>
> Will save youo about 250Mb space. You can install openoffice if you
> like, it will occupy 300Mb of your remaining space. So you have little
> over 1Gb space to play with. I suggest you install bleachbit to clean
> more space as well as review the installed apps and remove what isn't
> needed (evolution is another biggy but leave evolution-data-server-
> common as it is a dependancy of gnome-panel (no idea why))
>

Revision history for this message
delance (olivier-delance) said :
#10

14GB should be enough for "/", else you have really a lot of installed software.
If you resize, I think you will simply have later again this problem.

Revision history for this message
Koen Cosyns (kcosyns) said :
#11

Here you go:

cozze@cozze-AMILO-Xi-3650:~$ du -sm /var | sort -n
du: cannot read directory `/var/cache/ldconfig': Permission denied
du: cannot read directory `/var/cache/system-tools-backends': Permission
denied
du: cannot read directory `/var/tmp/kdecache-root': Permission denied
du: cannot read directory `/var/lib/polkit-1': Permission denied
du: cannot read directory `/var/lib/gdm': Permission denied
du: cannot read directory `/var/lib/sudo': Permission denied
du: cannot read directory `/var/spool/cups': Permission denied
du: cannot read directory `/var/spool/cron/atjobs': Permission denied
du: cannot read directory `/var/spool/cron/crontabs': Permission denied
du: cannot read directory `/var/spool/cron/atspool': Permission denied
du: cannot read directory `/var/run/cups/certs': Permission denied
du: cannot read directory `/var/run/samba/winbindd_privileged':
Permission denied
du: cannot read directory `/var/run/gdm': Permission denied
du: cannot read directory `/var/log/gdm': Permission denied
du: cannot read directory `/var/log/samba/cores': Permission denied

On 30/12/10 15:10, delance wrote:
> Your question #139555 on util-linux in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/util-linux/+question/139555
>
> delance proposed the following answer:
> Run command
> du -sm /var | sort -n
> and report result.
>

Revision history for this message
Koen Cosyns (kcosyns) said :
#12

That's strange as I really don't have that much installed, I got rid of
all unnecessary stuff ... could it be itunes eating so much capacity? I
installed it using Wine, but now somehow I can't get rid of it anymore

On 30/12/10 15:29, delance wrote:
> Your question #139555 on util-linux in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/util-linux/+question/139555
>
> delance posted a new comment:
> 14GB should be enough for "/", else you have really a lot of installed software.
> If you resize, I think you will simply have later again this problem.
>

Revision history for this message
delance (olivier-delance) said :
#13

Sorry.
Run command
   sudo du -sm /var | sort -n
and report result.

Revision history for this message
Koen Cosyns (kcosyns) said :
#14

Hello,

results hereunder

cozze@cozze-AMILO-Xi-3650:~$ sudo du -sm /var | sort -n
[sudo] password for cozze:
9745 /var
cozze@cozze-AMILO-Xi-3650:~$

On 30/12/10 17:44, delance wrote:
> Your question #139555 on util-linux in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/util-linux/+question/139555
>
> Status: Open => Answered
>
> delance proposed the following answer:
> Sorry.
> Run command
> sudo du -sm /var | sort -n
> and report result.
>

Revision history for this message
delance (olivier-delance) said :
#15

This means you have 9.7GB of data in /var folder. I think it's too much.
Can you run command:
   sudo du -sm /var/* | sort -n
and redo command for bigger folder (e.g. sudo du -sm /var/log/* | sort -n ).

Revision history for this message
Koen Cosyns (kcosyns) said :
#16

How can I avoid this? Have I been doing something wrong? Requested
reports hereunder

cozze@cozze-AMILO-Xi-3650:~$ sudo du -sm /var/* | sort -n
[sudo] password for cozze:
0 /var/lock
1 /var/games
1 /var/local
1 /var/mail
1 /var/opt
1 /var/run
1 /var/spool
2 /var/tmp
5 /var/backups
102 /var/cache
204 /var/lib
9466 /var/log

cozze@cozze-AMILO-Xi-3650:~$ sudo du -sm /var/log/* | sort -n
0 /var/log/jockey.log
0 /var/log/lpr.log
0 /var/log/mail.err
0 /var/log/mail.info
0 /var/log/mail.log
0 /var/log/mail.warn
0 /var/log/pycentral.log
1 /var/log/alternatives.log
1 /var/log/alternatives.log.1
1 /var/log/apparmor
1 /var/log/apt
1 /var/log/auth.log
1 /var/log/auth.log.1
1 /var/log/auth.log.2.gz
1 /var/log/auth.log.3.gz
1 /var/log/auth.log.4.gz
1 /var/log/boot
1 /var/log/boot.log
1 /var/log/bootstrap.log
1 /var/log/btmp
1 /var/log/btmp.1.gz
1 /var/log/ConsoleKit
1 /var/log/cups
1 /var/log/daemon.log
1 /var/log/daemon.log.1
1 /var/log/daemon.log.2.gz
1 /var/log/daemon.log.3.gz
1 /var/log/daemon.log.4.gz
1 /var/log/debug
1 /var/log/debug.1
1 /var/log/debug.2.gz
1 /var/log/debug.3.gz
1 /var/log/debug.4.gz
1 /var/log/dist-upgrade
1 /var/log/dmesg
1 /var/log/dmesg.0
1 /var/log/dmesg.1.gz
1 /var/log/dmesg.2.gz
1 /var/log/dmesg.3.gz
1 /var/log/dmesg.4.gz
1 /var/log/dpkg.log
1 /var/log/faillog
1 /var/log/fontconfig.log
1 /var/log/fsck
1 /var/log/gdm
1 /var/log/gufw_log_server.txt
1 /var/log/gufw_log.txt
1 /var/log/installer
1 /var/log/jockey.log.1
1 /var/log/lastlog
1 /var/log/lpr.log.1
1 /var/log/news
1 /var/log/pm-powersave.log
1 /var/log/pm-powersave.log.1
1 /var/log/pm-suspend.log
1 /var/log/pm-suspend.log.1
1 /var/log/samba
1 /var/log/speech-dispatcher
1 /var/log/syslog.2.gz
1 /var/log/syslog.3.gz
1 /var/log/udev
1 /var/log/unattended-upgrades
1 /var/log/user.log
1 /var/log/user.log.1
1 /var/log/user.log.2.gz
1 /var/log/user.log.3.gz
1 /var/log/user.log.4.gz
1 /var/log/wtmp
1 /var/log/wtmp.1.gz
1 /var/log/Xorg.0.log
1 /var/log/Xorg.0.log.old
1 /var/log/Xorg.1.log
1 /var/log/Xorg.1.log.old
2 /var/log/dpkg.log.1
2 /var/log/ufw.log.4.gz
3 /var/log/syslog.4.gz
13 /var/log/kern.log.3.gz
13 /var/log/messages.3.gz
13 /var/log/ufw.log.3.gz
19 /var/log/syslog.7.gz
20 /var/log/kern.log.2.gz
20 /var/log/messages.2.gz
20 /var/log/ufw.log.2.gz
35 /var/log/kern.log.4.gz
35 /var/log/messages.4.gz
35 /var/log/syslog.6.gz
48 /var/log/syslog.5.gz
80 /var/log/syslog
903 /var/log/syslog.1
992 /var/log/ufw.log
994 /var/log/kern.log
994 /var/log/messages
1742 /var/log/ufw.log.1
1743 /var/log/kern.log.1
1743 /var/log/messages.1

On 31/12/10 10:49, delance wrote:
> Your question #139555 on util-linux in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/util-linux/+question/139555
>
> Status: Open => Answered
>
> delance proposed the following answer:
> This means you have 9.7GB of data in /var folder. I think it's too much.
> Can you run command:
> sudo du -sm /var/* | sort -n
> and redo command for bigger folder (e.g. sudo du -sm /var/log/* | sort -n ).
>

Revision history for this message
delance (olivier-delance) said :
#17

I'm very surprised by size of /var/log/<file name>.1. Unfortunetly I can't compare as I'm not on a Ubuntu computer.
These three files are archives, and can be removed. Run command
   sudo rm -f /var/log/*.1
Be very carefull with this command, and use copy/paste if possible.
This will solve temporarily your disk issue.
Could you run command:
    sudo tail -100 /var/log/ufw.log
and report result in http://paste.ubuntu.com/ (and please report new link).

Can you help with this problem?

Provide an answer of your own, or ask Koen Cosyns for more information if necessary.

To post a message you must log in.