LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-08-2003, 10:25 PM   #1
prozach
Member
 
Registered: Feb 2002
Distribution: Fedora RedHat Core 2
Posts: 58

Rep: Reputation: 15
Unhappy 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.
 
Old 02-09-2003, 03:22 AM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
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
 
Old 02-09-2003, 07:47 AM   #3
prozach
Member
 
Registered: Feb 2002
Distribution: Fedora RedHat Core 2
Posts: 58

Original Poster
Rep: Reputation: 15
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.
 
Old 02-09-2003, 11:08 AM   #4
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
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 ...
 
Old 02-10-2003, 04:07 PM   #5
prozach
Member
 
Registered: Feb 2002
Distribution: Fedora RedHat Core 2
Posts: 58

Original Poster
Rep: Reputation: 15
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
 
Old 09-09-2003, 06:48 AM   #6
Athaphian
LQ Newbie
 
Registered: Sep 2003
Location: Zoetermeer, Holland
Distribution: Gentoo
Posts: 9

Rep: Reputation: 0
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
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 ?

Last edited by Athaphian; 09-09-2003 at 06:51 AM.
 
Old 07-04-2004, 11:51 PM   #7
xbaez
Member
 
Registered: Mar 2004
Location: USA
Distribution: Ubuntu
Posts: 291

Rep: Reputation: 30
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?
 
Old 07-05-2004, 12:14 AM   #8
xbaez
Member
 
Registered: Mar 2004
Location: USA
Distribution: Ubuntu
Posts: 291

Rep: Reputation: 30
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
 
Old 07-05-2004, 05:20 AM   #9
Athaphian
LQ Newbie
 
Registered: Sep 2003
Location: Zoetermeer, Holland
Distribution: Gentoo
Posts: 9

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Error (Internal Server Error) dwarf007 Linux - Software 1 07-17-2005 01:16 PM
Apache Error nickmoncrief Linux - Newbie 25 04-15-2005 05:16 PM
Apache error elderain Linux - Software 1 08-16-2004 09:27 AM
apache error iamthewind Linux - Networking 1 08-11-2004 12:56 AM
Apache error Phaethar Linux - Software 0 12-15-2003 02:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration