Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Hawk backend fails to start

  1. #11

    Unhappy Re: Hawk backend fails to start

    did another fresh clean server install of openSUSE Leap 15.2, use openSUSE repositories
    set IP
    zypper in hawk2
    zypper in ha-cluster-bootstrap
    ha-cluster-init
    - no sbd
    systemctl restart hawk
    systemctl restart hawk-backend

    with the browser (from a Win 10 laptop) https://192.168.12.242:7630/
    - get certificate error - accept
    BLANK screen

    --
    system status hawk-backend
    - failed
    - same railties error

    ---

    nss-leap152:~ # zypper up
    Loading repository data...
    Reading installed packages...

    Nothing to do.
    nss-leap152:~ # zypper in -force hawk
    The flag o is not known.
    nss-leap152:~ # update-alternatives --config rails
    There are 2 choices for the alternative rails (providing /usr/bin/rails).

    Selection Path Priority Status
    ------------------------------------------------------------
    * 0 /usr/bin/rails.ruby2.5-5.2.3 50203 auto mode
    1 /usr/bin/rails.ruby2.5-5.1.4 50104 manual mode
    2 /usr/bin/rails.ruby2.5-5.2.3 50203 manual mode

    - I chose option 1, 2 and back to 0, still no joy
    - restart hawk and hawk-backend in-between options.

    ---
    zypper in -f hawk2
    Loading repository data...
    Reading installed packages...
    Forcing installation of 'hawk2-2.1.1+git.1585238036.fab19246-lp152.1.9.x86_64' from repository 'Main Repository'.
    Resolving package dependencies...

    The following package is going to be reinstalled:
    hawk2

    1 package to reinstall.
    Overall download size: 9.3 MiB. Already cached: 0 B. No additional space will be used or freed after the operation.
    Continue? [y/n/v/...? shows all options] (y):
    Retrieving package hawk2-2.1.1+git.1585238036.fab19246-lp152.1.9.x86_64 (1/1), 9.3 MiB ( 20.6 MiB unpacked)
    Retrieving: hawk2-2.1.1+git.1585238036.fab19246-lp152.1.9.x86_64.rpm ..............................................[done (3.7 MiB/s)]

    Checking for file conflicts: ..................................................................................................[done]
    (1/1) Installing: hawk2-2.1.1+git.1585238036.fab19246-lp152.1.9.x86_64 ........................................................[done]
    Additional rpm output:
    Updating /etc/sysconfig/hawk ...


    systemctl restart hawk
    systemctl restart hawk-backend
    - still BLANK whit screen - no joy

  2. #12

    Unhappy Re: Hawk backend fails to start

    Bugzilla – Bug 1173919
    Hawk backend fails to start

    My first bug report

  3. #13

    Smile Re: Hawk backend fails to start

    Installed openSUSE Leap 15.1
    set IP
    zypper in hawk2
    zypper in ha-cluster-bootstrap
    ha-cluster-init

    I see hawk & hawk-backend are active (runing)

    rpm -qa | grep railties
    ruby2.5-rubygem-railties-5_1-5.1.4-lp152.3.3.x86_64
    - only 1 railties

    https://192.168.12.238:7630/
    - get certificate error - accept
    - receive hawk2 login, login & view hawk2 screen

    great its working

    --
    DVD upgrade with openSUSE Leap 15.2

    after upgrade, hawk2 login working
    I see hawk & hawk-backend are active (runing)

    and still only 1 ruby2.5-rubygem-railties

    For now this is the way to get this to work until the repositories are fixed.

  4. #14
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,417
    Blog Entries
    2

    Default Re: Hawk backend fails to start

    Glad to hear you got it working although it looks like you did it by installing into 15.1 and then upgrading to 15.2,
    And for posting what you did for your success.

    Sorry for my mistake leaving out that extra hyphen
    Code:
    zypper in --force hawk
    but you did find its equivalent
    Code:
    zypper in -f hawk
    But, IMO when you ran the following command you should have seen two versions of Ruby Rails, and selecting the more recent version should have included the correct version of railties.
    Code:
    update-alternatives --config rails
    I'm wondering then if you are simply running "old code."
    I doubt even if is the case, that it would make any difference... The older version of Ruby on Rails is not that old and as long as everything is consistent your problem should be solved.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •