New Member.. bkruep
New Member..

restart command not working with autolisteners

Hello I am on ServiceCenter 9.4 and most of our ports and processes (http ports, schedulers, email, sync) can be restarted by the following command:

sm -restart:n [-host:host name or IP address] [-pid:process ID]

When I try restarting the autolisteners by their pid, they try to restart but never do.  Does anyone know if this command works for autolisteners.  If not is there another way to restart the autolisteners besides doing a kill to bring it down and a nohup to bring it back up?

1 Reply
Carlos_V_SM Acclaimed Contributor.
Acclaimed Contributor.

Re: restart command not working with autolisteners

This parameter restarts one or all HP Service Manager processes on a host after a specified waiting period and an optional quiesce grace period. This parameter uses the following syntax:

sm -restart:n [-host:host name or IP address] [-pid:process ID]

Use the host parameter to specify where the processes are located if they are not on the local system. If you do not specify a host, the server will restart processes on the local host. Use the pid parameter to specify a particular process ID you want to restart if you do not want to restartall processes on the host. If you do not specify a process ID, the server restarts all processes. Add restartGraceInterval to the sm.ini file to specify how many minutes you want to quiesce processes before they restart.

Note: The restart command does not restart the load balancer process when restarting all processes on a host. The only way to restart a load balancer process is to specify it by process ID.

You can cancel a restart by using a value of -1 during the waiting period. You must specify the same host name or process ID you specified to restart. For example:

sm -restart:-1 -pid:1234

Note: You cannot cancel a process restart after the restart waiting period has expired.

Carlos Villalobos R
Customer Support Engineer
If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.