Forum Moderators: phranque

Message Too Old, No Replies

Apache2 error after kernelupgrade: Couldn't create accept lock

emerg] (38)Function not implemented: Couldn't create accept lock

         

mcjp

9:37 pm on Jun 1, 2004 (gmt 0)

10+ Year Member



I recently switched linux kernels from a 2.2.0 kernel to a 2.4.26 kernel. Everything works fine except for apache2.
Apache 2.0.48 won't start en gives the following error.
Output httpd_error_log:

[Tue Jun 01 22:37:06 2004] [notice] uriEnv.setAttribute() the worker directive is deprecated. Use 'group' instead.
[Tue Jun 01 22:37:06 2004] [emerg] (38)Function not implemented: Couldn't create accept lock

I tried to reinstall and even upgraded to 2.0.49, but the error remains.
I think both entries are separate issues and not related, but I can't figure out where to look.

I'm using apache with jk2 and tomcat5.

encyclo

11:35 pm on Jun 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, mcjp!

I found this which might help:

[bugzilla.redhat.com...]

Check the last comment, which gives a solution - check that

/usr/include/linux
is symlinked to
/usr/src/linux/include/linux
, then recompile Apache. Also on the RedHat mailing list [redhat.com].

mcjp

5:56 pm on Jun 2, 2004 (gmt 0)

10+ Year Member



Well if apache uses tthe kernelheaders from /usr/include/linux; that will mean that it uses old and therefore incomplete headers.

That symlink might just do the trick.

I will keep you posted!

mcjp

6:55 pm on Jun 2, 2004 (gmt 0)

10+ Year Member



I can't compile apache with that symlink so I don't think that is the solution to my problem...

Any1 else got suggestions?

mcjp

6:18 pm on Jun 3, 2004 (gmt 0)

10+ Year Member



I found it..

The solution was to compile System V IPC support in your kernel.

Hail to google!

Thanx for the help guyz!