The issue seems to be in Tomcat package which XWiki just declare as
dependency but for some reason Ubuntu failed to install it.

> Job for tomcat7.service failed because the control process exited with error 
> code. See "systemctl status tomcat7.service" and "journalctl -xe" for details.

I guess you should looks at the suggested logs.

On Mon, Aug 1, 2016 at 10:49 PM, Dev Dev <[email protected]> wrote:
> Hi,
>
> I am trying to install xwiki (mysql) using the doc at:
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
>
> Here's the output:
> http://paste.ubuntu.com/21810285/
>
> Setting up tomcat7 (7.0.68-1ubuntu0.1) ...
>
> Creating config file /etc/default/tomcat7 with new version
>
> Adding system user `tomcat7' (UID 113) ...
>
> Adding new user `tomcat7' (UID 113) with group `tomcat7' ...
>
> Not creating home directory `/usr/share/tomcat7'.
>
> Creating config file /etc/logrotate.d/tomcat7 with new version
>
> Job for tomcat7.service failed because the control process exited with
> error code. See "systemctl status tomcat7.service" and "journalctl
> -xe" for details.
>
> invoke-rc.d: initscript tomcat7, action "start" failed.
>
> dpkg: error processing package tomcat7 (--configure):
>
>  subprocess installed post-installation script returned error exit status 1
>
> Setting up xwiki-enterprise-common (8.2.1) ...
>
> Setting up xwiki-enterprise-mysql-common (8.2.1) ...
>
> Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
>
> dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
>
> Creating config file /etc/dbconfig-common/xwiki.conf with new version
>
> Creating config file /etc/xwiki/hibernate.cfg.xml with new version
>
> granting access to database xwiki for xwiki@localhost: success.
>
> verifying access for xwiki@localhost: success.
>
> creating database xwiki: success.
>
> verifying database xwiki exists: success.
>
> dbconfig-common: flushing administrative password
>
> allow xwiki user to create new databases
>
> dpkg: dependency problems prevent configuration of
> xwiki-enterprise-tomcat7-common:
>
>  xwiki-enterprise-tomcat7-common depends on tomcat7; however:
>
>   Package tomcat7 is not configured yet.
>
> dpkg: error processing package xwiki-enterprise-tomcat7-common (--configure):
>
>  dependency problems - leaving unconfigured
>
> dpkg: dependency problems prevent configuration of
> xwiki-enterprise-tomcat7-mysql:No apport report written because the
> error message indicates its a followup error from a previous failure.
>
>  xwiki-enterprise-tomcat7-mysql depends on
> xwiki-enterprise-tomcat7-common (= 8.2.1); however:
>
>   Package xwiki-enterprise-tomcat7-common is not configured yet.
>
> dpkg: error processing package xwiki-enterprise-tomcat7-mysql (--configure):
>
>  dependency problems - leaving unconfigured
>
> Processing triggers for libc-bin (2.23-0ubuntu3) ...No apport report
> written because the error message indicates its a followup error from
> a previous failure.
>
> Processing triggers for systemd (229-4ubuntu7) ...
>
> Processing triggers for ureadahead (0.100.0-19) ...
>
> Errors were encountered while processing:
>
>  tomcat7
>
>  xwiki-enterprise-tomcat7-common
>
>  xwiki-enterprise-tomcat7-mysql
>
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to