PRNGD Fix for Zend Core on IBM i

Follow

Applies To:

 

[ Zend Core 2.x ]
[ IBM System i ]

Preface

The Pseudo Random Number Generator Daemon (PRNGD) offers EGD compatible interface to obtain random data. This utility is shipped with Zend Core as a  standard replacement for platforms that are missing /dev/urandom. The PRNGD utility tends to leak memory (over time), and has start-up timing issues that the device /dev/urandom does not.

This article provides a link to the fixed version of PRNGD and instructions on replacing it in your Zend Core installation.

Details

To replace the PRNGD utility with its fixed version, perform the following steps:

  1. Stop Zend subsystem using Zend Core Setup Menu - GO ZENDCORE/ZCMENU | 5 | 2.
  2. Make backup of the original PRNGD module:
    1. call qp2term
    2. cd /usr/local/Zend/Core/sbin/
    3. mv prngd prngd-orig
  3. [UPDATE - Attachment no longer available!!!] Download the attached updated PRNGD module to your Windows workstation and unpack it.
  4. Map your System i server IFS directory to one of your Windows directories.
  5. Copy the unpacked PRNGD module from your Windows workstation to the IFS directory /usr/local/Zend/Core/sbin/.
  6. Start Zend subsystem using Zend Core Setup Menu - GO ZENDCORE/ZCMENU | 5 | 1.
Note:
You can remove ZC_STR_PRN jobs from the Job Scheduler. Use the following CL command to find and remove PRNGD scheduled jobs: WRKJOBSCDE.

 


Excerpt: The Pseudo Random Number Generator Daemon (PRNGD) offers EGD compatible interface to obtain random data. This utility is shipped with Zend Core as standard replacement for platforms that are missing /dev/urandom. This article provides a link to the fixed version of PRNGD and instructions on replacing it in your Zend Core installation.


Original Post Date: 2009-10-23 14:09:20

Alternative Description:

The Pseudo Random Number Generator Daemon (PRNGD) offers EGD compatible interface to obtain random data. This utility is shipped with Zend Core as standard replacement for platforms that are missing /dev/urandom. This article provides a link to the fixed version of PRNGD and instructions on replacing it in your Zend Core installation.

_____
Tags: /dev/urandom,EGD,fix,i5/OS,prngd,Pseudo Random Number Generator Daemon,sam,Zend Core,oldKB

Have more questions? Submit a request

Comments

Powered by Zendesk