How to recover the default OfflinePackaging and RasterUtilities services
In ArcGIS Server → Services → Utilities, if RasterUtilities service ( or OfflinePackaging service, or Geometry Service ……) is removed from ArcGIS Server, how to recover it?
This is a default service, provided by ArcGIS Server.
There are references for recreating print tool, and geometry service, https://support.esri.com/en/technical-article/000011990, and https://enterprise.arcgis.com/en/server/latest/administer/linux/re-creating-the-geometry-service.htm.
To recover the utility service, you require to log into ArcGIS Server admin webpage. Also, you need another environment with 10.6.1 in order to get the json to recreate these services from there. Below it is using DEV ArcGIS Server.
Click on RasterUtilities, then click edit, you can then copy the json on DEV to recreate the service in your problematic ArcGIS Server.
If there are any differences in the directories paths between DEV and PROD you may need to update the outputDir and jobsDirectory variables. You should also remove the portalProperties section at the bottom.
Once the service has been published, from ArcGIS Server Manager, clicking Sharing Properties button, you will get the utility service back: