Error message when you try to install System Center Operations Manager 2007 R2, or you try to run the Scxsslconfig command-line utility on a Linux-based server: "Failed to get random data - not enough entropy"

Article translations Article translations
Article ID: 978358 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

You run a Linux-based server. When you try to install Microsoft System Center Operations Manager 2007 R2, or you try to run the Scxsslconfig command-line utility, you receive an error message that resembles the following:
<stdout>Shutting down Microsoft SCX CIM Server ..done Generating certificate with hostname="host_name", domainname="domain_name" [/home/serviceb/TfsCoreWrkSpcLinux_SUSE_10.0_x86_64/source/code/tools/scx_ssl_config/scxsslcert.cpp:198] Failed to allocate resource of type random data: Failed to get random data - not enough entropy </stdout><stderr>error: %post(scx-1.0.4-248.x86_64) scriptlet failed, exit status 1 </stderr><returnCode>1</returnCode>

<DataItem type="Microsoft.SSH.SSHCommandData" time="2009-06-20T23:20:33.1537703-07:00" sourceHealthServiceId="034F3FD1-F9B4-8BDA-8C99-9F0BAE8613AF"><SSHCommandData><stdout>Shutting down Microsoft SCX CIM Server ..done Generating certificate with hostname="host_name", domainname="domain_name" [/home/serviceb/TfsCoreWrkSpcLinux_SUSE_10.0_x86_64/source/code/tools/scx_ssl_config/scxsslcert.cpp:198] Failed to allocate resource of type random data: Failed to get random data - not enough entropy </stdout><stderr>error: %post(scx-1.0.4-248.x86_64) scriptlet failed, exit status 1 </stderr><returnCode>1</returnCode></SSHCommandData></DataItem>

CAUSE

This problem occurs because the computer has insufficient good random data or entropy to create a secure certificate. To create a secure certificate, 256 bytes of entropy are needed.

WORKAROUND

To work around this problem, you can create your own entropy and then create the certificate.

Note This workaround creates entropy that is less secure than kernel-created entropy.

To do this, follow these steps:
  1. Create 1,024 bytes of entropy on your computer. At a command prompt, type the following command, and then press ENTER:
    dd if=/dev/urandom of=~/.rnd bs=1 count=1024
  2. Create the certificate. At a command prompt, type the following command, and then press ENTER:
    /opt/microsoft/scx/bin/tools/scxsslconfig -f -v

Properties

Article ID: 978358 - Last Review: December 14, 2009 - Revision: 1.0
APPLIES TO
  • Microsoft System Center Operations Manager 2007 R2
Keywords: 
kberrmsg kbtshoot kbexpertiseinter kbsurveynew kbprb KB978358

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com