Synchrony install_synchrony_service.sh does not bring up Synchrony on reboot on Ubuntu / AWS

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Problem

      Installing Synchrony DC as a service following the instructions in Run Synchrony-standalone as a service on Linux does not automatically bring up Synchrony on reboot.

      Environment

      This issue has been verified on Ubuntu 18 and AWS EC2.

      Steps to Reproduce

      1. Install a single node Confluence DC on Ubuntu 18 or AWS as a Linux service
      2. Shutdown Confluence
      3. Follow the steps in Run Synchrony-standalone as a service on Linux
      4. Remove /etc/init.d/confluence so Confluence does not start on reboot and also bring up Synchrony
      5. Reboot the machine

      Expected Results

      1. Synchrony should start up automatically on reboot

      Actual Results

      1. Synchrony does not start up automatically on reboot
      2. It can however be started up manually using sudo service synchrony start

      Workaround

      Manually create these symbolic links that Ubuntu's update-rc.d did not create

      ln -s /etc/init.d/synchrony /etc/rc1.d/K95synchrony
      ln -s /etc/init.d/synchrony /etc/rc2.d/K95synchrony
      ln -s /etc/init.d/synchrony /etc/rc3.d/S95synchrony
      ln -s /etc/init.d/synchrony /etc/rc4.d/K95synchrony
      ln -s /etc/init.d/synchrony /etc/rc5.d/S95synchrony
      

            Assignee:
            Minh Tran
            Reporter:
            Eric L
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: