Hello,
I just upgraded from WBEL 4 to Centos 4.1 per the FAQ. I'm pretty sure after running 'yum update', mysql and apache were updated.
I was previously using mod_auth_mysql under WBEL 4 to password protect several directories but now things seem to be broken. When I go to a password protected directory I get an Internal Server Error 500. The only explanation in the error log is "no user file?"
Any ideas?
TIA
Hello Thomas,
I guess you compiled mod_auth_mysql yourself...
AFAIR in an upgrade 4.0 -> 4.1 you get at least new releases of mysql and apache httpd. As you've probably already tried to restart your httpd after the upgrade, I'd suggest to double-check your httpd-configuration, maybe it was upgraded to not load mod_auth_mysql anymore (you should put configuration-stuff you add to /etc/httpd/conf.d/). If that doesn't work, my next step would be a recompile of mod_auth_mysql.
Regards, Andreas
Am Samstag, den 27.08.2005, 18:53 -0400 schrieb Thomas E Dukes:
Hello,
I just upgraded from WBEL 4 to Centos 4.1 per the FAQ. I'm pretty sure after running 'yum update', mysql and apache were updated.
I was previously using mod_auth_mysql under WBEL 4 to password protect several directories but now things seem to be broken. When I go to a password protected directory I get an Internal Server Error 500. The only explanation in the error log is "no user file?"
Any ideas?
TIA
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Andreas Rogge Sent: Sunday, August 28, 2005 3:12 PM To: CentOS mailing list Subject: Re: [CentOS] Mod_auth_mysql
Hello Thomas,
I guess you compiled mod_auth_mysql yourself...
AFAIR in an upgrade 4.0 -> 4.1 you get at least new releases of mysql and apache httpd. As you've probably already tried to restart your httpd after the upgrade, I'd suggest to double-check your httpd-configuration, maybe it was upgraded to not load mod_auth_mysql anymore (you should put configuration-stuff you add to /etc/httpd/conf.d/). If that doesn't work, my next step would be a recompile of mod_auth_mysql.
Hello,
Yes, I checked all that. Its loading and authorization window is opening but when I try to log in, I get the error 500. As far as the mod_auth_mysql module, it's the one supplied with the distro. Not sure which package either one of the mysql or httpd.
I can always go back to .htaccess if I can't get mysql to do the authorization.
Thanks!
Regards, Andreas
Am Samstag, den 27.08.2005, 18:53 -0400 schrieb Thomas E Dukes:
Hello,
I just upgraded from WBEL 4 to Centos 4.1 per the FAQ. I'm pretty sure after running 'yum update', mysql and apache were updated.
I was previously using mod_auth_mysql under WBEL 4 to
password protect
several directories but now things seem to be broken. When
I go to a
password protected directory I get an Internal Server Error
- The
only explanation in the error log is "no user file?"
Any ideas?
TIA
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Sun, 2005-08-28 at 16:03 -0400, Thomas E Dukes wrote:
Hello,
Yes, I checked all that. Its loading and authorization window is opening but when I try to log in, I get the error 500. As far as the mod_auth_mysql module, it's the one supplied with the distro. Not sure which package either one of the mysql or httpd.
I can always go back to .htaccess if I can't get mysql to do the authorization.
Thomas-
Anything interesting in the apache error logs? Also, are you using selinux?
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Sean O'Connell Sent: Sunday, August 28, 2005 4:17 PM To: CentOS mailing list Subject: RE: [CentOS] Mod_auth_mysql
On Sun, 2005-08-28 at 16:03 -0400, Thomas E Dukes wrote:
Hello,
Yes, I checked all that. Its loading and authorization window is opening but when I try to log in, I get the error 500. As
far as the
mod_auth_mysql module, it's the one supplied with the distro. Not sure which package either one of the mysql or httpd.
I can always go back to .htaccess if I can't get mysql to do the authorization.
Thomas-
Anything interesting in the apache error logs? Also, are you using selinux?
Hello Sean,
Not using selinux. The only thing in the log file is :
[Sun Aug 28 12:27:57 2005] [crit] [client 10.10.0.3] configuration error: couldn't check user. No user file?: /phpMyAdmin
This was working until I converted from WBEL 4 to CentOS 4.1. Does CentOS have mod_auth_mysql support complied in?
Thanks!!
-- Sean
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Sun, 2005-08-28 at 16:30 -0400, Thomas E Dukes wrote:
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Sean O'Connell Sent: Sunday, August 28, 2005 4:17 PM To: CentOS mailing list Subject: RE: [CentOS] Mod_auth_mysql
On Sun, 2005-08-28 at 16:03 -0400, Thomas E Dukes wrote:
Hello,
Yes, I checked all that. Its loading and authorization window is opening but when I try to log in, I get the error 500. As
far as the
mod_auth_mysql module, it's the one supplied with the distro. Not sure which package either one of the mysql or httpd.
I can always go back to .htaccess if I can't get mysql to do the authorization.
Thomas-
Anything interesting in the apache error logs? Also, are you using selinux?
Hello Sean,
Not using selinux. The only thing in the log file is :
[Sun Aug 28 12:27:57 2005] [crit] [client 10.10.0.3] configuration error: couldn't check user. No user file?: /phpMyAdmin
This was working until I converted from WBEL 4 to CentOS 4.1. Does CentOS have mod_auth_mysql support complied in?
Thomas-
CentOS has a mod_auth_mysql rpm. You might want to make sure that it is installed (rpm -q mod_auth_mysql). I don't believe it is installed by deafult. If not, yum install mod_auth_mysql
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Sean O'Connell Sent: Sunday, August 28, 2005 4:43 PM To: CentOS mailing list Subject: RE: [CentOS] Mod_auth_mysql
On Sun, 2005-08-28 at 16:30 -0400, Thomas E Dukes wrote:
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Sean O'Connell Sent: Sunday, August 28, 2005 4:17 PM To: CentOS mailing list Subject: RE: [CentOS] Mod_auth_mysql
On Sun, 2005-08-28 at 16:03 -0400, Thomas E Dukes wrote:
Hello,
Yes, I checked all that. Its loading and authorization
window is
opening but when I try to log in, I get the error 500. As
far as the
mod_auth_mysql module, it's the one supplied with the
distro. Not
sure which package either one of the mysql or httpd.
I can always go back to .htaccess if I can't get mysql
to do the
authorization.
Thomas-
Anything interesting in the apache error logs? Also, are
you using
selinux?
Hello Sean,
Not using selinux. The only thing in the log file is :
[Sun Aug 28 12:27:57 2005] [crit] [client 10.10.0.3]
configuration error:
couldn't check user. No user file?: /phpMyAdmin
This was working until I converted from WBEL 4 to CentOS 4.1. Does CentOS have mod_auth_mysql support complied in?
Thomas-
CentOS has a mod_auth_mysql rpm. You might want to make sure that it is installed (rpm -q mod_auth_mysql). I don't believe it is installed by deafult. If not, yum install mod_auth_mysql
Hello Sean,
I re-installed the package but that didn't help either. Maybe this is a bug in CentOS 4.1 as it was working under WBEL 4.
Thanks
On Wed, 2005-08-31 at 08:30 -0400, Thomas E Dukes wrote:
Thomas-
CentOS has a mod_auth_mysql rpm. You might want to make sure that it is installed (rpm -q mod_auth_mysql). I don't believe it is installed by deafult. If not, yum install mod_auth_mysql
Hello Sean,
I re-installed the package but that didn't help either. Maybe this is a bug in CentOS 4.1 as it was working under WBEL 4.
Thomas-
Is mysql functioning properly? Can you successfully make the same query that mod_auth_mysql should be doing? This is getting out of my area of experience.
Have you looked in the redhat bugzilla?
Good luck,
On Wed, 2005-08-31 at 20:03 -0700, Sean O'Connell wrote:
On Wed, 2005-08-31 at 08:30 -0400, Thomas E Dukes wrote:
Thomas-
CentOS has a mod_auth_mysql rpm. You might want to make sure that it is installed (rpm -q mod_auth_mysql). I don't believe it is installed by deafult. If not, yum install mod_auth_mysql
Hello Sean,
I re-installed the package but that didn't help either. Maybe this is a bug in CentOS 4.1 as it was working under WBEL 4.
Thomas-
Is mysql functioning properly? Can you successfully make the same query that mod_auth_mysql should be doing? This is getting out of my area of experience.
Have you looked in the redhat bugzilla?
One thing that I have noticed with mod_auth issues is this ... having more that one installed sometimes causes issues.
If you want to use mod_auth_mysql, do this:
rpm -qa | grep mod_auth
remove everything except mod_auth_mysql and see if that helps.
(remember which packages you removed, in case you need to put them back :)