[BlueOnyx:16511] Re: more clues - INODE USAGE

webmaster webmaster at oldcabin.net
Thu Nov 20 17:05:29 -05 2014



[root at cabin1 var]# echo "INODE USAGE for: $(pwd)" ; for d in `find 
-maxdepth 1 -type d |cut -d\/ -f2 |grep -xv . |sort`; do c=$(find $d |wc 
-l) ; printf "$c\t\t- $d\n" ; done ; printf "Total: \t\t$(find $(pwd) | 
wc -l)\n"
INODE USAGE for: /var
2               - account
165             - analog-5.32
106             - cache
1               - crash
1               - cvs
2               - db
2               - empty
4               - ftp
1               - games
270452          - lib
1               - local
30              - lock
195             - log
1               - lost+found
32              - named
1               - nis
1               - opt
1               - preserve
89              - run
270             - spool
4               - state
54              - webmin
427             - www
1               - yp
Total:          271846






> /var partition is full.
>
> Probably in the logs.  Go into /var/log, and maybe under http under that and
> delete some old logs to make space.
>
> You've probably been attacked, and the logs have filled the partition.
>
> Chuck
>
>
> ---------- Original Message -----------
> From: webmaster <webmaster at oldcabin.net>
> To: BlueOnyx General Mailing List <blueonyx at mail.blueonyx.it>
> Sent: Thu, 20 Nov 2014 15:47:24 -0600
> Subject: [BlueOnyx:16508] Re: now getting this -- touch: cannot touch `/var/
> lock/subsys/httpd': No space left on device
>
>> Web server is not running
>>
>> I get this when I try to start it
>>
>> touch: cannot touch `/var/lock/subsys/httpd': No space left on device
>>
>>> [root at cabin1 base]# yum clean all
>>> Loaded plugins: fastestmirror, security
>>> Could not create lock at /var/run/yum.pid: [Errno 28] No space left on
>>> device: '/var/run/yum.pid'
>>> Another app is currently holding the yum lock; waiting for it to exit...
>>>    The other application is: yum
>>>      Memory :  14 M RSS ( 28 MB VSZ)
>>>      Started: Thu Nov 20 14:58:07 2014 - 00:01 ago
>>>      State  : Running, pid: 10353
>>> Another app is currently holding the yum lock; waiting for it to exit...
>>>    The other application is: yum
>>>      Memory :  14 M RSS ( 28 MB VSZ)
>>>      Started: Thu Nov 20 14:58:07 2014 - 00:03 ago
>>>      State  : Running, pid: 10353
>>>
>>> I posted about my phpmyadmin throwing errors but it got quarantined
>>> becasue it had an image and HTML
>>> Possibly that is related to the yum problem?
>>>
>>>
>>> More Clues
>>>
>>>
>>> [root at cabin1 var]# du -h --max-depth=1
>>> 4.0K    ./yp
>>> 8.0K    ./db
>>> 4.0K    ./opt
>>> 4.0K    ./games
>>> *52M     ./cache*
>>> 16K     ./ftp
>>> 4.0K    ./cvs
>>> 4.0K    ./account
>>> 4.0K    ./preserve
>>> 368K    ./spool
>>> 4.0K    ./local
>>> 2.5M    ./www
>>> 8.0K    ./empty
>>> 254M    ./log
>>> 1.9M    ./analog-5.32
>>> 16K     ./state
>>> 4.0K    ./nis
>>> 112K    ./named
>>> 16K     ./lost+found
>>> 684K    ./webmin
>>> 1.2G    ./lib
>>> 208K    ./run
>>> 24K     ./lock
>>> 4.0K    ./crash
>>> 1.5G    .
>>>
>>> [root at cabin1 cache]# du -h --max-depth=1
>>> 1.4M    ./man
>>> 8.0K    ./dovecot
>>> 4.0K    ./logwatch
>>> 4.0K    ./abrt-di
>>> 12K     ./tomcat6
>>> 136K    ./fontconfig
>>> *51M     ./yum*
>>> 4.0K    ./admserv
>>> 4.0K    ./mod_ssl
>>> 4.0K    ./hald
>>> 4.0K    ./php-pear
>>> 4.0K    ./mod_proxy
>>> 32K     ./ldconfig
>>> 52M     .
>>>
>>>
>>>
>>>
>>>
>>> Thanks
>>>
>>> --Tim
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Blueonyx mailing list
>>> Blueonyx at mail.blueonyx.it
>>> http://mail.blueonyx.it/mailman/listinfo/blueonyx
> ------- End of Original Message -------
>
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx
>




More information about the Blueonyx mailing list