zabbix-frontend-php [intrepid]: "Fatal error: Call to undefined function mysql_pconnect() in /usr/share/zabbix/include/db.inc.php on line 46"

Bug #346146 reported by Stefan Pappalardo
4
Affects Status Importance Assigned to Milestone
zabbix (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: zabbix-frontend-php

1) $ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10

2) $ apt-cache policy zabbix-frontend-php
zabbix-frontend-php:
  Installiert: 1:1.4.6-1ubuntu1
  Kandidat: 1:1.4.6-1ubuntu1
  Versions-Tabelle:
 *** 1:1.4.6-1ubuntu1 0
        500 http://de.archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status

3) As I use url "http://obelix/zabbix/" in firefox I expected to see the php-frontend of zabbix.

4) Instead I got: "Fatal error: Call to undefined function mysql_pconnect() in /usr/share/zabbix/include/db.inc.php on line 46"

Revision history for this message
William Grant (wgrant) wrote :

Are you sure you have the right one of php5-mysql and php5-pgsql installed for your configuration? It might well default to using MySQL.

The package depends on php5-mysql or php5-pgsql, so if you had php5-pgsql installed beforehand it wouldn't have installed php5-mysql.

Changed in zabbix (Ubuntu):
status: New → Incomplete
Revision history for this message
Stefan Pappalardo (sjuk) wrote :

php5-mysql is installed and php5-pgsql not, as you can see...

###
$ apt-cache policy php5-mysql
php5-mysql:
  Installiert: 5.2.6-2ubuntu4.1
  Kandidat: 5.2.6-2ubuntu4.1
  Versions-Tabelle:
 *** 5.2.6-2ubuntu4.1 0
        500 http://de.archive.ubuntu.com intrepid-updates/main Packages
        500 http://de.archive.ubuntu.com intrepid-security/main Packages
        100 /var/lib/dpkg/status
     5.2.6-2ubuntu4 0
        500 http://de.archive.ubuntu.com intrepid/main Packages

$ apt-cache policy php5-pgsql
php5-pgsql:
  Installiert: (keine)
  Kandidat: 5.2.6-2ubuntu4.1
  Versions-Tabelle:
     5.2.6-2ubuntu4.1 0
        500 http://de.archive.ubuntu.com intrepid-updates/main Packages
        500 http://de.archive.ubuntu.com intrepid-security/main Packages
     5.2.6-2ubuntu4 0
        500 http://de.archive.ubuntu.com intrepid/main Packages
###

That seems to be right for me, cause I use mysql.

Stefan Pappalardo (sjuk)
Changed in zabbix (Ubuntu):
status: Incomplete → New
Revision history for this message
Stefan Pappalardo (sjuk) wrote :

cannot reproduce

Changed in zabbix (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.