WBEMServices installation failed - Failed to start cimserver (351 Views)
Reply
Occasional Advisor
Tribute2U
Posts: 14
Registered: ‎11-05-2009
Message 1 of 8 (351 Views)

WBEMServices installation failed - Failed to start cimserver

Hello,

I tried to install WBEMServices (A.02.07.04) but during the configure execution phase, it failed to start cimserver.

* Summary of Analysis Phase:
* 4 of 4 filesets had no Errors or Warnings.
* The Analysis Phase succeeded.


* Beginning the Install Execution Phase.
* Filesets: 4
* Files: 1598
* Kbytes: 62494
* Installing bundle "WBEMSvcs,r=A.02.07.04" .
* Installing fileset "WBEMServices.WBEM-CORE,r=A.02.07.04" (1 of
4).
* Installing fileset "WBEMServices.WBEM-CORE-COM,r=A.02.07.04"
(2 of 4).
* Installing fileset "WBEMServices.WBEM-MAN,r=A.02.07.04" (3 of
4).
* Installing fileset "WBEMServices.WBEM-MX,r=A.02.07.04" (4 of
4).
* Running install clean command /usr/lbin/sw/install_clean.
NOTE: tlinstall is searching filesystem - please be patient
NOTE: Successfully completed

* Beginning the Configure Execution Phase.
NOTE: Directory "prev_repository" found. Trying to save it...
NOTE: /etc/opt/hp/sslshare/file.pem and /etc/opt/hp/sslshare/cert.pem - SSL Certificate file already exists.
New certificates are not created.
NOTE: CIM Repository is being built - please be patient
NOTE: Starting cimserver daemon
ERROR: Failed to start cimserver
for loading of mof files.
ERROR: The "configure" script for "WBEMServices.WBEM-CORE" failed
(exit code "1"). The script location was
"/var/tmp/BAAa10490/catalog/WBEMServices/WBEM-CORE/configure".
* This script had errors and the execution of this fileset
cannot proceed until the problem is fixed. Check the above
output from the script for further details.

* Summary of Execution Phase:
ERROR: Installed WBEMServices.WBEM-CORE,r=A.02.07.04
ERROR: 1 of 4 filesets had Errors.
* 3 of 4 filesets had no Errors or Warnings.
ERROR: The Execution Phase had errors. See the above output for details.

I don't know where to search.

Thanks in advance for your help
Please use plain text.
Honored Contributor
Viktor Balogh
Posts: 1,007
Registered: ‎03-15-2009
Message 2 of 8 (351 Views)

Re: WBEMServices installation failed - Failed to start cimserver

Hi,

>NOTE: Starting cimserver daemon
>ERROR: Failed to start cimserver
>for loading of mof files.
>ERROR: The "configure" script for >"WBEMServices.WBEM-CORE" failed
>(exit code "1"). The script location was
>"/var/tmp/BAAa10490/catalog/WBEMServices/WBEM->CORE/configure".
>* This script had errors and the execution of >this fileset
>cannot proceed until the problem is fixed. >Check the above
>output from the script for further details.

I would take a look into the abovementioned script...

/var/tmp/BAAa10490/catalog/WBEMServices

If it's not there anymore, search for it in the .depot tape depot file, you can simply untar it. Or if it's a net-based install, search for it on the ignite server.
****
Unix operates with beer.
Please use plain text.
Occasional Advisor
Tribute2U
Posts: 14
Registered: ‎11-05-2009
Message 3 of 8 (351 Views)

Re: WBEMServices installation failed - Failed to start cimserver

The configure script is in the attachment file.

Thanks in advance.
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,958
Registered: ‎03-06-2006
Message 4 of 8 (351 Views)

Re: WBEMServices installation failed - Failed to start cimserver

>The configure script is in the attachment file.

Looks like it is failing around here:
ERROR: Failed to start cimserver
for loading of mof files.

start_cimserver
if [ $exitval -eq $FAILURE ]
then
echo " for loading of mof files."
exit $exitval
fi

# Function: start_cimserver
# Purpose : Start up the cimserver daemon.
start_cimserver()
/opt/wbem/sbin/cimserver >>$INSTALL_LOG 2>&1
INSTALL_LOG=/var/opt/wbem/install.log

So look in $INSTALL_LOG?
Please use plain text.
Occasional Advisor
Tribute2U
Posts: 14
Registered: ‎11-05-2009
Message 5 of 8 (351 Views)

Re: WBEMServices installation failed - Failed to start cimserver

In the /var/opt/wbem/install.log I cans ee that :

=====
Stop the cimserver process
PGS10013: Shutdown time-out expired. A forced shutdown of the CIM server is initiated.
Fri Nov 6 12:56:43 MET 2009
PGS10008: Unable to connect to the CIM server. CIM server may not be running.
Fri Nov 6 13:06:38 MET 2009
Unable to connect to CIM Server. CIM Server may not be running.
=====
Please use plain text.
Honored Contributor
Viktor Balogh
Posts: 1,007
Registered: ‎03-15-2009
Message 6 of 8 (351 Views)

Re: WBEMServices installation failed - Failed to start cimserver

what if you try to manually start it?

# /opt/wbem/sbin/cimserver

****
Unix operates with beer.
Please use plain text.
Occasional Advisor
Tribute2U
Posts: 14
Registered: ‎11-05-2009
Message 7 of 8 (351 Views)

Re: WBEMServices installation failed - Failed to start cimserver

Thanks to the HP Support, I found the solution.
A variable was not properly set. I just add the following line :
export PEGASUS_USE_DEFAULT_MESSAGES=true
in the /var/adm/sw/products/WBEMServices/WBEM-CORE/configure file.

After I added the same variable in the /sbin/init.d/cimserver.

After that a swconfig WBEMServices.WBEM-CORE solve definitively the problem.

Thank you to take some time to try to help me.

Regards.
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,958
Registered: ‎03-06-2006
Message 8 of 8 (351 Views)

Re: WBEMServices installation failed - Failed to start cimserver

>Thank you to take some time to try to help me.

If you were happy with the answers you were given, please read the following about how to assign points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation