I am using Centos 4.3 i386 and I installed the apache 2.0.59 php 5.1.6 and mysql 5.0.27 rpms from the centosplus repositories. I have two problems the first is:
On starting the apache server I get the following error:
[root@localhost linux 07-02-2007]# /usr/sbin/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.14: cannot open shared object file: No such file or directory
So I commented out line 6 and it runs fine, but I think I should correct the error. Anyone has ideas of how to correct this.
The Second problem is on running phpinfo i've noticed that mysql is not supported how can I get mysql support to work.
On 13/03/07, Ern jura exjura@gmail.com wrote:
I am using Centos 4.3 i386 and I installed the apache 2.0.59 php 5.1.6 and mysql 5.0.27 rpms from the centosplus repositories. I have two problems the first is:
On starting the apache server I get the following error:
[root@localhost linux 07-02-2007]# /usr/sbin/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.14: cannot open shared object file: No such file or directory
Don't start services directly, 'chkconfig' them on then 'service' start them to startup immediately.
# chkconfig httpd on # service httpd start
This *may* still result in an errors, I haven't got Apache, PHP and MySQL installed out of CentOS Plus on any systems but that's (one of) the canonical way(s) of starting services/daemons.
Try that then report any errors from that point on.
Will.
I've chkconfig already the problem still exists, on the archives of apache mailing list one mailer says that I can rename the auth_mysql.conf file if I do not use mysql for authentication what are the limitations of doing this
On 3/13/07, Will McDonald wmcdonald@gmail.com wrote:
On 13/03/07, Ern jura exjura@gmail.com wrote:
I am using Centos 4.3 i386 and I installed the apache 2.0.59 php 5.1.6and mysql 5.0.27 rpms from the centosplus repositories. I have two problems the first is:
On starting the apache server I get the following error:
[root@localhost linux 07-02-2007]# /usr/sbin/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.14: cannot open shared object file: No such
file
or directory
Don't start services directly, 'chkconfig' them on then 'service' start them to startup immediately.
# chkconfig httpd on # service httpd start
This *may* still result in an errors, I haven't got Apache, PHP and MySQL installed out of CentOS Plus on any systems but that's (one of) the canonical way(s) of starting services/daemons.
Try that then report any errors from that point on.
Will. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 3/13/07, Will McDonald wmcdonald@gmail.com wrote:
On 13/03/07, Ern jura exjura@gmail.com wrote:
I am using Centos 4.3 i386 and I installed the apache 2.0.59 php 5.1.6 and mysql 5.0.27 rpms from the centosplus repositories. I have two problems the first is:
On starting the apache server I get the following error:
[root@localhost linux 07-02-2007]# /usr/sbin/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.14: cannot open shared object file: No such file or directory
Note that mod_auth_mysql is very likely upgraded as well to version 3. It's possible that the syntax for the config file has changed. You should have /etc/httpd/conf.d/auth_mysql.conf.rpmnew or something similar in that directory. If you do, compare the two files to see what exactly has changed.
It would also be quite helpful for you to actually show us the .conf file (sanitized to remove db user/pass/host info) so that we know exactly where it's failing for you. I'm sure my line 6 is different from yours.
Don't start services directly, 'chkconfig' them on then 'service' start them to startup immediately.
# chkconfig httpd on # service httpd start
This *may* still result in an errors, I haven't got Apache, PHP and MySQL installed out of CentOS Plus on any systems but that's (one of) the canonical way(s) of starting services/daemons.
Try that then report any errors from that point on.
Will. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos