LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 02-17-2009, 09:28 AM   #1
acascianelli
Member
 
Registered: Oct 2002
Location: Michigan
Distribution: Ubuntu 9.04
Posts: 60

Rep: Reputation: 15
var filesystem 100% can't login, need help


I have a Linux server with a var filesystem at 100% usage. I cannot get logged in to this machine to clear out files. Does anybody have any ideas short of a reboot to get logged into this system?
 
Old 02-17-2009, 09:49 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
You should still be able to login even if the partition is full.
 
Old 02-17-2009, 09:52 AM   #3
acascianelli
Member
 
Registered: Oct 2002
Location: Michigan
Distribution: Ubuntu 9.04
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by datopdog View Post
You should still be able to login even if the partition is full.
Nope, console just hangs.
 
Old 02-17-2009, 09:56 AM   #4
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
something else should be wrong, u could try running commands (delete old logs or useless files) via ssh without logging in

Code:
ssh hostname 'rm -rf /var/log/messages.{2,3,4,5}'
 
Old 02-17-2009, 07:54 PM   #5
druidmatrix
LQ Newbie
 
Registered: Feb 2009
Posts: 13

Rep: Reputation: 0
I have a feeling some sort of blocking write may be preventing you from logging in. What I'd advice is to boot into rescue mode, mount the disk, and clear up space on /var and whatever else may be full.
 
Old 02-17-2009, 07:58 PM   #6
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by druidmatrix
What I'd advice is to boot into rescue mode, mount the disk, and clear up space on /var and whatever else may be full.
That's what I would do as well. (Except replace "rescue mode" with "single-user mode"; either is fine. It may be that the rescue cd provides a more robust working environment.)
 
Old 02-17-2009, 08:47 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,127

Rep: Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985
Quote:
Originally Posted by acascianelli View Post
Nope, console just hangs.
If it's ext[234], login as root. Unless you changed the default at mkfs, the reserved space should allow root login.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
can i umount var filesystem?? raklo Linux - Kernel 14 06-19-2007 08:44 AM
/var is at 100% usage, even after deleting files WindowBreaker Slackware 6 09-10-2006 08:17 AM
not able to clear the var folder show 100% usage help me? oldnavyboy06 Linux - Networking 1 07-11-2006 05:04 AM
Solaris 9 /var directory is at 100% rust8y Solaris / OpenSolaris 4 05-05-2006 05:54 PM
login screen font size over 100 - can't login xzy2435 Linux - Newbie 1 11-20-2003 11:40 AM


All times are GMT -5. The time now is 08:20 AM.

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