fixed 450525 1:1.4.2-3
thanks

hi,

On Wed, Nov 07, 2007 at 10:14:48PM +0100, Uwe Storbeck wrote:
> After the installation of zabbix I could not access the zabbix frontend
> to configure it:
> 
>   URL: http://localhost/zabbix/
> 
>   Fatal error: Call to undefined function mysql_pconnect() in
>   /usr/share/zabbix/include/db.inc.php on line 32
> 
> After installing the package php5-mysql and restarting apache this error
> message vanished, but I run into the next problem:

could it be you had php4-mysql or some other php-* package installed which
satisfied the php5-mysql|php5-pgsql|php4-mysql|php4-pgsql Dependency?

This doesnt look like beeing entirely the zabbix packages fault.

> During the package installation I selected the automatic database
> installation and did not get any error messages:
> 
>   Setting up zabbix-server-mysql (1.1.4-10) ...
>   dbconfig-common: writing config to 
> /etc/dbconfig-common/zabbix-server-mysql.conf
> 
>   Creating config file /etc/dbconfig-common/zabbix-server-mysql.conf with new 
> version
> 
>   Creating config file /etc/zabbix/zabbix_server.conf with new version
>   granting access to database zabbix for [EMAIL PROTECTED]: success.
>   verifying access for [EMAIL PROTECTED]: success.
>   creating database zabbix: success.
>   verifying database zabbix exists: success.
>   populating database via sql...  done.
>   dbconfig-common: flushing administrative password
>   Starting Zabbix server: zabbix_server
> 
> Copying the zabbix password from /etc/dbconfig-common/zabbix-server-mysql.conf
> into /etc/zabbix/dbconfig.php finally got me the login page ...

did you install both the frontend and the server in one run? If the server 
package
is installed *before* the frontend package, the frontend reads the password from
the servers config file and places it in /etc/zabbix/dbconfig.php.

If the frontend does not find any server configuration file it prompts for the
database settings using debconf. Those settings are priority medium, probably
your DEBCONF_PRIORITY was set to high and thus the question was skipped.

bye,
    - michael



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to