httpd can't start, inode is 100%, please help

R0CKABILLY

Registered
Dec 14, 2010
1
0
51
hi there..

I just got a problem recently.

suddenly httpd stopped & can't be started.

[email protected][~]# service httpd start
[Tue Dec 14 07:21:44 2010] [error] VirtualHost xxx.xxx.xxx.xxx:0 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined

results

[email protected][~]# service httpd restart
[Tue Dec 14 07:21:48 2010] [error] VirtualHost xxx.xxx.xxx.xxx:0 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined

results
httpd not running, trying to start

tried to make a backup, but it didn't work.. see the error below :

[email protected][~]# cp /usr/local/apache/conf/httpd.conf /root/httpd.conf.bak.12-14-2010
cp: cannot create regular file `/root/httpd.conf.bak.12-14-2010': No space left on device
it's weird.. I check the space :

[email protected][~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 20G 11G 8.0G 58% /
/dev/md2 2.7T 779G 1.8T 31% /home
tmpfs 12G 0 12G 0% /dev/shm
/usr/tmpDSK 485M 11M 449M 3% /tmp


and I check the inode, and it's 100% ! how come?

[email protected][~]# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/md1 1281120 1281120 0 100% /
/dev/md2 177438720 202503 177236217 1% /home
tmpfs 3090997 1 3090996 1% /dev/shm
/usr/tmpDSK 128016 73 127943 1% /tmp

so what I have to do now?

please help me asap.. my server has been down for 5 hours :(
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
23
143
Houston, TX
cPanel Access Level
Root Administrator
Running out of inodes, but not out of disk space, usually means that you have a large number of very small files that use up many inodes but not necessarily much disk space. A frequent culprit for this is mail messages. How many messages do you have in the queue? You can find out using this command:

Code:
# exim -bpc
If there are a large number of mail messages in the queue, the Exim Cheatsheet is a useful tool for learning how to manipulate the queue and gain control over what is in it:

Exim Cheatsheet