Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-02-2004, 08:40 AM   #1
KidCock
So Fucking Banned
 
Join Date: May 2003
Location: San Pedro, Costa Rica
Posts: 788
Apache / FreeBSD problem...

I am running the following on FreeBSD 5.2-RELEASE #0

Apache/1.3.29 (Unix)
AuthMySQL/2.20
PHP/5.0.0a3-alexdupre
mod_ssl/2.8.16
OpenSSL/0.9.7c

Now when I try to access my directory protected by auth_mysql, I get the popup box as normal. However should I cancel, enter correct info or enter incorrect info, I always receive a 500 internal server error page.

My apache log shows me the following:

[Mon Mar 1 17:21:45 2004] [error] (49)Can't assign requested address: MySQL auth: connect failed: Can't connect to MySQL server on '192.168.0.77' (49)

I assumed this was some kind of server config / network issue, but have searched the web and found no help. I've verified my /etc/hosts, verified my loopback is configured, verified MySQL is running and the host/user/pass defined in my info line for auth_mysql in httpd.conf is valid...

Anyone have any suggestions, solutions ??

Thx
KidCock is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-02-2004, 08:47 AM   #2
notjoe
Confirmed User
 
Industry Role:
Join Date: May 2002
Location: Toronto, Canada
Posts: 5,599
Quote:
Originally posted by KidCock
I am running the following on FreeBSD 5.2-RELEASE #0

Apache/1.3.29 (Unix)
AuthMySQL/2.20
PHP/5.0.0a3-alexdupre
mod_ssl/2.8.16
OpenSSL/0.9.7c

Now when I try to access my directory protected by auth_mysql, I get the popup box as normal. However should I cancel, enter correct info or enter incorrect info, I always receive a 500 internal server error page.

My apache log shows me the following:

[Mon Mar 1 17:21:45 2004] [error] (49)Can't assign requested address: MySQL auth: connect failed: Can't connect to MySQL server on '192.168.0.77' (49)

I assumed this was some kind of server config / network issue, but have searched the web and found no help. I've verified my /etc/hosts, verified my loopback is configured, verified MySQL is running and the host/user/pass defined in my info line for auth_mysql in httpd.conf is valid...

Anyone have any suggestions, solutions ??

Thx
Is the DB located on another server or is it located on this machine? Is the IP binded to a server?

If the DB is located on the same machine then try switching the ip address to 127.0.0.1 (localhost address) and see if it works. If the machine is on the other box then make sure that mysql is running and that the IP 192.168.0.77 is binded to that machine.
notjoe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-02-2004, 12:50 PM   #3
KidCock
So Fucking Banned
 
Join Date: May 2003
Location: San Pedro, Costa Rica
Posts: 788
I solved the trouble. It seems just the auth_mysql module itself is buggy, I installed an alternate one from FreeBSD ports:

/usr/ports/www/mod_auth_mysql_another/

and it works perfectly right away without any other changes on the server =)
KidCock is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.