Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3AFE111E73 for ; Thu, 15 May 2014 00:37:13 +0000 (UTC) Received: (qmail 10415 invoked by uid 500); 13 May 2014 21:55:16 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 10373 invoked by uid 500); 13 May 2014 21:55:16 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 10364 invoked by uid 99); 13 May 2014 21:55:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 May 2014 21:55:16 +0000 Date: Tue, 13 May 2014 21:55:16 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2790) generate_monitor_certificate.sh fails on OSX MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-2790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996942#comment-13996942 ] Josh Elser commented on ACCUMULO-2790: -------------------------------------- [~drew.farris] do you want to take ownership and apply this? I'm happy to commit the changes just the same. > 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: Josh Elser > 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)