Results 1 to 10 of 10
i installed mysql on redhat 9. now, if i start httpd , the following error comes. Pliz reply with a solution. thanx
# service httpd start
Starting httpd: Syntax error ...
- 04-26-2005 #1Just Joined!
- Join Date
- Mar 2005
- Location
- india
- Posts
- 87
httpd start error
i installed mysql on redhat 9. now, if i start httpd , the following error comes. Pliz reply with a solution. thanx
# service httpd start
Starting httpd: Syntax error on line 6 of /etc/httpd/conf.d/auth_mysql.conf:
Cannot load /etc/httpd/modules/mod_auth_mysql.so into server: libmysqlclient.so.10: cannot open shared object file: No such file or directory
[FAILED]
- 04-26-2005 #2Just Joined!
- Join Date
- Feb 2004
- Location
- Indonesia
- Posts
- 84
#1. stop trying to make a bigger write in this post (me, myself hate it)
#2. why not you inspect it first file /etc/httpd/conf.d/auth_mysql.conf on line 6
#3. did you install mysql ? why not try installed all dependencies
check -> rpm -qa|grep mysql
and try to install all the mysql module, if you more interesting why not add like php, open-ssl
hope this help you
- 04-26-2005 #3
could u paste the first 10 lines ot so of the auth_mysql.conf?
I have one on my server that works, so can hopefully tell u what's up with it.
"I am not an alcoholic, alcoholics go to meetings"
Registered Linux user = #372327
- 04-26-2005 #4Just Joined!
- Join Date
- Mar 2005
- Location
- india
- Posts
- 87
few lines of ....
hi sdousley, thanx for ur reply.
# cat auth_mysql.conf | more
#
# mod_auth_mysql can be used to limit access to documents by checking
# data in a MySQL database.
#
LoadModule mysql_auth_module modules/mod_auth_mysql.so
# This will enable user-based MySQL authentication of everything
# within /var/www. You'll need to do the following as the MySQL
# root user beforehand:
#
if i put a comment before "LoadModule" , it works fine.
- 04-26-2005 #5Linux Enthusiast
- Join Date
- Feb 2005
- Location
- SE, Stockholm
- Posts
- 512
Re: few lines of ....
It's just because you do not have the module "mod_auth_mysql.so" installed in yur system. As provided in a earlier reply, check your installation that you do not miss any files concerning MySQL libraries.
Originally Posted by jkmartha
By the way, are you infact planning to use Authentication to your Webserver with MySQL? If not, just remark that line and you are set!
- 04-26-2005 #6
ok, i dont have the auth_mysql.conf file.
it must not be needed to get apache/php to connect to mysql databases as it all works ok here!"I am not an alcoholic, alcoholics go to meetings"
Registered Linux user = #372327
- 04-29-2005 #7Just Joined!
- Join Date
- Apr 2005
- Posts
- 88
HTTPD Start Error
Greetings,
Can u mention the MySQL Version you have installed and getting error with??? Basically, its a library error and you have to get the library need to be installed.. So, if you can mention the version of the Httpd, php may be I can be of any help.
Regards
- 04-29-2005 #8Just Joined!
- Join Date
- Mar 2005
- Location
- india
- Posts
- 87
hiii
mysql - 4.1.11, php - 4.2.2, apache - 2.0.40 ..............but how can i miss any library since i installed from source ????
- 04-29-2005 #9
You can miss things by not using switches since not everything is default try ./configure --help for a list of switches. But as said if you dont need it just comment the module out of your httpd.conf.
- 04-29-2005 #10Just Joined!
- Join Date
- Apr 2005
- Posts
- 88
httpd error
Greetings,
You have to do that only if you have installed the httpd using the Tar Ball if you havent installed httpd using the Tar Ball you wont be requiring it.
Regards


Reply With Quote
