In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Background description:
1. The original installation of zabbix can run normally under the environment of LAMP. (Linux CentOS 7)
2. Now you want to replace mysql with oracle, and remotely access the oracle service on another machine by installing oracle client. The client and zabbix are on the same machine, and sqlplus can be accessed normally.
3. PHP pages can also log in to http://127.0.0.1/zabbix through OCI
4. Configure DBHost= database in zabbix_server.conf IP,DBNAME= database instance name, DBPORT=1521...
But the background zabbix_server.log reported an error [Z3001] connection to database 'ORCL' failed: [2013] Lost connection to MySQL server at' reading initial communication packet', system error: 0
5. Use the source code to install zabbix and enter the decompression directory.
/ configure-- with-mysql=/usr/bin/mysql_config-- with-net-snmp-- with-libcurl-- enable-server-- enable-agent-- enable-proxy-- prefix=/usr/local/zabbix
No configuration here-- with-oracle
Question:
1. How to solve the failure to connect to the database in description 4 above?
2. How does zabbix_server access the database? OCI?
3. Use the command of 5 again. / configure-with-oracle-enable-server-prefix=/usr/local/zabbix prompt OCI library not found
. / configure-- with-oracle=$ORACLE_HOME/lib-- enable-server-- prefix=/usr/local/zabbix prompt OCI library not found
Thank you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.