Problem with /dev/random on Solaris
| From: | Jonas Blåberg | Date: | Tue, 04 Mar 2003 10:16:36 +0000 |
| Subject: | Problem with /dev/random on Solaris | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10267@lists.php.net to get a copy of this message | ||
Hello!
I have installed PHP 4.2.3 on Solaris 7.
Unfortunately SUNWski (for /dev/random functionality) was not installed, but I found it on a Sun CD
and installed it. Seemed to be working great, even though I did not know the version of the Sun CD.
But when I tried using some PHP scripts the web server process seems to hang when reading
/dev/random.
I have tried to restart the cryptorand process with no luck. The permissions on /dev/random are 644.
So my guess is the SUNWski package has the wrong version. See "pkginfo -l SUNWski" below:
PKGINST: SUNWski
NAME: SKI 1.0 Software (User Package)
CATEGORY: application
ARCH: sparc
VERSION: 1.0,REV=1998.09.24.00.00
BASEDIR: /
VENDOR: Sun Microsystems
DESC: SKI Software (User Package)
PSTAMP: mcm-ultra1>Fri Dec 4 14:23:39 PST 1998
INSTDATE: Feb 06 2003 10:21
VSTOCK: 258-6422-05
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 36 installed pathnames
10 shared pathnames
4 linked files
11 directories
16 executables
3173 blocks used (approx)
Anyone who has some ideas about what version should be used? Should I use a non-Sun /dev/random
package instead?
Thanx /jonas
Jonas Blåberg
Cell Network Sverige AB
Kruthusgatan 17,6
S-411 04 Göteborg
jonas.blaberg@cellnetwork.com
office: +46-(0)31-739 84 54
mobile: +46-(0)709-95 00 68