Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1381

wildfly-init-debian.sh fails on Ubuntu 15.04

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 1.0.0.Beta6, 1.0.0.CR1
    • Fix Version/s: 2.0.0.CR6
    • Component/s: Scripts
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Set variables in JBOSS_HOME/bin/init.d/wildfly.conf
      ln -s JBOSS_HOME/bin/init.d/wildfly.conf /etc/default/wildfly
      ln -s JBOSS_HOME/bin/init.d/wildfly-init-debian.sh /etc/init.d/wildfly
      cd /etc/init.d
      update-rc.d wildfly defaults

      permissions and user/group are of course set to wildfly.wildfly

      Show
      Set variables in JBOSS_HOME/bin/init.d/wildfly.conf ln -s JBOSS_HOME/bin/init.d/wildfly.conf /etc/default/wildfly ln -s JBOSS_HOME/bin/init.d/wildfly-init-debian.sh /etc/init.d/wildfly cd /etc/init.d update-rc.d wildfly defaults permissions and user/group are of course set to wildfly.wildfly
    • Affects:
      Compatibility/Configuration, User Experience

      Description

      Init script "wildfly-init-debian.sh" fails on Ubuntu 15.04 but standalone.sh works fine. Env is jdk_1.8.0_45-b14 and wildfly_9.0.0.Beta2. The error returned is:

      Failed to start wildfly.service: Unit wildfly.service failed to load: No such file or directory.

      Had no issue with the above script on Ubuntu 14.04 so guessing a change in Ubuntu ("Upstart" Maybe?) But, I'm far from an upstart or bash expert. bash -x seems to at least create the pid.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            gesker Dennis Gesker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: