Unable to start Apache
Some weird error shows up today when trying to start the Apache services at one of the Centos server. The command “service httpd start” executed without any errors but there’s no apache processes running at the server backend. However, apache error logs have the following logged:
[Tue Nov 11 11:28:17 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Tue Nov 11 11:28:17 2008] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
Run the following as root :
[root@localhost logs]# ipcs -s | grep nobody
and you should get something like:
0×00000000 10747904 nobody 600 1
0×00000000 10780673 nobody 600 1
0×00000000 10813442 nobody 600 1
0×00000000 10846211 nobody 600 1
0×00000000 12255236 nobody 600 1
0×00000000 12288005 nobody 600 1
0×00000000 12320774 nobody 600 1
0×00000000 12353543 nobody 600 1
0×00000000 12582920 nobody 600 1
0×00000000 12615689 nobody 600 1
0×00000000 12648458 nobody 600 1
0×00000000 12681227 nobody 600 1
0×00000000 13172748 nobody 600 1
0×00000000 13205517 nobody 600 1
0×00000000 13238286 nobody 600 1
0×00000000 13271055 nobody 600 1
0×00000000 13369360 nobody 600 1
0×00000000 13402129 nobody 600 1
0×00000000 13434898 nobody 600 1
0×00000000 13467667 nobody 600 1
0×00000000 13697044 nobody 600 1
0×00000000 13729813 nobody 600 1
0×00000000 13762582 nobody 600 1
0×00000000 13795351 nobody 600 1
0×00000000 13893656 nobody 600 1
0×00000000 13926425 nobody 600 1
0×00000000 13959194 nobody 600 1
0×00000000 13991963 nobody 600 1
0×00000000 14352412 nobody 600 1
0×00000000 14385181 nobody 600 1
0×00000000 14417950 nobody 600 1
0×00000000 14450719 nobody 600 1
0×00000000 14549024 nobody 600 1
0×00000000 14581793 nobody 600 1
0×00000000 14614562 nobody 600 1
0×00000000 14647331 nobody 600 1
0×00000000 14745636 nobody 600 1
0×00000000 14778405 nobody 600 1
0×00000000 14811174 nobody 600 1
0×00000000 14843943 nobody 600 1
0×00000000 14942248 nobody 600 1
0×00000000 14975017 nobody 600 1
0×00000000 15007786 nobody 600 1
0×00000000 15040555 nobody 600 1
0×00000000 15138860 nobody 600 1
0×00000000 15171629 nobody 600 1
0×00000000 15204398 nobody 600 1
0×00000000 15237167 nobody 600 1
0×00000000 15335472 nobody 600 1
0×00000000 15368241 nobody 600 1
0×00000000 15401010 nobody 600 1
0×00000000 15433779 nobody 600 1
0×00000000 15532084 nobody 600 1
0×00000000 15564853 nobody 600 1
0×00000000 15597622 nobody 600 1
0×00000000 15630391 nobody 600 1
0×00000000 15728696 nobody 600 1
0×00000000 15761465 nobody 600 1
0×00000000 15794234 nobody 600 1
0×00000000 15827003 nobody 600 1
0×00000000 15925308 nobody 600 1
0×00000000 15958077 nobody 600 1
0×00000000 15990846 nobody 600 1
0×00000000 16023615 nobody 600 1
0×00000000 16121920 nobody 600 1
0×00000000 16154689 nobody 600 1
0×00000000 16187458 nobody 600 1
0×00000000 16220227 nobody 600 1
0×00000000 16318532 nobody 600 1
0×00000000 16351301 nobody 600 1
0×00000000 16384070 nobody 600 1
0×00000000 16416839 nobody 600 1
0×00000000 16515144 nobody 600 1
0×00000000 16547913 nobody 600 1
0×00000000 16580682 nobody 600 1
0×00000000 16613451 nobody 600 1
0×00000000 17170508 nobody 600 1
0×00000000 17203277 nobody 600 1
0×00000000 17236046 nobody 600 1
0×00000000 17268815 nobody 600 1
0×00000000 17367120 nobody 600 1
0×00000000 17399889 nobody 600 1
0×00000000 17432658 nobody 600 1
0×00000000 17465427 nobody 600 1
0×00000000 17563732 nobody 600 1
0×00000000 17596501 nobody 600 1
0×00000000 17629270 nobody 600 1
0×00000000 17662039 nobody 600 1
0×00000000 19202136 nobody 600 1
0×00000000 19234905 nobody 600 1
0×00000000 19267674 nobody 600 1
0×00000000 19300443 nobody 600 1
0×00000000 19988572 nobody 600 1
0×00000000 20021341 nobody 600 1
0×00000000 20054110 nobody 600 1
0×00000000 20086879 nobody 600 1
0×00000000 20185184 nobody 600 1
0×00000000 20217953 nobody 600 1
0×00000000 20250722 nobody 600 1
0×00000000 20283491 nobody 600 1
0×00000000 20512868 nobody 600 1
0×00000000 20545637 nobody 600 1
0×00000000 20578406 nobody 600 1
0×00000000 20611175 nobody 600 1
0×00000000 21102696 nobody 600 1
0×00000000 21135465 nobody 600 1
0×00000000 21168234 nobody 600 1
0×00000000 21201003 nobody 600 1
0×00000000 21299308 nobody 600 1
0×00000000 21332077 nobody 600 1
0×00000000 21364846 nobody 600 1
0×00000000 21397615 nobody 600 1
0×00000000 21495920 nobody 600 1
0×00000000 21528689 nobody 600 1
0×00000000 21561458 nobody 600 1
0×00000000 21594227 nobody 600 1
0×00000000 21692532 nobody 600 1
0×00000000 21725301 nobody 600 1
0×00000000 21758070 nobody 600 1
0×00000000 21790839 nobody 600 1
0×00000000 22151288 nobody 600 1
0×00000000 22184057 nobody 600 1
0×00000000 22216826 nobody 600 1
0×00000000 22249595 nobody 600 1
0×00000000 22347900 nobody 600 1
0×00000000 22380669 nobody 600 1
0×00000000 22413438 nobody 600 1
0×00000000 22446207 nobody 600 1
Though the error logged at Apache error log shows there’s not enough space, the disk partition have plenty of rooms available. The apache may have not been restarted properly and some semaphore array has been left reside in the memory. To kill the processes, execute the following ( assuming the apache is running as ‘nobody’ user):
[root@localhost logs]# ipcs -s | grep nobody | perl -e ‘while (
) { @a=split(/\s+/); print `ipcrm sem $a[1]`}’
and you should see tones of “resource(s) deleted” output shows up as soon as you hit the enter. Try restarting your apache now and it should be coming up nicely now.
Post comment
Categories
Recent Posts
- yum update – TypeError: unsubscriptable object
- Magento with Windows IIS
- Helm3 : File Manager Not Showing any Files
- Helm4 Error on Remove Domain
- SQL 2008 Maintenance Plan Execution Error
Recent Comments
- Superrookie on Cannot create Windows Service for MySQL.Error:0
- Martin on Cannot create Windows Service for MySQL.Error:0
- About MySQL.Error On Windows 7 | Robin Blog - UED, Open source, SEO, Marketing on Cannot create Windows Service for MySQL.Error:0
- Totally Frustrated MySQL Newbie on Cannot create Windows Service for MySQL.Error:0
- Simon on Cannot create Windows Service for MySQL.Error:0

