OpManager as Linux Service

How to start OpManager as service in Linux Machine

Applicable for OpManager versions above 123066 and above.

1. Stop the OpManager. 
2. Execute the linkAsService.sh script under OpManager/bin directory
3. This will add the opmanager as service in the machine.

Commands to start/stop/restart the service: 
For systemd* machines : systemctl start/stop/restart OpManager.service
For initd* machines : service OpManager start/stop/restart 

*To find out if your machine is initd or systemd based, please run the command "stat /proc/1/exe". This will return 
File: '/proc/1/exe' -> '/lib/systemd/systemd' - if it is systemd based (or)
File: '/proc/1/exe' -> '/sbin/init' - if it is initd based.

4. Make sure the hostname is added in the /etc/hosts file and perform reboot on the machine to check the status.

To add an entry in the /etc/hosts file : 
If your host name is my-host-opm, add the entry "127.0.0.1 my-host-opm" in the hosts file.
          • Related Articles

          • OpManager Service does not start automatically after Opmanager server restart

            Question: Why OpManager service does  not start automatically even though the service start up  type is set to                 automatic? Solution: There are scenarios where security applications like Symantech end point security , Trend micro or any ...
          • Migrating OpManager from Linux installation to Windows installation

            If OpManager is installed on Linux server and wants to move it to a Windows server for some reason, follow the steps below. 1.On the linux installation of OpManager, click About and check what is the build number of OpManager, download the windows ...
          • How to start OpManager through command Prompt?

            Question : How do I start OpManager using Command prompt rather using Windows service for the troubleshooting                   purpose?                  Solution: 1)Stop ManageEngine OpManager Service if running ( Go to Run > type "Services.msc" > ...
          • How to start OpManager through command Prompt?

            Question : How do I start OpManager using Command prompt rather using Windows service for the troubleshooting purpose?                  Solution: 1)Stop ManageEngine OpManager Service if running ( Go to Run > type "Services.msc" > stop the ...
          • Upgrading OpManager

            Before proceeding with the below upgrade steps, Take backup of OpManager using this link 1. Stop OpManager service. 2. Open the command prompt with administrative privilege and run the script UpdateManager.bat  under \\opmanager home\\bin folder. ...