- 论坛徽章:
- 0
|
Linux 内核版本: 2.4.20-2.41smp
服务器解译引擎 Apache/2.0.40 (Red Hat Linux)
SQL 4.1.18
原来一切运行正常,跑着blog和一个discuz的论坛
今天安装了一个ZendOptimizer-2.6.2-linux-glibc21-i386.tar.gz
tar出来后,install了 不知道怎么回事,重新启动httpd的时候就出错了
- [root@sun20 mysql]# /etc/init.d/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: /etc/httpd/modules/mod_auth_mysql.so: undefined symbol: ap_escape_logitem
复制代码
因为本机还跑着另外一个站点,所以得尽快恢复,我到/etc/httpd/conf.d/auth_mysql.conf将出错的这样注释掉了。
- #LoadModule mysql_auth_module modules/mod_auth_mysql.so
复制代码
总算httpd能启动了,mysql也能启动,但是论坛没有任何显示,blog提示说
- Your server does not seem to support MySQL, so Bo-Blog 2.x can not run at your server.
复制代码
在log里看到这段
- [Tue Mar 07 16:48:43 2006] [warn] child process 16607 still did not exit, sending a SIGTERM
- [Tue Mar 07 16:48:43 2006] [warn] child process 16609 still did not exit, sending a SIGTERM
- [Tue Mar 07 16:48:43 2006] [warn] child process 16610 still did not exit, sending a SIGTERM
- [Tue Mar 07 16:48:43 2006] [notice] caught SIGTERM, shutting down
- PHP Warning: Unable to load dynamic library '/usr/lib/php4/mysql.so' - libmysqlclient.so.10: cannot open shared object file: No such file or directory in Unknown on line 0
- [Tue Mar 07 16:48:55 2006] [notice] Digest: generating secret for digest authentication ...
- [Tue Mar 07 16:48:55 2006] [notice] Digest: done
- [Tue Mar 07 16:48:56 2006] [notice] Apache/2.0.40 (Red Hat Linux) configured -- resuming normal operations
- [Tue Mar 07 16:48:58 2006] [warn] child process 16926 still did not exit, sending a SIGTERM
- [Tue Mar 07 16:48:58 2006] [notice] caught SIGTERM, shutting down
复制代码
然后找libmysqlclient.so.10,在/usr/lib/mysql发现没有这个文件,列表如下。
- [root@sun20 mysql]# ls -l
- total 1808
- -rw-r--r-- 1 root root 10776 Feb 19 2003 libdbug.a
- -rw-r--r-- 1 root root 32156 Feb 19 2003 libheap.a
- -rw-r--r-- 1 root root 13590 Feb 19 2003 libmerge.a
- -rw-r--r-- 1 root root 237776 Feb 19 2003 libmyisam.a
- -rw-r--r-- 1 root root 20816 Feb 19 2003 libmyisammrg.a
- -rw-r--r-- 1 root root 298994 Feb 19 2003 libmysqlclient.a
- -rw-r--r-- 1 root root 304340 Feb 19 2003 libmysqlclient_r.a
- lrwxrwxrwx 1 root root 26 Nov 13 2004 libmysqlclient_r.so -> libmysqlclient_r.so.10.0.0
- lrwxrwxrwx 1 root root 24 Nov 13 2004 libmysqlclient.so -> libmysqlclient.so.10.0.0
- -rw-r--r-- 1 root root 140782 Feb 19 2003 libmystrings.a
- -rw-r--r-- 1 root root 191422 Feb 19 2003 libmysys.a
- -rw-r--r-- 1 root root 103452 Feb 19 2003 libnisam.a
- -rw-r--r-- 1 root root 442738 Jan 31 21:28 mysqld.sym
复制代码
哪位大人能教教我怎么做啊?? |
|