You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Drew Farris (JIRA)" <ji...@apache.org> on 2014/05/14 04:34:15 UTC
[jira] [Assigned] (ACCUMULO-2790) generate_monitor_certificate.sh
fails on OSX
[ https://issues.apache.org/jira/browse/ACCUMULO-2790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Drew Farris reassigned ACCUMULO-2790:
-------------------------------------
Assignee: Drew Farris (was: Josh Elser)
> 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)