Starting and stopping search services
As an Administrator you may have to stop, and then restart search when there is a systemwide failure or when software updates need to be installed.
Search is comprised of the following services on Windows or daemons on Linux:
- XyEnterprise Solr Server (
start.jar) - XyEnterprise Contenta Server (
PcmPortal) - XyEnterprise Search Crawler (
crawler.jar)
To access these services on Windows, click
To access these services on Linux, in a terminal window enter ps –ef to generate a list of the file names used to run the daemons, which are:
start.jarPcmPortalcrawler.jar
These services are configured by the Contenta installer.
- If the Crawler service ceases to function, and the Solr and Portal services are still operational, object modifications in Contenta will continue to be queued for indexing. When the Crawler service is started it will index all of the objects that have been queued for indexing while it was stopped.
- If the Solr service ceases to function, and the Portal and Crawler services are still operational, object management activities in Contenta will still cause records for each changed Contenta object to be queued up for indexing, but the Crawler will fail to index the objects because Solr is down. Therefore, the records will be marked with status set to FAILED and an ERROR message will be written in the Crawler log file describing the failure.
The administrator should then correct the problem (in this case start Solr) and change the
RETRYAppData setting to true (see Figure 1: Global AppData Settings in Adding a New AppData Key). The Crawler will again attempt to index those modified Contenta objects whose queued records were marked as FAILED. - If the Portal service ceases to function, and the Solr and Crawler services are still operational, there cannot be any object management activities in Contenta; therefore, no records will be queued.
See the Troubleshooting topic in this Contenta Administrator user documentation for additional information on starting and stopping Solr.
To restart the Contenta App Server service on Windows
- Click
- Right-click the XyEnterprise Contenta Server service, and click Restart from the pop-up menu.
To restart the XyEnterprise Solr Server or XyEnterprise Crawler Server on Windows
You can stop and start the XyEnterprise Solr Server and the XyEnterprise Search Crawler services directly from the system tray, which is located to the right of the Windows Task Bar.
To start/restart Contenta Server, Crawler server, and Solr server on Linux
- On the command line, enter cd /etc/init.d
- Enter SDL_License start or SDL_License restart
- Enter cd /etc/init.d
- Enter contenta start
To stop the Contenta server, Crawler server, and Solr server on Linux
- On the command line, enter cd /etc/init.d
- Enter contenta stop