Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-2790

generate_monitor_certificate.sh fails on OSX

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.1, 1.6.0
    • 1.5.2, 1.6.1
    • scripts
    • None
    • OSX Mavericks (10.9.2)

    Description

      Tried to run $ACCUMULO_HOME/bin/generate_monitor_certificate.sh to enable SSL with the monitor and got an error on OSX. In talking with billie.rinaldi, she mentioned that she initially wrote it to work on OSX, so I was surprised.

      The error comes out of redirecting /dev/urandom into tr to generate some random characters, which tr complains:

      tr: Illegal byte sequence
      

      It appears that maybe the LC_CTYPE default for OSX changed (or maybe just my shell?). Making a change as that link describes appears to fix the script for me.

      Attachments

        Activity

          People

            drew.farris Drew Farris
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: