Operating System - HP-UX
1833796 Members
4559 Online
110063 Solutions
New Discussion

Re: HPUX 11.31 cimserver start fails after set_parms initialize

 
Stefan Kirchner
Occasional Advisor

HPUX 11.31 cimserver start fails after set_parms initialize

hello, i had two new rx7640 with preinstalled hpux 11.31 and i set system parameters a second time with set_parms initialize, but after reboot, /etc/rc.log shows following error: PGS10033: The CIM Server is not started: PGS00415: SSL exception: PGS09203: Not enough seed data in random seed file: /var/opt/wbem/cimserver.rnd.
all dependend application e.g. icap- and parstatus does not work.
the file exits and the size seems okay.
this situation happens on both systems.
reinstallation of wbem with overwrite option does not solve the problem.
thank you for your help
12 REPLIES 12
Jeeshan
Honored Contributor

Re: HPUX 11.31 cimserver start fails after set_parms initialize

Stefan Kirchner
Occasional Advisor

Re: HPUX 11.31 cimserver start fails after set_parms initialize

i've check the link but this error is very different, the system need that the cimserver is up and running, but he don't come up,
root@dewgitsrv022:/ =>ps -ef | grep cimserver
root 2057 1 0 Jun 20 ? 0:00 /opt/wbem/lbin/cimserverd
root 27584 27473 0 13:39:34 pts/0 0:00 grep cimserver
root@dewgitsrv022:/ =>grep cimserver /var/adm/syslog/syslog.log
Jun 20 11:32:59 dewgitsrv022 cimserver[1543]: starting
Jun 20 11:33:14 dewgitsrv022 cimserver[1544]: PGS10033: The CIM Server is not started: PGS00415: SSL exception: PGS09203: Not enough seed data in random seed file: /var/opt/wbem/cimserver.rnd.
Jun 20 11:33:15 dewgitsrv022 cimserver[1543]: exited normally
Jun 20 11:44:54 dewgitsrv022 cimserver[4178]: starting
Jun 20 11:44:59 dewgitsrv022 cimserver[4179]: PGS10033: The CIM Server is not started: PGS00415: SSL exception: PGS09203: Not enough seed data in random seed file: /var/opt/wbem/cimserver.rnd.
Jun 20 11:45:20 dewgitsrv022 cimserver[4178]: exited normally
root@dewgitsrv022:/ =>cimserver -s
PGS10008: Unable to connect to the CIM server. CIM server may not be running.
root@dewgitsrv022:/ =>date
Sat Jun 21 13:54:45 MESZ 2008
root@dewgitsrv022:/ =>
Dennis Handly
Acclaimed Contributor

Re: HPUX 11.31 cimserver start fails after set_parms initialize

>Not enough seed data in random seed file: /var/opt/wbem/cimserver.rnd.

Can you compare this file to a system where it works?
What happens if you rename the file?
SKR_1
Trusted Contributor

Re: HPUX 11.31 cimserver start fails after set_parms initialize

Start cimserver.

run the command given below

/sbin/init.d/cimserver
Hamada Shinji
New Member

Re: HPUX 11.31 cimserver start fails after set_parms initialize

# RANDFILE=/dev/urandom
# export RANDFILE
# openssl -rand rand /var/opt/wbem/cimserver_current.conf -out /var/opt/wbem/cimserver.rnd 1024
Stefan Kirchner
Occasional Advisor

Re: HPUX 11.31 cimserver start fails after set_parms initialize

i remove /var/opt/wbem/cimserver.rnd,
reboot, file only 0 byte and shows an other error message, but cimserver does not start,
then i take a new installation from DVD and it works,
if i start with the above problem and replace the /var/opt/wbem directory with the one from the new installation same issue again.
Stefan Kirchner
Occasional Advisor

Re: HPUX 11.31 cimserver start fails after set_parms initialize

openssl -rand rand /var/opt/wbem/cimserver_current.conf -out /var/opt/wbem/cimserver.rnd 1024
shows "openssl:Error: '-rand' is an invalid command",
seems to be a syntax error
Hamada Shinji
New Member

Re: HPUX 11.31 cimserver start fails after set_parms initialize

sorry.
# openssl rand -rand /var/opt/wbem/cimserver_current.conf -out /var/opt/wbem/cimserver.rnd 1024
vinayks
New Member

Re: HPUX 11.31 cimserver start fails after set_parms initialize

A late post but thought it would be good to capture the soln some where and this was a good place to do it.

The random seed data depends on the psuedo driver "rng" being loaded. So, check if the "rng" module is loaded in the first place. This can be done using "kcmodule rng". If the State shows up as "unused", then load the driver using "kcmodule rng=loaded". It is DLKM module and will not require a reboot. If the messages continue even after the rng is loaded, then the error might be something else.
~sesh
Esteemed Contributor

Re: HPUX 11.31 cimserver start fails after set_parms initialize

Hi, can you check the WBEM version? Apparently this issue seems to have been fixed in WBEM v-A.02.07.02.

Check this page for more info:
http://docs.hp.com/en/B8465-90038/ch01s08.html
vinayks
New Member

Re: HPUX 11.31 cimserver start fails after set_parms initialize

Yes, you are right. I updated to the new release and do not see the issue now.

Apparently, this was a bug on 11.31 where the cimserver.rnd file was set with wrong permissions and hence the cimserver was unable to use the file for starting up. The issue has been fixed with A.02.07.02.

So the thing to do with the above failure would be:
1) Update your Wbem services to the latest release. A.02.07.02 and higher releases should carry a fix for this.

The what strings(with fix) should read:
#what /opt/wbem/lbin/cimserver
/opt/wbem/lbin/cimserver:
HP-UX WBEM Services A.02.07.02 (Jun 12 2008)
HP-UX WBEM Services-cimserver A.02.07.02 (Jun 12 2008)

2) In case you do not want to do 1), then you can just check if your rng module is loaded or not. If it is not, try loading it and the issue might not be seen.

--Vinay.


Stefan Kirchner
Occasional Advisor

Re: HPUX 11.31 cimserver start fails after set_parms initialize

excuse my late response, i must take a new installation due to time problems and i can't implement you last suggestions, but the wbem version was older.
thanks all for your help !