GDM could not write a new authorization entry to disk. Possibly out of diskspace. Error: No space left on device
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
GDM could not write a new authorization entry to disk. Possibly out of diskspace. Error: No space left on device
Hi There,
I had my linux server turned off for few months. When I turned it on, I received "GDM could not write a new authorization entry to disk. Possibly out of diskspace. Error: No space left on device". When I did df -h, I realized that my /var is 100%.
All other partitions have space. Will some one please help?
I'm little rusty with the steps and need some help.
One step is to quickly see if you can tell where the space is going. I would start with
Code:
du -ks /var/* | sort -n| tail
and examine that.
Once you know where space is going, you know what to clean up first. The exact steps depend somewhat on what kind of distribution you use. On mine I would run
Code:
sudo apt-get clean all
to clean up the software cache space. I might also examine the printer and mail sections of the spool folder, as well as /var/log files no longer needed.
On MY systems I would do pretty much all of this while running from a live-cd image or rescue CD after mounting the filespaces and chrooting into your HD root, but that may be overkill for your case.
See if that gets you started, then come back and let us know how you are getting on.
Hi,
I get a reply saying OSError: [Errno 281] No space left on device.
Please help.
MC
Quote:
Originally Posted by wpeckham
One step is to quickly see if you can tell where the space is going. I would start with
Code:
du -ks /var/* | sort -n| tail
and examine that.
Once you know where space is going, you know what to clean up first. The exact steps depend somewhat on what kind of distribution you use. On mine I would run
Code:
sudo apt-get clean all
to clean up the software cache space. I might also examine the printer and mail sections of the spool folder, as well as /var/log files no longer needed.
On MY systems I would do pretty much all of this while running from a live-cd image or rescue CD after mounting the filespaces and chrooting into your HD root, but that may be overkill for your case.
See if that gets you started, then come back and let us know how you are getting on.
I managed to clear the cache and freed up enough space to boot properly.
Best,
Mano
Quote:
Originally Posted by wpeckham
One step is to quickly see if you can tell where the space is going. I would start with
Code:
du -ks /var/* | sort -n| tail
and examine that.
Once you know where space is going, you know what to clean up first. The exact steps depend somewhat on what kind of distribution you use. On mine I would run
Code:
sudo apt-get clean all
to clean up the software cache space. I might also examine the printer and mail sections of the spool folder, as well as /var/log files no longer needed.
On MY systems I would do pretty much all of this while running from a live-cd image or rescue CD after mounting the filespaces and chrooting into your HD root, but that may be overkill for your case.
See if that gets you started, then come back and let us know how you are getting on.
I managed to clear the cache and freed up enough space to boot properly.
Best,
Mano
Wonderful news! But that is only the start: Now you will want to figure out what ate up your space (and where) and see if it can be prevented from happening again.
Yes, absolutely as I do not want to run into this issue again.
Thanks,
MC
Quote:
Originally Posted by wpeckham
Wonderful news! But that is only the start: Now you will want to figure out what ate up your space (and where) and see if it can be prevented from happening again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.