Uploaded image for project: '{RETIRED} XWiki Enterprise'
  1. {RETIRED} XWiki Enterprise
  2. XE-1235

xwiki-enterprise-tomcat7-mysql create symlink into /etc/tomcat6/ and not and not in /etc/tomcat7

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1-rc-1
    • Fix Version/s: 4.0.1, 4.1, 4.2-milestone-1
    • Component/s: Debian packages
    • Labels:
      None
    • Environment:
    • keywords:
      debian install tomcat7
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Hello,

      Installation of xwiki-entreprise-tomcat7-mysql failed because it try to create /etc/tomcat6/Catalina/localhost/xwiki.xml and not /etc/tomcat/Catalina/localhost/xwiki.xml

      sudo aptitude install xwiki-enterprise-tomcat7-mysql
      The following NEW packages will be installed:
        xwiki-enterprise-common{a} xwiki-enterprise-mysql-common{a} xwiki-enterprise-tomcat-common{a} xwiki-enterprise-tomcat7-mysql 
      0 packages upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
      Need to get 144 MB of archives. After unpacking 217 MB will be used.
      Do you want to continue? [Y/n/?] 
      WARNING: untrusted versions of the following packages will be installed!
      
      Untrusted packages could compromise your system's security.
      You should only proceed with the installation if you are certain that
      this is what you want to do.
      
        xwiki-enterprise-common xwiki-enterprise-mysql-common xwiki-enterprise-tomcat-common xwiki-enterprise-tomcat7-mysql 
      
      Do you want to ignore this warning and proceed anyway?
      To continue, enter "Yes"; to abort, enter "No": yes
      Get: 1 http://maven.xwiki.org/ releases/ xwiki-enterprise-common 4.1+rc+1 [144 MB]
      Get: 2 http://maven.xwiki.org/ releases/ xwiki-enterprise-mysql-common 4.1+rc+1 [3,712 B]                                                                                                                  
      Get: 3 http://maven.xwiki.org/ releases/ xwiki-enterprise-tomcat-common 4.1+rc+1 [1,402 B]                                                                                                                 
      Get: 4 http://maven.xwiki.org/ releases/ xwiki-enterprise-tomcat7-mysql 4.1+rc+1 [1,382 B]                                                                                                                 
      Fetched 144 MB in 4min 25s (542 kB/s)                                                                                                                                                                      
      Selecting previously unselected package xwiki-enterprise-common.
      (Reading database ... 237763 files and directories currently installed.)
      Unpacking xwiki-enterprise-common (from .../xwiki-enterprise-common_4.1+rc+1_all.deb) ...
      dpkg: warning: parsing file '/var/lib/dpkg/tmp.ci/control' near line 6 package 'xwiki-enterprise-mysql-common':
       `Depends' field, reference to `xwiki-enterprise-common':
       implicit exact match on version number, suggest using `=' instead
      Selecting previously unselected package xwiki-enterprise-mysql-common.
      Unpacking xwiki-enterprise-mysql-common (from .../xwiki-enterprise-mysql-common_4.1+rc+1_all.deb) ...
      Selecting previously unselected package xwiki-enterprise-tomcat-common.
      Unpacking xwiki-enterprise-tomcat-common (from .../xwiki-enterprise-tomcat-common_4.1+rc+1_all.deb) ...
      Selecting previously unselected package xwiki-enterprise-tomcat7-mysql.
      Unpacking xwiki-enterprise-tomcat7-mysql (from .../xwiki-enterprise-tomcat7-mysql_4.1+rc+1_all.deb) ...
      Setting up xwiki-enterprise-common (4.1+rc+1) ...
      Setting up xwiki-enterprise-mysql-common (4.1+rc+1) ...
      dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
      dbconfig-common: flushing administrative password
      Setting up xwiki-enterprise-tomcat-common (4.1+rc+1) ...
      Setting up xwiki-enterprise-tomcat7-mysql (4.1+rc+1) ...
      ln: failed to create symbolic link `/etc/tomcat6/Catalina/localhost/xwiki.xml': No such file or directory
      dpkg: error processing xwiki-enterprise-tomcat7-mysql (--configure):
       subprocess installed post-installation script returned error exit status 1
      Errors were encountered while processing:
       xwiki-enterprise-tomcat7-mysql
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      A package failed to install.  Trying to recover:
      Setting up xwiki-enterprise-tomcat7-mysql (4.1+rc+1) ...
      ln: failed to create symbolic link `/etc/tomcat6/Catalina/localhost/xwiki.xml': No such file or directory
      dpkg: error processing xwiki-enterprise-tomcat7-mysql (--configure):
       subprocess installed post-installation script returned error exit status 1
      Errors were encountered while processing:
       xwiki-enterprise-tomcat7-mysql
      

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              arnaud Arnaud Bourree
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: