Documentation Center

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

Start > Control Panel > Administration Tools > Services.

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.jar
  • PcmPortal
  • crawler.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 RETRY AppData 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

  1. Click Start > Control Panel > All Control Panel Items > Administrative Tools > Services
  2. 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

To start or restart the Contenta Server, Crawler server, and Solr server, perform the following steps.
  1. On the command line, enter cd /etc/init.d
  2. Enter SDL_License start or SDL_License restart
  3. Enter cd /etc/init.d
  4. Enter contenta start

To stop the Contenta server, Crawler server, and Solr server on Linux

To manually stop the Contenta Server, Crawler server, and Solr server, perform the following steps.
  1. On the command line, enter cd /etc/init.d
  2. Enter contenta stop