apache上部署pro*c常见的一个错误
【程序编程相关:如何在DB2的表中插入特殊的字符(一)】在apache上部署pro*c,经常会出现服务器500错误.最近测试linux上的oracle ias, 【推荐阅读:DB2中的限制之二數值的限制】
操作系统:redhat advanceserver 2.1 【扩展信息:[HOWTO]ORACLE中如何实现AS】
遇到问题不少,在这里把解决500错误的过程与大家大致描述一下,希望对大家能有所帮助. 数据库: oracle 8.1.7.4 apache: 1.3.12+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
情况1: 假设我们请求的连接如下: http://192.168.0.116:7777/cgi-bin/test浏览器得到的错误信息如下:
internal server error
the server encountered an internal error or misconfiguration and was unable to complete your request. please contact the server administrator, fenng@itpub.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.more information about this error may be available in the server error log.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
一般的,管理员都会检查apache的logs目录下的error.log文件.检查该文件,提示信息如下:
test: error while loading shared libraries: libclntsh.so.8.0: cannot open shared object file: no such file or directory
别管那么多,如果有metalink帐号的话,先去看看,查了几个帖子,
提示说apache的环境变量不正确.有些语焉不详.既然提示信息是找不到libclntsh.so.8.0文件,首先看看系统是不是有这个库文件:
[oracle@linux lib]$ pwd
... 下一页