accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Newton (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (ACCUMULO-1276) problems running generate_monitor_certificate.sh
Date Mon, 15 Apr 2013 18:08:15 GMT

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

Eric Newton edited comment on ACCUMULO-1276 at 4/15/13 6:06 PM:
----------------------------------------------------------------

Also, going to use dd instead of cat:

{noformat}
dd if=/dev/random count=1 bs=32 2>/dev/null |xxd -p -c 256
{noformat}

Since cat is probably doing buffered I/O and reading 512 bytes of precious entropy.

                
      was (Author: ecn):
    Also, going to use dd instead of cat:

{noformat}
dd if=/dev/random count=33 bs=1 2>/dev/null | head -c33 | xxd -p -c 256
{noformat}

Since cat is probably doing buffered I/O and reading 512 bytes of precious entropy.

                  
> problems running generate_monitor_certificate.sh
> ------------------------------------------------
>
>                 Key: ACCUMULO-1276
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1276
>             Project: Accumulo
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 1.4.3
>            Reporter: David Medinets
>            Assignee: Eric Newton
>
> I tried to run the generate_monitor_certificate.sh script on an Ubuntu VM
> and saw the following message:
> root@li459-74:/usr/local/accumulo# bin/generate_monitor_certificate.sh
> tail: cannot open `+2' for reading: No such file or directory
> I briefly looked into the script but don't know enough about /dev/random to
> debug much.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message