logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Crashed WAMP server - Cannot load [...]/mod_auth_mysql
Author
Skipper



Joined: 26 Jun 2013
Posts: 3

PostPosted: Wed 26 Jun '13 16:31    Post subject: Crashed WAMP server - Cannot load [...]/mod_auth_mysql Reply with quote

I'm running a WAMP server, hosting an internal website for my company's use.

Windows XP Home SP3
Apache 2.0
MySQL Server 5.5
PHP 5.?

Last night Microsoft Security Essentials froze while running a scan. I restarted the scan and it froze again, so I rebooted the server. Now Apache won't start, providing the following error:

Code:
Syntax error on line 174 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf:
Cannot load C:/Program Files/Apache Group/Apache2/modules/mod_auth_mysql.so into server: %1 is not a valid Win32 application.


This server has been running just fine since February, and no updates were made that I'm aware of. I moved the mod_auth_msyql.so file and now I get the "file does not exist" error when I try to start Apache. I'm trying to replace the file in case it got corrupted, but APXS won't build me a new file - gcc.exe spits out all kinds of errors. I think it's for Apache 1.3, but I can't seem to find a newer version anywhere for 2.0.

I'll be away from the computer this afternoon but will answer any questions when I get back. Thanks so much for any help!

[Edit]
I commented out line 174 from httpd.conf and the server starts now. I was expecting it to serve pages and not reach the database, but apparently the db is up and running...and things are working fine? I'm confused now. Why wouldn't the server need to start the db? (And I still want to know how this issue occurred in the first place.) Oh, and mod_auth_mysql.so is still not even IN the Apache /modules/ folder.


Last edited by Skipper on Thu 27 Jun '13 14:18; edited 1 time in total
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 692

PostPosted: Thu 27 Jun '13 11:12    Post subject: Reply with quote

Your story confuses me too.

Where did you use mod_auth_mysql.so for ?
Any mysql strings in directives in your httpd.conf ?
Back to top
Skipper



Joined: 26 Jun 2013
Posts: 3

PostPosted: Thu 27 Jun '13 14:14    Post subject: Reply with quote

I don't believe so. Needless to say, I am new to Apache; the networking guy who built the server is not in right now, so it's up to me to fix it.

Is the mod_auth_mysql.so file just for setup purposes? It may have been because we were planning to do password authentication using the MySQL db but never got it set up properly.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3094
Location: Hilversum, NL, EU

PostPosted: Thu 27 Jun '13 14:49    Post subject: Reply with quote

You wrote: I don't believe so.
What do you not believe?

Yep it is only used for authentication against MySQL.
Back to top
Skipper



Joined: 26 Jun 2013
Posts: 3

PostPosted: Thu 27 Jun '13 15:53    Post subject: Reply with quote

Sorry; I don't believe there are MySQL string directives in HTTPD. I remember now that the .so file was activated for authentication, but we never got it working.
Back to top


Reply to topic   Topic: Crashed WAMP server - Cannot load [...]/mod_auth_mysql View previous topic :: View next topic
Post new topic   Forum Index -> Apache