Operating System - HP-UX
1748272 Members
4197 Online
108760 Solutions
New Discussion

Re: cimservermain syslog error

 
JohnTal
Occasional Advisor

cimservermain syslog error

Hello all,

 

I am getting the following error message repeated every 30 seconds in my syslog.log

 

cimserver[18449]: The cimservermain user "cimsrvr" does not exist.

cimserver[18426]: exited with status of 1

 

This is on:  HPUX11i-VSE-OE                B.11.31.1109

 

We have one other server running the same release in the same configuration that does not have these errors in the syslog.  The cimserver processes do not start on this server either.  If I try to start cimserver from command line, I get the same error message as is in the syslog.

 

# cimserver
/opt/wbem/lbin/cimserver: The cimservermain user "cimsrvr" does not exist.

 

 

 

Additionally, we have a 11.23 server that has the cimserver processes up and running, but does not have a cimsrvr user in the passwd file.

 

 

 

Can someone please help me understand why the 11.23 server has the cimserver processes running, but does not have the cimsrvr user in the passwd file, and what I can do to get the processes started on my 11.31 server.

 

Thank you much for your continued help.

 

--John

8 REPLIES 8
Uday_S_Ankolekar
Honored Contributor

Re: cimservermain syslog error

 

use cimprovider -ls to verify that all installed providers are still registered.

Good Luck..
rariasn
Honored Contributor

Re: cimservermain syslog error

Hi:

 

1.- 11.31 Verify product.

 

#swverify   WBEMServices

 

2.- 11.23 Verify user

 

# ps -ef | grep -i cimsrv | grep -v grep | awk '{print $1}'|xargs finger

 

rgs,

JohnTal
Occasional Advisor

Re: cimservermain syslog error

Hello Uday,

 

When I run this on the 11.31 server I get the following error.

 

PGC00601: The CIM server may not be running.

 

# ps -aef | grep cim
    root  3279     1  0  Mar 28  ?         0:01 /opt/wbem/lbin/cimserverd
    root 26316 15899  0 13:33:04 pts/0     0:00 grep cim

 

On the 11.23 server it displays status of OK for all modules except one that is STOPPED.

 

Thanks!

 

JohnTal
Occasional Advisor

Re: cimservermain syslog error

Hello rariasn,

 

On the 11.31 server:

 

# swverify WBEMServices

=======  03/30/12 11:05:27 CDT  BEGIN swverify SESSION
         (non-interactive) (jobid=blp-0114)

       * Session started for user "root@blp".

       * Beginning Selection
       * Target connection succeeded for "blp:/".
       * Software selections:
             WBEMServices.WBEM-CORE,l=/,r=A.02.09.10,a=HP-UX_B.11.31_IA/PA,v=HP,fr=A.02.09.10,fa=HP-UX_B.11.31_IA
             WBEMServices.WBEM-CORE-COM,l=/,r=A.02.09.10,a=HP-UX_B.11.31_IA/PA,v=HP,fr=A.02.09.10,fa=HP-UX_B.11.31_IA/PA
             WBEMServices.WBEM-MAN,l=/,r=A.02.09.10,a=HP-UX_B.11.31_IA/PA,v=HP,fr=A.02.09.10,fa=HP-UX_B.11.31_IA/PA
             WBEMServices.WBEM-MX,l=/,r=A.02.09.10,a=HP-UX_B.11.31_IA/PA,v=HP,fr=A.02.09.10,fa=HP-UX_B.11.31_IA/PA
             WBEMServices.WBEM-TOOLS,l=/,r=A.02.09.10,a=HP-UX_B.11.31_IA/PA,v=HP,fr=A.02.09.10,fa=HP-UX_B.11.31_IA
           + openssl.OPENSSL-CER,l=/opt/openssl,r=A.00.09.08q.003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=A.00.09.08q.003,fa=HP-UX_B.11.31_IA/PA
           + openssl.OPENSSL-CONF,l=/opt/openssl,r=A.00.09.08q.003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=A.00.09.08q.003,fa=HP-UX_B.11.31_IA/PA
           + openssl.OPENSSL-DOC,l=/opt/openssl,r=A.00.09.08q.003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=A.00.09.08q.003,fa=HP-UX_B.11.31_IA/PA
           + openssl.OPENSSL-INC,l=/opt/openssl,r=A.00.09.08q.003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=A.00.09.08q.003,fa=HP-UX_B.11.31_IA/PA
           + openssl.OPENSSL-LIB,l=/opt/openssl,r=A.00.09.08q.003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=A.00.09.08q.003,fa=HP-UX_B.11.31_IA
           + openssl.OPENSSL-MAN,l=/opt/openssl,r=A.00.09.08q.003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=A.00.09.08q.003,fa=HP-UX_B.11.31_IA/PA
           + openssl.OPENSSL-MIS,l=/opt/openssl,r=A.00.09.08q.003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=A.00.09.08q.003,fa=HP-UX_B.11.31_IA/PA
           + openssl.OPENSSL-PRNG,l=/opt/openssl,r=A.00.09.08q.003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=A.00.09.08q.003,fa=HP-UX_B.11.31_IA
           + openssl.OPENSSL-PVT,l=/opt/openssl,r=A.00.09.08q.003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=A.00.09.08q.003,fa=HP-UX_B.11.31_IA/PA
           + openssl.OPENSSL-RUN,l=/opt/openssl,r=A.00.09.08q.003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=A.00.09.08q.003,fa=HP-UX_B.11.31_IA
           + openssl.OPENSSL-SRC,l=/opt/openssl,r=A.00.09.08q.003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=A.00.09.08q.003,fa=HP-UX_B.11.31_IA/PA
       * A "+" indicates an automatic selection due to dependency or
         the automatic selection of a patch or reference bundle.
       * Selection succeeded.


       * Beginning Analysis
       * Session selections have been saved in the file
         "/.sw/sessions/swverify.last".
       * The analysis phase succeeded for "blp:/".
       * Verification succeeded.


