You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Eric Newton (JIRA)" <ji...@apache.org> on 2013/04/15 20:08:15 UTC

[jira] [Comment Edited] (ACCUMULO-1276) problems running generate_monitor_certificate.sh

    [ 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