LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Apache Error (https://www.linuxquestions.org/questions/linux-networking-3/apache-error-44653/)

prozach 02-08-2003 10:25 PM

Apache Error
 
Ok, here's the situation, I just upgrade my RH 8 box to openssl 0.9.7 and all the associated dependencies with it (I used RPM’s here). After the upgrade when I went to restart my httpd service the service didn’t start and gave me this error:

[Date Info] [crit] (38)Function not implemented: mod_rewrite: could not create rewrite_log_lock
Configuration Failed

So I disabled the mod_rewrite module and tried to restart, this time it appeared to start then promptly died with this error:

[Date Info] [notice] Digest: generating secret for digest authentication ...
[Date Info] [notice] Digest: done
[Date Info] [emerg] (38)Function not implemented: Couldn't create accept lock

It appears that it’s having problems with writing the lock files, how can I fix this? I haven’t found much info on the net. Any ideas? Please help.
:confused:

markus1982 02-09-2003 03:22 AM

That's why I don't like RPM installations of servers - you alsways tend to have problems. If building the http server yourself from source is an option check this thread

prozach 02-09-2003 07:47 AM

I'll install from source if i cant get this to work, but why would installing from source be able to write to the lock files if the currently installed version couldn't? It seems like i have to fix some permissions somewhere. And the totally wierd thing is that this should have worked as i had apache 2.0.43 running fine, then went to 2.0.40 that was created with openssl 0.9.7 included instead of 0.9.6.

markus1982 02-09-2003 11:08 AM

Quote:

I'll install from source if i cant get this to work, but why would installing from source be able to write to the lock files if the currently installed version couldn't?
My answer wasn't directly related to your question ... you could run strace on it and see where exactly the problem is ...

prozach 02-10-2003 04:07 PM

i tried strace, didnt get much more info, i just finished taking a backup of user information then formatting and installing the new RH 8.0.93, it all works now

Athaphian 09-09-2003 06:48 AM

I see this is quite an old topic...
I ran into the same problem here, a few days ago.

Using:
Gentoo with kernel 2.4.20 and apache 2.0.47

(for the record: its a p120-32mb with 1gb, soon-to-be-webserver)

I compiled the kernel on a faster machine with more HD space so there are no sources on this machine. Is this a problem when compiling (emerging) apache2.0.47 ?

I get the following errors as described above:
[notice] Digest: generating secret for digest authentication ...
[notice] Digest: done

-- so far doesnt seem to be a problem --

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

-- here is the problem --

so the answers I like to get are:
1 how to fix this ofcourse :D
2 is it a problem that the kernel is compiled on another machine ?
3 can this be fixed by using anoter version of kernel or apache ?

xbaez 07-04-2004 11:51 PM

Kernel related?
 
After I install kernel 2.4.26 apache doesn't starts

I receive this error:

[Sun Jul 04 23:01:54 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache-2.0.49/bin/suexec)
[Sun Jul 04 23:01:54 2004] [crit] (38)Function not implemented: mod_rewrite: could not create rewrite_log_lock
Configuration Failed

Any ideas?

xbaez 07-05-2004 12:14 AM

It's all solved

I had to reconfigure, make, and make install apache

I suppose this apache will now work with my previous kernel as well

Athaphian 07-05-2004 05:20 AM

I finally solved it by using apache 1.something it seems that 2 had some problems back then.
It was a while ago :P


All times are GMT -5. The time now is 09:06 AM.