zabbix 1.8 + linux+oracle 10g安装问题

发布于 2021-11-15 22:44:35 字数 3003 浏览 883 评论 0

安装正常,但zabbix_server不能连接数据库,php web配置也示能连接数据库,请各位兄台指点一下

zabbix_server.conf中的db连接信息应该是正确的

8741:20120224:225044.961 Database is down. Reconnecting in 10 seconds.
 28741:20120224:225054.966 [Z3001] connection to database '//10.64.1.63:1521/zabbix' failed: [-1] ORA-12154: TNS:could not resolve the connect identifier specified
 28741:20120224:225054.966 Database is down. Reconnecting in 10 seconds.
 28741:20120224:225104.970 [Z3001] connection to database '//10.64.1.63:1521/zabbix' failed: [-1] ORA-12154: TNS:could not resolve the connect identifier specified
 28741:20120224:225104.970 Database is down. Reconnecting in 10 seconds.
 28741:20120224:225114.975 [Z3001] connection to database '//10.64.1.63:1521/zabbix' failed: [-1] ORA-12154: TNS:could not resolve the connect identifier specified
 28741:20120224:225114.975 Database is down. Reconnecting in 10 seconds.
 28741:20120224:225124.979 [Z3001] connection to database '//10.64.1.63:1521/zabbix' failed: [-1] ORA-12154: TNS:could not resolve the connect identifier specified
 28741:20120224:225124.980 Database is down. Reconnecting in 10 seconds.
 28741:20120224:225134.984 [Z3001] connection to database '//10.64.1.63:1521/zabbix' failed: [-1] ORA-12154: TNS:could not resolve the connect identifier specified
 28741:20120224:225134.984 Database is down. Reconnecting in 10 seconds.
 28741:20120224:225144.989 [Z3001] connection to database '//10.64.1.63:1521/zabbix' failed: [-1] ORA-12154: TNS:could not resolve the connect identifier specified
 28741:20120224:225144.989 Database is down. Reconnecting in 10 seconds.
 28741:20120224:225154.993 [Z3001] connection to database '//10.64.1.63:1521/zabbix' failed: [-1] ORA-12154: TNS:could not resolve the connect identifier specified
 28741:20120224:225154.993 Database is down. Reconnecting in 10 seconds.
 28741:20120224:225204.998 [Z3001] connection to database '//10.64.1.63:1521/zabbix' failed: [-1] ORA-12154: TNS:could not resolve the connect identifier specified
 28741:20120224:225204.998 Database is down. Reconnecting in 10 seconds.
 28741:20120224:225215.003 [Z3001] connection to database '//10.64.1.63:1521/zabbix' failed: [-1] ORA-12154: TNS:could not resolve the connect identifier specified
 28741:20120224:225215.003 Database is down. Reconnecting in 10 seconds.
 28741:20120224:225225.007 [Z3001] connection to database '//10.64.1.63:1521/zabbix' failed: [-1] ORA-12154: TNS:could not resolve the connect identifier specified
 28741:20120224:225225.007 Database is down. Reconnecting in 10 seconds.

 

ociplogon(): OCIEnvNlsCreate() failed. There is something wrong with your system - please check that ORACLE_HOME and LD_LIBRARY_PATH are set and point to the right directories [include/db.inc.php:109]
Error connecting to database

 

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文