Bootstrap FreeKB - IBM Liberty - Start Stop Restart application server
IBM Liberty - Start Stop Restart application server

Updated:   |  IBM Liberty articles

Start Liberty server. If you do not specify the server name, the default Liberty server will be started. The name of the default Liberty server is, most appropriately, defaultServer.

~]# ${liberty_install_root}/bin/server start server_name

 

The ps command can be used to ensure the server is running. In this example, the server is using PID 12345.

~]# ps -ef | grep -i WebSphere
root  12345  1  0  Dec13  ?  00:45:50  /opt/IBM/WebSphere/Liberty/. . .

 

Stop Liberty server.

~]# ${liberty_install_root}/bin/server stop server_name

 

The ps command can be used to ensure there are no WebSphere processes actively running. In this example, the ps command only returns one line, which is not the WebSphere application server, and instead just the ps command itself.

~]# ps -ef | grep -i WebSphere
root  12345  1234  0  18:51  pts/2  00:00:00  grep --color=auto WebSphere

 

A crontab job can be created to ensure the deployment manager is started when the system is rebooted.

@reboot bash ${liberty_install_root}/bin/server start server_name

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 85c93e in the box below so that we can be sure you are a human.