NOTE:    More information may be found in the agent logfile using the
         command "swjob -a log blp-0114 @ blp:/".

=======  03/30/12 11:05:33 CDT  END swverify SESSION (non-interactive)
         (jobid=blp-0114)

 

 

On the 11.23 server the processes are running as root.

 

Thanks!

rariasn
Honored Contributor

Re: cimservermain syslog error

Hi:

 

HPUX 11.31

 

#/sbin/init.d/cim_server stop
PGS10019: CIM server is stopped.

 

# rm /var/opt/wbem/socket/cimxml.socket

 

Verify directory permission:

 

# ll -d /var/opt/wbem/
drwxr-xr-x   8 cimsrvr    bin           8192 Nov 25 06:56 /var/opt/wbem/

 

 

 

#/sbin/init.d/cim_server start

CIM cimserver started

 

# grep -i cim /var/adm/syslog/syslog.log

 

cimserver[7725]: PGS10026:  The CIM server is listening on HTTPS port 5,989.
cimserver[7725]: PGS10028: The CIM server is listening on the local connection socket.
cimserver[7725]: PGS10030:  Started HP-UX WBEM Services version A.02.07.06.

 

# cimprovider -l -s

 

 

 

rgs,

 

 

 

 

 

 

 

 

JohnTal
Occasional Advisor

Re: cimservermain syslog error

Hello,

 

On 11.31 (not working):

 

# /sbin/init.d/cim_server stop

#
# ps -aef | grep cim
    root  3279     1  0  Mar 28  ?         0:07 /opt/wbem/lbin/cimserverd
    root  4096   994  0 10:58:54 pts/0     0:00 grep cim

#
# ll /var/opt/wbem/socket/
total 0

#
# ll -d /var/opt/wbem
drwxr-xr-x   7 sfmdb      bin           8192 Dec 19 14:20 /var/opt/wbem

#
# /sbin/init.d/cim_server start
/opt/wbem/lbin/cimserver: The cimservermain user "cimsrvr" does not exist.
ERROR CODE 1

#

# cimprovider -l -s

PGC00601: The CIM server may not be running.

 

On 11.23 (working):

 

# ps -aef | grep cim
    root  1590     1  0  Jan 27  ?         0:10 /opt/wbem/lbin/cimserver
    root  1591  1590  0  Jan 27  ?         0:00 /opt/wbem/lbin/cimservera
    root  1592  1590  0  Jan 27  ?         0:04 /opt/wbem/lbin/cimprovagt 11 10 EMSHAProviderModule
    root  1593  1590  0  Jan 27  ?         3:29 /opt/wbem/lbin/cimprovagt 14 11 HPUXFCIndicationProviderModule
    root  1594  1590  0  Jan 27  ?         0:04 /opt/wbem/lbin/cimprovagt 16 14 HPUXIOTreeIndicationProviderModule
    root  1595  1590  0  Jan 27  ?         0:20 /opt/wbem/lbin/cimprovagt 18 16 HPUXLANIndicationProviderModule
    root  2724     1  0  Jan 27  ?         0:39 /opt/wbem/lbin/cimserverd
    root  6666  6197  0 11:02:05 pts/0     0:00 grep cim
#
# ll /var/opt/wbem/socket
total 0
srwxrwxrwx   1 root       root             0 Jan 27 10:34 cimxml.socket
#
# ll -d /var/opt/wbem
dr-xr-xr-x   7 bin        bin           8192 Jan 27 10:34 /var/opt/wbem

#

