Last updated on JANUARY 23, 2017
Applies to:Oracle Communications Messaging Server - Version 8.0.1 and later
Information in this document applies to any platform.
Instead of performing a "refresh" or "imsimta reload", can I just do a "kill -HUP" to restart the Messaging Server services?
Here is some background information as to why we are looking for this:
The "refresh" and "imsimta reload" commands require they be run as root.
Our automation tool does everything by way of "sudo."
So the automation tool runs as "imsadmin" (the mailsrv userid we use) but it does so by first logging in to the target system (ssh) as the person executing the tool and then does a sudo to imsadmin to do each command.
It can do the following:
* be the user running the tool
* sudo to imsadmin
* sudo as imsadmin to become root
* do something as root (from imsadmin (from original user))
The direct/normal alternative would be to run the tool "as root" instead of "as imsadmin". But, we don't have the root password.
But, we can do kill -HUP on whatever processes we like, as imsadmin.
On our frontend systems, we run everything via SMF. we could use SMF "refresh" to do this. But then it refreshes everything.
On the backend systems, it is under VCS. The only option there is to restart the whole thing, which is way overkill.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms