Forum Moderators: phranque
I am having issues with my newly compiled apache2 server. I am running version 2.0.45 on a kernel version of 2.6.8.1. everytime I try to run httpd start or even apachectl I get this error in the error_logs :
(38)Function not implemented: Couldn't create accept lock
Has anyone come across this and if so has anyone resolved this? I have trawled all over the web and cannot find anything with a solution to this problem.
Thanks in Advance
Regards
Jason
Welcome to WebmasterWorld!
> newly compiled apache2 server
I'm just guessing, but this may have to do with file-locking. If so, there are many variations in how file-locking is accomplished on various CPU/OS platforms. Make sure the platform you compiled for is exactly what you are trying to run it on.
Jim
The documentation of certain scripting languages, such as PERL carries warnings that file-locking semantics differ across platforms, and so the language's built-in file-locking mechanism's may work differently on various platforms. PERL has nothing to do with your problem, but the warning might.
I assumed that you compiled the server. If not, look to the source of your compiled "package" for support. Your chances of finding others with the same problem are better there than here, where we have a small group of contributors whose server platforms and configurations are all different.
Jim
I figured it out....
To compile apache with a newer kernel you must compile it with the newer kernel headers folder of the new kernel. Also you must make sure you have System V IPC compiled into your kernel.
Also trying to run in it in xinetd seems to cause the issue as well .... so I just ran it from init.
All seems to be working like a charm now.
Cheers
Jason