If you’ve rolled your own kernel and you’re getting this error when starting Apache:
[crit] (38)Function not implemented: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
It’s probably because you’ve cut a vital library — System V IPC. Enable it under General Setup - System V IPC, and recompile.