[Bug 800543] [NEW] Installing zabbix-frontend-php fails in noninteractive mode

Launchpad Bug Tracker 800543 at bugs.launchpad.net
Wed Jun 22 14:12:32 UTC 2011


You have been subscribed to a public bug:

## Issue

* When installing zabbix-frontend-php in noninteractive mode the install
fails to determine the database type

## Environment

* Ubuntu 10.04 LTS (Lucid) x86_64

* zabbix-frontend-php & zabbix-server-mysql 1:1.8.1-1ubuntu1

* Using preseeding and Puppet (which uses apt in noninteractive mode,
DEBIAN_FRONTEND=noninteractive)

## Diagnostic Steps

1. Install Ubuntu 10.04 LTS

2. Install mysql-server

3. Preseed the zabbix-frontend-php & zabbix-server-mysql packages

4. Install the zabbix packages via puppet or 'sudo
DEBIAN_FRONTEND=noninteractive apt-get install zabbix-server-mysql
zabbix-frontend-php'

5. See the installation fail:

Setting up zabbix-frontend-php (1:1.8.1-1ubuntu1) ...
sanity check failed for dbc_dbtype.
error encountered :
dbconfig-common can not determine the database type.
dbconfig-common: zabbix-frontend-php configure: aborted.
dbconfig-common: flushing administrative password
dpkg: error processing zabbix-frontend-php (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 zabbix-frontend-php
E: Sub-process /usr/bin/dpkg returned an error code (1)


## Additional Information

The installation uses dbconfig-common (dbconfig-common_1.8.44 in Lucid)
which fails much more gracefully when using Maverick (dbconfig-
common_1.8.46)

This was also mentioned on Puppet-users some time ago:
http://groups.google.com/group/puppet-users/browse_thread/thread/205119dd8336edd9?tvc=2&fwc=1

** Affects: dbconfig-common (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Installing zabbix-frontend-php fails in noninteractive mode
https://bugs.launchpad.net/bugs/800543
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dbconfig-common in Ubuntu.



More information about the Ubuntu-server-bugs mailing list