Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-16-2003, 06:38 PM   #1
LQ Newbie
Registered: Jul 2002
Location: Chicago
Distribution: RH9
Posts: 24

Rep: Reputation: 15
Unable to start apache because of mod_auth_mysql error

I am try to upgrade my apache install to a lamp compatible (linux, apache, mySql, PHP). When I installed RH 9 I selected the Apache (not sure of the version) but the new version I am trying to use is 2.0.47.

apachectl -v
Server version: Apache/2.0.47
Server built: Jul 15 2003 19:33:30

When I run

apachectl start

I get the following error:

httpd: module "mod_auth_mysql.c" is not compatible with this version of Apache (found 20020628, need 20020903).
Please contact the vendor for the correct version.

Reading news groups I got the impression that my needed to be upgraded. I downloaded a new version from

The detil page on the site list httpd-mmn = 20020903, the version the error message requires. The RPM install gave me the follow error:

error: Failed dependencies:
httpd >= 2.0.43 is needed by mod_auth_mysql-1.11-11.8.0
httpd-mmn = 20020903 is needed by mod_auth_mysql-1.11-11.8.0

I checked the define mmn in httpd.spec and it is 20020903, so I thibk I built with the correct version.


Any ideas ?????
Old 07-17-2003, 08:13 AM   #2
Registered: Mar 2003
Location: Essex UK
Distribution: rh 8.0 bsd 5.0 slack 9.0 rc2 crux
Posts: 147

Rep: Reputation: 15
*slap* *slap* *slap*

get the tar ball

then try again

RPM's are the easy way out and you can end up having to install loadsa crap before it works, just compile it yourself a whole lot easier.
Old 07-17-2003, 10:12 AM   #3
Registered: Jun 2003
Location: Delaware
Distribution: Redhat 7.0, 7.2, 8.0, 9.0, FreeBSD 4.6.2
Posts: 51

Rep: Reputation: 15
Also, let me ask if you plan on a) using MySQL in your Web sites (ie, if you plan on connecting to a MySQL database through Perl or PHP); or b) using MySQL as a place to store your actual *Apache* auth information (ie, Apache itself will connect directly to MySQL, not via PHP or Perl)? If it's B, then follow the instructions from sidey, because RPMs shouldn't be used for apps or libraries that at as configurable as Apache, MySQL or PHP. The RPM menu for PHP will only give you access to about 20% of the possible configuration options.

If you are using it for the purposes specified by A, though, you don't even need the mod_auth_mysql module. PHP has connectivity for MySQL included if you include the --with-mysql config flag, and Perl can access it using the DBD::mysql Perl module. I have mod_auth_mysql disabled on nearly every Linux server I'm responsible for, with absolutely no issues.
Old 07-17-2003, 12:18 PM   #4
LQ Newbie
Registered: Jul 2002
Location: Chicago
Distribution: RH9
Posts: 24

Original Poster
Rep: Reputation: 15
I plan on using the setup to access NetJuKe and serve web pages so i can disable the MySQL auth. Thanks !!!! I will try tonight at home.

I will also try compiling the tar ball again. After the RPM failed I dl the source but it failed to compile, it looks like one of my include files was out of date. Dont have access to the compile errors now.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to start kstartupconfig error manis SUSE / openSUSE 6 09-19-2012 06:01 AM
apache module mod_auth_mysql question SuSE_fan Linux - Software 0 06-01-2004 06:51 AM
Apache won't start, problem with libcppu and Null537 Linux - Software 3 05-29-2004 10:32 AM
Unable to install Apache: Error: does not have a corresponding .in Codeman05 Linux - Software 0 02-03-2004 06:03 PM
unable to start apache after installing NIC driver bcarl314 Linux - Newbie 6 09-24-2003 07:43 AM > Forums > Linux Forums > Linux - General

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

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