# cimprovider -l -s
MODULE                                  STATUS
OperatingSystemModule                   OK
ComputerSystemModule                    OK
ProcessModule                           OK
IPProviderModule                        OK
DNSProviderModule                       OK
NTPProviderModule                       OK
NISProviderModule                       OK
AmgrAgentProviderModule                 OK
EMSHAProviderModule                     OK
HPUXLVMProviderModule                   OK
HP_NParProviderModule                   OK
HP_ResParProviderModule                 OK
HPUXRAIDSAProviderModule                OK
HPUXSASProviderModule                   OK
HPUXSCSICSProviderModule                OK
HPUXSCSIProviderModule                  OK
HPUXFCCSProviderModule                  OK
HPUXFCIndicationProviderModule          OK
HPUXFCProviderModule                    OK
FSProviderModule                        OK
HPUXIOTreeIndicationProviderModule      OK
HPUXLANProviderModule                   OK
HPUXLANCSProviderModule                 OK
HPUXLANIndicationProviderModule         OK
HP_iCODProviderModule                   OK
HP_iCAPProviderModule                   OK
HP_GiCAPProviderModule                  OK
HP_VParProviderModule                   OK
HP_UtilizationProviderModule            OK
HPVMProviderModule                      OK
SFMProviderModule                       Stopped
IOTreeModule                            OK
SDProviderModule                        OK

 

 

 

Note: cimsrvr user does not exist on either server

 

Thanks for the help!

--John

Team_of_5
Advisor

Re: cimservermain syslog error


@JohnTal wrote:

Hello,

 

On 11.31 (not working):

 

# /sbin/init.d/cim_server stop

#
# ps -aef | grep cim
    root  3279     1  0  Mar 28  ?         0:07 /opt/wbem/lbin/cimserverd
    root  4096   994  0 10:58:54 pts/0     0:00 grep cim

#
# ll /var/opt/wbem/socket/
total 0

#
# ll -d /var/opt/wbem
drwxr-xr-x   7 sfmdb      bin           8192 Dec 19 14:20 /var/opt/wbem

#
# /sbin/init.d/cim_server start
/opt/wbem/lbin/cimserver: The cimservermain user "cimsrvr" does not exist.
ERROR CODE 1

#

# cimprovider -l -s

PGC00601: The CIM server may not be running.

 

On 11.23 (working):

 

# ps -aef | grep cim
    root  1590     1  0  Jan 27  ?         0:10 /opt/wbem/lbin/cimserver
    root  1591  1590  0  Jan 27  ?         0:00 /opt/wbem/lbin/cimservera
    root  1592  1590  0  Jan 27  ?         0:04 /opt/wbem/lbin/cimprovagt 11 10 EMSHAProviderModule
    root  1593  1590  0  Jan 27  ?         3:29 /opt/wbem/lbin/cimprovagt 14 11 HPUXFCIndicationProviderModule
    root  1594  1590  0  Jan 27  ?         0:04 /opt/wbem/lbin/cimprovagt 16 14 HPUXIOTreeIndicationProviderModule
    root  1595  1590  0  Jan 27  ?         0:20 /opt/wbem/lbin/cimprovagt 18 16 HPUXLANIndicationProviderModule
    root  2724     1  0  Jan 27  ?         0:39 /opt/wbem/lbin/cimserverd
    root  6666  6197  0 11:02:05 pts/0     0:00 grep cim
#
# ll /var/opt/wbem/socket
total 0
srwxrwxrwx   1 root       root             0 Jan 27 10:34 cimxml.socket
#
# ll -d /var/opt/wbem
dr-xr-xr-x   7 bin        bin           8192 Jan 27 10:34 /var/opt/wbem

#

# cimprovider -l -s
MODULE                                  STATUS
OperatingSystemModule                   OK
ComputerSystemModule                    OK
ProcessModule                           OK
IPProviderModule                        OK
DNSProviderModule                       OK
NTPProviderModule                       OK
NISProviderModule                       OK
AmgrAgentProviderModule                 OK
EMSHAProviderModule                     OK
HPUXLVMProviderModule                   OK
HP_NParProviderModule                   OK
HP_ResParProviderModule                 OK
HPUXRAIDSAProviderModule                OK
HPUXSASProviderModule                   OK
HPUXSCSICSProviderModule                OK
HPUXSCSIProviderModule                  OK
HPUXFCCSProviderModule                  OK
HPUXFCIndicationProviderModule          OK
HPUXFCProviderModule                    OK
FSProviderModule                        OK
HPUXIOTreeIndicationProviderModule      OK
HPUXLANProviderModule                   OK
HPUXLANCSProviderModule                 OK
HPUXLANIndicationProviderModule         OK
HP_iCODProviderModule                   OK
HP_iCAPProviderModule                   OK
HP_GiCAPProviderModule                  OK
HP_VParProviderModule                   OK
HP_UtilizationProviderModule            OK
HPVMProviderModule                      OK
SFMProviderModule                       Stopped
IOTreeModule                            OK
SDProviderModule                        OK

 

 

 

Note: cimsrvr user does not exist on either server

 

Thanks for the help!

--John



We are also facing the same issue only in one server which is of 11v3..

Team_of_5
Advisor

Re: cimservermain syslog error

Hi,

 

we have faced the same issue and the same has been rectified after creating user named "cimsvr"

 

#useradd cimsvr

 

then we have reconfigured the WBEMSvc on the server by swconfig command, observed the issue has been addressed.

 

#swconfig -p -x mount_all_filesystems=false -x reconfigure=true WBEMServices
#swconfig -x mount_all_filesystems=false -x reconfigure=true WBEMServices