Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-6173

The generic bin/nexus script does not work properly on non-standard Linux distributions like Slackware

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Bootstrap
    • Labels:
      None
    • Environment:
      2.7.0-04, but seen in previous versions as well.

      Description

      Executing:

      ./bin/nexus start
      

      Gives the following error:

      root@carlspring:/java/nexus/nexus-2.7.0-04# ./bin/nexus start
      Missing platform binary: /java/nexus/nexus-2.7.0-04/bin/../bin/jsw/linux-intel(r)core(tm)i7cpuq720@1.60ghz-32/wrapper
      

      The code leading to this is:

      DIST_ARCH=`uname -p | tr [:upper:] [:lower:] | tr -d [:blank:]`
      

      Which leads to:

      DIST_OS=linux
      DIST_ARCH=intel(r)core(tm)i7cpuq720@1.60ghz
      DIST_BITS=32
      

      Workaround:

      DIST_ARCH=`uname -m | tr [:upper:] [:lower:] | tr -d [:blank:]`
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            carlspring Martin Todorov
            Last Updated By:
            Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title