December 18, 2009

"out of space on device" - apache error logs

### "out of space on device" - apache error logs

There were myriads of semaphore-arrays left, owned by my apache-user.
ipcs -s | grep nobody
Removing this semaphores immediately solved the problem.
ipcs -s | grep nobody | perl -e 'while () { @a=split(/\s+/); print `ipcrm sem $a[1]`}'

===============================================================================================

### On accessing php files, its showing code

Its an issue since php fields are not properly parsed. To overcome this issue
search for AddType in httpd.conf and enter :

AddType application/x-httpd-php .php

===============================================================================================

No comments:

Post a Comment