LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 07-16-2003, 06:38 PM   #1
krumholz
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 mod_auth_mysql.so needed to be upgraded. I downloaded a new version from http://www.aucs.org/rpmcenter/detai...0.i386.rpm.html

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.

uggghhhhh

Any ideas ?????
 
Old 07-17-2003, 08:13 AM   #2
sidey
Member
 
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
Rumblefish
Member
 
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
krumholz
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.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to start kstartupconfig error manis Suse/Novell 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 mod_auth_mysql.so Null537 Linux - Software 3 05-29-2004 10:32 AM
Unable to install Apache: Error: mod_accounting.so 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


All times are GMT -5. The time now is 06:12 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration