Package: zabbix-frontend-php
Version: 1:1.6.2-1
Severity: important
You will receive the following error when trying to execute scripts
through maps:
socket_connect() [<a
href='function.socket-connect'>function.socket-connect</a>]: Host lookup
failed [-10001]: Unknown host[/usr/share/zabbix/include/scripts.inc.php:76]
Cannot connect to ZABBIX server [:] [Unknown host]
The main issue is because ZBX_SERVER and ZBX_SERVER_PORT is not defined
when script.inc.php is executed.
This variables should be defined in conf/zabbix.conf.php.
Checking source code and zabbix forums (see below), you will notice that
these vars are not defined/created when zabbix Debian package is installed.
- http://www.zabbix.com/forum/showthread.php?t=11593
-
http://www.zabbix.com/forum/showthread.php?t=10674&highlight=socket_connect
A good approach would be to ask in the debconf these 2 vars and include
them in the creation of the configuration file.
Thanks
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15
(charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages zabbix-frontend-php depends on:
ii apache2 2.2.11-2 Apache HTTP Server metapackage
ii apache2-mpm-prefork [http 2.2.11-2 Apache HTTP Server -
traditional n
ii dbconfig-common 1.8.40 common framework for
packaging dat
ii debconf [debconf-2.0] 1.5.24 Debian configuration
management sy
ii php5 5.2.6.dfsg.1-3 server-side, HTML-embedded
scripti
ii php5-gd 5.2.6.dfsg.1-3 GD module for php5
ii php5-mysql 5.2.6.dfsg.1-3 MySQL module for php5
ii ucf 3.0013 Update Configuration File:
preserv
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org