Ad Widget

Collapse

Connection to MySQL error when using Oracle database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wanderson
    Junior Member
    • Oct 2011
    • 1

    #1

    Connection to MySQL error when using Oracle database

    We are using Fedora 16 with an Oracle back-end and Zabbix 1.8.8.
    Currently, the web front end is stating 'Zabbix Server is running' = 'No'
    Upon reviewing the zabbix_server.log file. it is stating :

    [Z3001] connection to database 'fcmonitor' failed: [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

    What controls Zabbix and the type of database it's trying to connect to or why would it be trying to connect to a MySql database?

    I know the zabbix.conf.php is strictly for the web front end and that states Oracle as the database type.

    Thanks!
  • justinc
    Junior Member
    • Aug 2011
    • 20

    #2
    Refer to the server process in the documentation for modifying server config:
    http://www.zabbix.com/documentation/.../zabbix_server

    you will need to compile the server for oracle support
    Example:
    # for Oracle + Jabber + WEB monitoring
    shell> ./configure --enable-server --with-oracle --with-net-snmp --with-jabber --with-libcurl

    http://www.zabbix.com/documentation/...#zabbix_server

    Comment

    Working...