Ad Widget

Collapse

zabbix 1.1.2 : fatal error problem with pconnect

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • patrick
    Member
    • Oct 2004
    • 57

    #1

    zabbix 1.1.2 : fatal error problem with pconnect

    Hi,
    I have installed zabbix 1.1.2 (no problem with zabbix 1.1.1) but now when I try to launch zabbix I get this error on the web page :
    Fatal error: Call to undefined function: pg_pconnect() in /home/zabbix/public_html/include/db.inc.php on line 48

    What could be the problem?
    Thanks
  • abi
    Member
    • Jun 2006
    • 81

    #2
    do you have your php4 extension for postgresql installed and
    enabled?

    Comment

    • patrick
      Member
      • Oct 2004
      • 57

      #3
      I'm using mysql
      I've installed zabbix with this command line (this for all previous releasesalso ):
      ./configure --enable-server --enable-agent --with-mysql=/usr/local/mysql-max-4.0.21-pc-linux-i686 --with-net-snmp

      Then make and make install and copy all frontends files under ~zabbix/public_html and then start zabbix_server

      Comment

      • abi
        Member
        • Jun 2006
        • 81

        #4
        seems like your frontend's config says to use Potgresql.
        edit /home/zabbix/public_html/include/db.inc.php

        Comment

        • patrick
          Member
          • Oct 2004
          • 57

          #5
          The problem was in the file db.inc.php

          Thank you. That was the problem. Now it's OK.
          Thanks
          Patrick

          Comment

          Working...