cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Waiting more than 1 hour for cpserviced to stop when upgrading 9.5.2 to 9.6 MR6

Jump to solution

Hi,

I've an issue at vm12 500 combobox (allinone) SIEM,

At system logs (/var/log/messages) i see that waiting for cpserviced to stop line when upgrading the system 9.5.2 to 9.6 MR6

I've also opened a case to the support but maybe you can help me about should i stop cpserviced by kill process or should i wait for the normal process?

Thanks.

1 Solution

Accepted Solutions
kmc
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 2 of 6

Re: Waiting more than 1 hour for cpserviced to stop when upgrading 9.5.2 to 9.6 MR6

Jump to solution

This is possibly due to

  • The database encountered an error and is unable to be rebuilt.
  • The database is not rebuilding, but has stopped and needs to be restarted.
  • Other system problems.

Check is any process stuck in Zombi state by using the below command

ps aufx | grep cpservice                           

root      1663 91.0 0.0      0     0 ? Zl    

You can try to kill this kind of PID and check if it works?

View solution in original post

5 Replies
kmc
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 2 of 6

Re: Waiting more than 1 hour for cpserviced to stop when upgrading 9.5.2 to 9.6 MR6

Jump to solution

This is possibly due to

  • The database encountered an error and is unable to be rebuilt.
  • The database is not rebuilding, but has stopped and needs to be restarted.
  • Other system problems.

Check is any process stuck in Zombi state by using the below command

ps aufx | grep cpservice                           

root      1663 91.0 0.0      0     0 ? Zl    

You can try to kill this kind of PID and check if it works?

View solution in original post

Re: Waiting more than 1 hour for cpserviced to stop when upgrading 9.5.2 to 9.6 MR6

Jump to solution

Hi

The ps aufx output is like :

root 22937 0.0 0.0 2884 572 S+   ....... \_grep cpservice

root 21747 0.0 0.0 186292 6652 Ss ...... /usr/bin/perl /usr/local/bin/cpservicectl

root 5942 28.1 1.3 3664932 428992 Dl ....... \_ /usr/local/ess/cpserviced /usr/local/ess

root 26540 0.0 0.0 44688 13256 S ...... \_ /usr/bin/perl /etc/rc.d/rc6.d/K50cpservice stop

Could you describe this? Thanks.

kmc
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 4 of 6

Re: Waiting more than 1 hour for cpserviced to stop when upgrading 9.5.2 to 9.6 MR6

Jump to solution

Looks normal, what did the support team said about it??

Re: Waiting more than 1 hour for cpserviced to stop when upgrading 9.5.2 to 9.6 MR6

Jump to solution

Hi ​ , ​;

First support said : "do not kill the services" then i sent them the output about messages,NitroErrorlog he said that yes you could kill the cpserviced and dbserverd.

I've killed them and rebooting has started but 15 minutes no changes have occured. We powered off the the system through the VM console and powered on again. 1 night later finally we could log in successfully.

My experience about that wait 1-2 hours but if anything there are no changes kill the services (cpservice, dbserverd)

Thanks.

BR

abanaru
Level 11
Report Inappropriate Content
Message 6 of 6

Re: Waiting more than 1 hour for cpserviced to stop when upgrading 9.5.2 to 9.6 MR6

Jump to solution

I my experience with ESM upgrades it's best to just wait and don't rush things. Depending on the size of the database the rebuild might take some time.

Yes, in your case you might have an issue but waiting one hour it really isn't that much 🙂

If you need some help with which commands to fix this we can help you.

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community