accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2790) generate_monitor_certificate.sh fails on OSX
Date Wed, 14 May 2014 02:44:15 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-2790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13997213#comment-13997213
] 

Josh Elser commented on ACCUMULO-2790:
--------------------------------------

Awesome! Also, the commands you pasted do work for me, so this looks good to commit to me.

> generate_monitor_certificate.sh fails on OSX
> --------------------------------------------
>
>                 Key: ACCUMULO-2790
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2790
>             Project: Accumulo
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 1.5.1, 1.6.0
>         Environment: OSX Mavericks (10.9.2)
>            Reporter: Josh Elser
>            Assignee: Drew Farris
>             Fix For: 1.5.2, 1.6.1
>
>
> 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:
> {noformat}
> tr: Illegal byte sequence
> {noformat}
> It appears that maybe the [LC_CTYPE default|http://unix.stackexchange.com/questions/45404/why-cant-tr-read-from-dev-urandom-on-osx]
for OSX changed (or maybe just my shell?). Making a change as that link describes appears
to fix the script for me.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message