Re: 54 GB in /var/log!! -- UPDATE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2008-10-27 at 15:50 +0000, Beartooth wrote:
> On Sun, 26 Oct 2008 20:12:21 +0000, Beartooth wrote:
> 
> > One of my F9 machines -- actually my #1 main machine -- started having
> > display problems. 
> 	[....]
> > 	Obviously, I want to cut /var/log with electronic double-bitted
> > axes in both hands, to get to my user's GUI again; and to find the
> > source of the bloat and correct it.
> 
> 	Having eventually -- thanks to the invaluable help here -- 
> discovered that the culprit was /var/log/messages-20081026, with the 
> whole 54GB; having failed to understand the problem, and finally deleted 
> it just to get back, I'm now on the #1 machine again, and I see : 
> 
> =====		=====		=====		=====
> [root@Hbsk2 btth]# df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/mapper/VolGroup00-LogVol00
>                        72G   18G   51G  26% /
> /dev/sda1             190M   25M  156M  14% /boot
> tmpfs                 1.5G   48K  1.5G   1% /dev/shm
> /dev/sdb1              75G   15G   61G  20% /media/System
> [root@Hbsk2 btth]# 
> 	=====		=====		=====		=====
> 
> 	All I could tell, from my sadly ineffectual attempts to skim the 
> bad file without GUI means, was that it kept saying something about some 
> USB device, and also that some device couldn't do fax. (I never use fax.)
> 
> 	I'm very sorry not to have a better explanation of what happened, 
> especially inasmuch as I'm also worried. Unless it was some inadvertent 
> command, blamable on my arthritic eyeballs and trifocal fingers, and thus 
> a fluke, it might happen again.
> 
> 	I think logrotate must be working, because both the file for the 
> 25th and the 27th were reported nonexistent. In fact, I'm not at all sure 
> it was me that deleted the bad one; maybe logrotate did it.
> 
> 	I took a look : 
> 
> =====		=====		=====		=====
> [root@Hbsk2 btth]# file /var/log/messages-20081027
> /var/log/messages-20081027: ERROR: cannot open `/var/log/
> messages-20081027' (No such file or directory)
> [root@Hbsk2 btth]# file /var/log/messages-20081026
> /var/log/messages-20081026: empty
> [root@Hbsk2 btth]# file /var/log/messages-20081025
> /var/log/messages-20081025: ERROR: cannot open `/var/log/
> messages-20081025' (No such file or directory)
> [root@Hbsk2 btth]# 
> 	=====		=====		=====		=====
> 
> 	Does that tell anyone anything more than it does me? Does it look 
> like, or at least compatible with, logrotate?
> 
> 	I suppose I should take a look at root's mail. What should I look 
> there for? (I think I do have logwatch running on this machine.)
----
probably because you're out of space to create them

Just do this at command line (as root)

# > /var/log/messages

that will completely empty it out (the # sign signifies root and
prevents e-mail from thinking it is part of a reply. Don't type the #
sign)

Craig

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux