Apache Not Running - No space left on device: Couldn't create accept lock

Apache Not Running - No space left on device: Couldn't create accept lock - itlampung.com - Pernah terjadi disalahsatu server lokal yaitu service apache2 yang tidak running dan selalu failed jika saat ingin dilakukan restart daemond.


Berikut adalah yang dilakukan untuk mengatasi hal tersebut, kita cari tau penyebabnya dengan cek log.



 [root@serv01-aziz]# tail -f /var/log/httpd/error_log  
 [Tue Sep 20 21:29:03 2011] [emerg] (28)No space left on device: Couldn't create accept lock (/var/logs/accept.lock.26414) (5)  
 [Tue Sep 20 21:29:13 2011] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)  
 [Tue Sep 20 21:29:14 2011] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)  
 [Tue Sep 20 21:29:14 2011] [notice] mod_antiloris 0.4 started  
 [Tue Sep 20 21:29:14 2011] [emerg] (28)No space left on device: Couldn't create accept lock (/var/logs/accept.lock.26435) (5)  
 [Tue Sep 20 21:29:14 2011] [emerg] (28)No space left on device: Couldn't create accept lock (/var/logs/accept.lock.26435) (5)  
 [Tue Sep 20 21:29:14 2011] [emerg] (28)No space left on device: Couldn't create accept lock (/var/logs/accept.lock.26435) (5)  

Terlihat hasil error yang ditampilkan "No space left on device: Couldn't create accept lock"

 [root@serv01-aziz]# ipcs -s | grep apache  
 0x00000000 4751360 apache 600 1  
 0x00000000 32769 apache 600 1  
 0x00000000 65538 apache 600 1  
 0x00000000 98307 apache 600 1  
 0x00000000 131076 apache 600 1  
 0x00000000 163845 apache 600 1  
 0x00000000 196614 apache 600 1  
 0x00000000 229383 apache 600 1  
 0x00000000 262152 apache 600 1  
 0x00000000 294921 apache 600 1  
 0x00000000 327690 apache 600 1  
 0x00000000 360459 apache 600 1  
 0x00000000 393228 apache 600 1  
 0x00000000 425997 apache 600 1  
 0x00000000 458766 apache 600 1  
 0x00000000 491535 apache 600 1  
 0x00000000 524304 apache 600 1  
 0x00000000 557073 apache 600 1  
 0x00000000 589842 apache 600 1  
 0x00000000 622611 apache 600 1  
 0x00000000 655380 apache 600 1  
 0x00000000 688149 apache 600 1  
 0x00000000 720918 apache 600 1  
 0x00000000 753687 apache 600 1  
 0x00000000 786456 apache 600 1  
 0x00000000 819225 apache 600 1  
 0x00000000 851994 apache 600 1  
 0x00000000 884763 apache 600 1  
 0x00000000 917532 apache 600 1  
 0x00000000 950301 apache 600 1  
 0x00000000 983070 apache 600 1  
 0x00000000 1015839 apache 600 1  
 0x00000000 1048608 apache 600 1  
 0x00000000 1081377 apache 600 1  
 0x00000000 1114146 apache 600 1  
 0x00000000 1146915 apache 600 1  
 0x00000000 1179684 apache 600 1  
 0x00000000 1212453 apache 600 1  
 0x00000000 1245222 apache 600 1  
 0x00000000 1277991 apache 600 1  
 0x00000000 1310760 apache 600 1  
 0x00000000 1343529 apache 600 1  
 0x00000000 1376298 apache 600 1  
 0x00000000 1409067 apache 600 1  
 0x00000000 1441836 apache 600 1  
 0x00000000 1474605 apache 600 1  
 0x00000000 1507374 apache 600 1  
 0x00000000 1540143 apache 600 1  
 0x00000000 1572912 apache 600 1  
 0x00000000 1605681 apache 600 1  
 0x00000000 1638450 apache 600 1  
 0x00000000 1671219 apache 600 1  
 0x00000000 1703988 apache 600 1  
 0x00000000 1736757 apache 600 1  
 0x00000000 1769526 apache 600 1  
 0x00000000 1802295 apache 600 1  
 0x00000000 1835064 apache 600 1  
 0x00000000 1867833 apache 600 1  
 0x00000000 1900602 apache 600 1  
 0x00000000 1933371 apache 600 1  
 0x00000000 1966140 apache 600 1  
 0x00000000 1998909 apache 600 1  
 0x00000000 2031678 apache 600 1  
 0x00000000 2064447 apache 600 1  
 0x00000000 2097216 apache 600 1  
 0x00000000 2129985 apache 600 1  
 0x00000000 2162754 apache 600 1  
 0x00000000 2195523 apache 600 1  
 0x00000000 2228292 apache 600 1  
 0x00000000 2261061 apache 600 1  
 0x00000000 2293830 apache 600 1  
 0x00000000 2326599 apache 600 1  
 0x00000000 2359368 apache 600 1  
 0x00000000 2392137 apache 600 1  
 0x00000000 2424906 apache 600 1  
 0x00000000 2457675 apache 600 1  
 0x00000000 2490444 apache 600 1  
 0x00000000 2523213 apache 600 1  
 0x00000000 2555982 apache 600 1  
 0x00000000 2588751 apache 600 1  
 0x00000000 2621520 apache 600 1  
 0x00000000 2654289 apache 600 1  
 0x00000000 2687058 apache 600 1  
 0x00000000 2719827 apache 600 1  
 0x00000000 2752596 apache 600 1  
 0x00000000 2785365 apache 600 1  
 0x00000000 2818134 apache 600 1  
 0x00000000 2850903 apache 600 1  
 0x00000000 2883672 apache 600 1  
 0x00000000 2916441 apache 600 1  
 0x00000000 2949210 apache 600 1  
 0x00000000 2981979 apache 600 1  
 0x00000000 3014748 apache 600 1  
 0x00000000 3047517 apache 600 1  
 0x00000000 3080286 apache 600 1  
 0x00000000 3113055 apache 600 1  
 0x00000000 3145824 apache 600 1  
 0x00000000 3178593 apache 600 1  
 0x00000000 3211362 apache 600 1  
 0x00000000 3244131 apache 600 1  
 0x00000000 3276900 apache 600 1  
 0x00000000 3342437 apache 600 1  
 0x00000000 3375206 apache 600 1  
 0x00000000 3407975 apache 600 1  
 0x00000000 3440744 apache 600 1  
 0x00000000 3473513 apache 600 1  
 0x00000000 3506282 apache 600 1  
 0x00000000 3539051 apache 600 1  
 0x00000000 3571820 apache 600 1  
 0x00000000 3604589 apache 600 1  
 0x00000000 3637358 apache 600 1  
 0x00000000 3670127 apache 600 1  
 0x00000000 3702896 apache 600 1  
 0x00000000 3735665 apache 600 1  
 0x00000000 3768434 apache 600 1  
 0x00000000 3801203 apache 600 1  
 0x00000000 3833972 apache 600 1  
 0x00000000 3866741 apache 600 1  
 0x00000000 3899510 apache 600 1  
 0x00000000 3932279 apache 600 1  
 0x00000000 3965048 apache 600 1  
 0x00000000 3997817 apache 600 1  
 0x00000000 4030586 apache 600 1  
 0x00000000 4063355 apache 600 1  
 0x00000000 4096124 apache 600 1  
 0x00000000 4128893 apache 600 1  
 0x00000000 4161662 apache 600 1  
 0x00000000 4194431 apache 600 1   

Ketikan command berikut


 [root@serv01-aziz]# ipcs -s | grep apache | awk ' { print $2 } ' | xargs ipcrm sem  
 resource(s) deleted  
 .  
 [root@serv01-aziz]# /sbin/service httpd start  
 [ ok ] Starting web server: httpd... waiting .  
 [root@serv01-aziz]#  

Done

Subscribe to receive free email updates:

0 Response to "Apache Not Running - No space left on device: Couldn't create accept lock"

Post a Comment

Tinggalkan jejak agan dihalaman komentar dibawah ini.. Jangan lupa :)

- ITLampung.Com