/etc/init.d/tomcat6 exits with errorlevel 1 even after succesfull start

Bug #1497288 reported by Jeroen Baten on 2015-09-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tomcat6 (Ubuntu)

Bug Description

Steps to recreate:
1-install docker on some system. Example: "curl -sSL https://get.docker.com/ | sh"
2-Paste the following lines into a "Dockerfile":
3-run "docker build ." and watch this fail... :-)
FROM ubuntu:14.04
MAINTAINER Jeroen Baten <email address hidden>
LABEL Description="test image for automatic install of software"
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
RUN echo 'exit 0' > /usr/sbin/policy-rc.d
RUN apt-get install -y software-properties-common
RUN add-apt-repository ppa:libreplan/ppa
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y libreplan

part of the output is:
Creating config file /etc/default/tomcat6 with new version
Adding system user `tomcat6' (UID 103) ...
Adding new user `tomcat6' (UID 103) with group `tomcat6' ...
Not creating home directory `/usr/share/tomcat6'.

Creating config file /etc/logrotate.d/tomcat6 with new version
 * Starting Tomcat servlet engine tomcat6
invoke-rc.d: initscript tomcat6, action "start" failed.
/usr/bin/invoke-rc.d returns errorlevel 1 because /etc/init.d/tomcat6 returns errorlevel 1.

Good luck!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers