resource agent apache does not create directory /var/run/apache2

Bug #893023 reported by Ralf Lederle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
resource-agents (Ubuntu)
New
Undecided
Unassigned

Bug Description

The resource agent /usr/lib/ocf/resource.d/heartbeat/apache does not create the directory /var/run/apache2 at startup and so apache refuses to start.

I inserted the line:

mkdir $HA_VARRUNDIR/apache2

before starting the apache daemon which resolved the problem but i am not sure if this is the correct way.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: resource-agents 1:3.9.2-0ubuntu1 [modified: usr/lib/ocf/resource.d/heartbeat/apache usr/lib/ocf/resource.d/heartbeat/pgsql]
ProcVersionSignature: Ubuntu 3.0.0-12.20-server 3.0.4
Uname: Linux 3.0.0-12-server x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Mon Nov 21 10:53:29 2011
InstallationMedia: Ubuntu-Server 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: resource-agents
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ralf Lederle (ralf-lederle) wrote :
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.