Starting Manticore manually

You can also start Manticore Search by calling searchd (Manticore Search server binary) directly:

searchd [OPTIONS]

Note that without specifying a path to the configuration file, searchd will try to find it in several locations depending on the operating system.

searchd command line options

The options available to searchd in all operation systems are:

$ searchd --config /etc/manticoresearch/manticore.conf --stop
$ searchd --config /etc/manticoresearch/manticore.conf --stopwait

Possible exit codes are as follows:

$ searchd --status
$ searchd --config /etc/manticoresearch/manticore.conf --status
$ searchd --console --pidfile
$ searchd --config /etc/manticoresearch/manticore.conf --console
$ searchd --config /etc/manticoresearch/manticore.conf --iostats
$ searchd --config /etc/manticoresearch/manticore.conf --cpustats
$ searchd --config /etc/manticoresearch/manticore.conf --coredump

There are some options for searchd that are specific to Windows platforms, concerning handling as a service, and are only available in Windows binaries.

Note that in Windows searchd will default to --console mode, unless you install it as a service. * --install installs searchd as a service into the Microsoft Management Console (Control Panel / Administrative Tools / Services). Any other parameters specified on the command line, where --install is specified will also become part of the command line on future starts of the service. For example, as a part of calling searchd, you will likely also need to specify the configuration file with --config, and you would do that as well as specifying --install. Once called, the usual start/stop facilities will become available via the management console, so any methods you could use for starting, stopping and restarting services would also apply to searchd. Example:

C:\WINDOWS\system32> C:\Manticore\bin\searchd.exe --install
   --config C:\Manticore\manticore.conf

If you want to have the I/O stats every time you start searchd, you need to specify the option on the same line as the --install command thus:

C:\WINDOWS\system32> C:\Manticore\bin\searchd.exe --install
   --config C:\Manticore\manticore.conf --iostats
C:\WINDOWS\system32> C:\Manticore\bin\searchd.exe --delete
C:\WINDOWS\system32> C:\Manticore\bin\searchd.exe --install
   --config C:\Manticore\manticore.conf --servicename ManticoreSearch

Plugin dir

Manticore utilizes the plugin_dir for storing and using Manticore Buddy plugins. By default, this value is accessible to the “manticore” user in a standard installation. However, if you start the searchd daemon manually with a different user, the daemon might not have access to the plugin_dir. To address this problem, ensure you specify a plugin_dir in the common section that the user running the searchd daemon can write to.

Signals

searchd supports a number of signals:

Environment variables