Installing Tomcat 7 using apt-get fails

Posted by Hendre on Ask Ubuntu See other posts from Ask Ubuntu or by Hendre
Published on 2012-12-14T04:41:49Z Indexed on 2012/12/14 5:19 UTC
Read the original article Hit count: 274

Filed under:

I get the following error when installing Tomcat7:

Setting up tomcat7 (7.0.26-1ubuntu1.1) ... chmod: cannot access `/etc/tomcat7/tomcat-users.xml': No such file or directory dpkg: error processing tomcat7 (--configure): subprocess installed post-installation script returned error exit status 1 No apport report written because MaxReports is reached already Errors were encountered while processing: tomcat7 E: Sub-process /usr/bin/dpkg returned an error code (1)

and I get this error when I try to apt-get remove Tomcat7:

Removing tomcat7 ... * tomcat7 is not installed invoke-rc.d: initscript tomcat7, action "stop" failed.

How do I fix this to install Tomcat 7 correctly?

© Ask Ubuntu or respective owner

Related posts about tomcat