LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-30-2004, 02:54 PM   #1
emetib
Member
 
Registered: Feb 2003
Posts: 484

Rep: Reputation: 33
apache mod_... problems


i just did basically a live update from 9.1 to 10 official. changed the urpmi mirrors and now i can't get my apache to run.

prometheus chad # ADVXctl start
Starting httpd2: mod_clamav.c:1328: cannot create mutex clamav.lockmod_clamav.c:1341: cannot create shared memory clamav.shm: statistics will not be available
[FAILED]

i don't have the slighest on that part. so i checked the error log to see if it might help.

cat /var/log/httpd/error_log
[Fri Apr 30 14:00:28 2004] [crit] (38)Function not implemented: mod_rewrite: could not create rewrite_log_lock
Configuration Failed

that's what was showing up, so i commented out the rewrite module
[Fri Apr 30 13:10:42 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/apache2-suexec)
mod_clamav.c:1328: cannot create mutex clamav.lockmod_clamav.c:1341: cannot create shared memory clamav.shm: statistics will not be available
[Fri Apr 30 13:10:43 2004] [notice] Digest: generating secret for digest authentication ...
[Fri Apr 30 13:10:43 2004] [notice] Digest: done
[Fri Apr 30 13:10:43 2004] [emerg] (38)Function not implemented: Couldn't create accept lock

once i did that i can atleast get past the unkown host and apache will start. now all it does is 'can't connect to cerberus.cc'. it doesn't matter if i try to go in other ways or not. when i uncomment out the mod_rewrite now it comes up, the host, not the page. apache still won't start.
 
Old 05-01-2004, 05:19 PM   #2
svbathe
LQ Newbie
 
Registered: Nov 2003
Location: Pune, India
Distribution: RH
Posts: 10

Rep: Reputation: 0
Hi,

Try commenting out mod_clamav if you do not need it.
From the logs it seems this module is causing the problems.
If that doesnt work try commenting both rewite and clamav modules.
 
Old 05-01-2004, 05:52 PM   #3
emetib
Member
 
Registered: Feb 2003
Posts: 484

Original Poster
Rep: Reputation: 33
i got rid of the apache2-mod_clamav all together. commented out the rewrite, but it's still not working.
maybe i should just reinstall apache.
 
Old 05-07-2004, 04:40 AM   #4
delboy711
LQ Newbie
 
Registered: Mar 2003
Distribution: Mandriva
Posts: 10

Rep: Reputation: 0
Bugzilla


Quote:
[Fri Apr 30 14:00:28 2004] [crit] (38)Function not implemented: mod_rewrite: could not create rewrite_log_lock
There is a thread on this problem in Mandrake Bugzilla
http://qa.mandrakesoft.com/show_bug.cgi?id=9167

The problem seems to affect Via C3 processors, but users of Athlons have also had problems.
Rebuilding apache from http://katu3.zarb.org/~misc/apache2/...8-7mdk.src.rpm
seems to fix it.

In my case I simply downgraded Apache2 back to the version in 9.2

Last edited by delboy711; 05-07-2004 at 04:42 AM.
 
Old 07-04-2004, 11:44 PM   #5
xbaez
Member
 
Registered: Mar 2004
Location: USA
Distribution: Ubuntu
Posts: 291

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

This surely has something to do with my kernel

Maybe, I can start with the new kernel, compile apache again, and hopefully it will work
 
Old 07-05-2004, 12:13 AM   #6
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-27-2004, 03:34 PM   #7
bigjoelinux
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
Seeing same issue

Having just installed Mandrake 10.0 with updates, I'm seeing the same issue with httpd not starting up. I removed apache2-2.0.48-6mdk, and installed apache2-2.048-6.3.100, and I still get the same result.

# /etc/init.d/httpd start
Re-creating /etc/httpd/extramodules
Starting httpd2: [FAILED]

In the error_log file

[Tue Jul 27 11:46:07 2004] [crit] (38)Function not implemented: mod_rewrite: could not create rewrite_log_lock
Configuration Failed

My kernel is

# rpm -qa | grep kernel
kernel-2.6.3.7mdk-1-1mdk

Any suggestions?
 
Old 07-30-2004, 06:02 PM   #8
xbaez
Member
 
Registered: Mar 2004
Location: USA
Distribution: Ubuntu
Posts: 291

Rep: Reputation: 30
Try recompiling apache
Configure it from source
 
Old 08-01-2004, 02:16 PM   #9
emetib
Member
 
Registered: Feb 2003
Posts: 484

Original Poster
Rep: Reputation: 33
follow what delboy711's advice. that's what i had to do.
 
Old 05-14-2008, 06:38 PM   #10
ejbrun
LQ Newbie
 
Registered: May 2008
Posts: 2

Rep: Reputation: 0
Four years later, I feel this addendum is necessary as I encountered the same issue on a gentoo system that I built. When I googled the error:
Code:
(38)Function not implemented: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
This forum was the first listed result.

I found that the error was perhaps realted to the lack of something called System V IPC being compiled into the kernel.

This can be found in menuconfig under "General Setup -> System V IPC"

recompile, install the new kernel, and if this was your problem: Apache should start working.
 
Old 01-03-2009, 04:50 PM   #11
rafo
LQ Newbie
 
Registered: Nov 2003
Location: Sollentuna, Sweden
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0
Thumbs up

Really happy I found this thread. I had the same problem, and the cure worked.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 1.3 problems Dill Linux - Software 4 09-05-2004 05:01 PM
Apache problems BrettPower Linux - Networking 3 03-06-2004 10:52 PM
Apache problems rooster13 Linux - Networking 6 07-16-2003 11:41 PM
Apache virtualhost problems, apache install problems nyroc Linux - Software 2 06-09-2003 11:16 PM
Apache problems RecoilUK Linux - Networking 6 07-13-2001 06:42 PM

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

All times are GMT -5. The time now is 03:29 AM.

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