Package: heartbeat
Version: 2.1.3-6lenny1
Severity: important

apache ocf script (/usr/lib/ocf/resource.d/heartbeat/apache) does not specify 
the correct environment variables Apache2 needs to start. 
When the ocf script runs apache2 it fails with the error

ERROR: apache2: bad user name ${APACHE_RUN_USER}

If you add

APACHE_RUN_USER=www-data
APACHE_RUN_GROUP=www-data
APACHE_PID_FILE=/var/run/apache2.pid

to the list of variables already set in the script, e.g. just under 
DEFAULT_NORMCONFIG="/etc/apache2/httpd.conf" then apache2 starts correctly.




-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages heartbeat depends on:
ii  adduser                3.110             add and remove users and groups
ii  gawk                   1:3.1.5.dfsg-4.1  GNU awk, a pattern scanning and pr
ii  iproute                20080725-2        networking and traffic control too
ii  iputils-ping           3:20071127-1      Tools to test the reachability of 
ii  libbz2-1.0             1.0.5-1           high-quality block-sorting file co
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libcurl3               7.18.2-8lenny2    Multi-protocol file transfer libra
ii  libglib2.0-0           2.16.6-2          The GLib library of C routines
ii  libgnutls26            2.4.2-6+lenny1    the GNU TLS library - runtime libr
ii  libltdl3               1.5.26-4          A system independent dlopen wrappe
ii  libncurses5            5.7+20081213-1    shared libraries for terminal hand
ii  libnet1                1.1.2.1-2         library for the construction and h
ii  libopenhpi2            2.12.0-1          OpenHPI libraries (runtime and sup
ii  libpam-runtime         1.0.1-5+lenny1    Runtime support for the PAM librar
ii  libpam0g               1.0.1-5+lenny1    Pluggable Authentication Modules l
ii  libsnmp15              5.4.1~dfsg-12     SNMP (Simple Network Management Pr
ii  libssl0.9.8            0.9.8g-15+lenny1  SSL shared libraries
ii  libuuid1               1.41.3-1          universally unique id library
ii  libwrap0               7.6.q-16          Wietse Venema's TCP wrappers libra
ii  libxml2                2.6.32.dfsg-5     GNOME XML library
ii  libxml2-utils          2.6.32.dfsg-5     XML utilities
ii  mawk                   1.3.3-11.1        a pattern scanning and text proces
ii  psmisc                 22.6-1            Utilities that use the proc filesy
ii  python                 2.5.2-3           An interactive high-level object-o
ii  python-central         0.6.8             register and build utility for Pyt
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages heartbeat recommends:
ii  iptables                      1.4.2-6    administration tools for packet fi
ii  logrotate                     3.7.1-5    Log rotation utility
ii  rsyslog [system-log-daemon]   3.18.6-4   enhanced multi-threaded syslogd

heartbeat suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to