1 Starting and Stopping the Reporter Daemon
2 -----------------------------------------
4 indexterm:[reports, starting server application]
6 indexterm:[reporter, starting daemon]
8 Before you can view reports, the Evergreen administrator must start
9 the reporter daemon from the command line of the Evergreen server.
11 The reporter daemon periodically checks for requests for new reports or
12 scheduled reports and gets them running.
14 Starting the Reporter Daemon
15 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17 indexterm:[reporter, starting]
19 To start the reporter daemon, run the following command as the opensrf user:
22 clark-kent.pl --daemon
25 You can also specify other options:
27 * *sleep=interval*: number of seconds to sleep between checks for new reports to
29 * *lockfile=filename*: where to place the lockfile for the process; defaults to
31 * *concurrency=integer*: number of reporter daemon processes to run; defaults to
33 * *boostrap=filename*: OpenSRF bootstrap configuration file; defaults to
34 /openils/conf/opensrf_core.xml
39 The open-ils.reporter process must be running and enabled on the gateway before
40 the reporter daemon can be started.
42 Remember that if the server is restarted, the reporter daemon will need to be
43 restarted before you can view reports unless you have configured your server to
44 start the daemon automatically at start up time.
47 Stopping the Reporter Daemon
48 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 indexterm:[reports, stopping server application]
52 indexterm:[reporter, stopping daemon]
54 To stop the reporter daemon, you have to kill the process and remove the
55 lockfile. Assuming you're running just a single process and that the
56 lockfile is in the default location, perform the following commands as the
60 kill `ps wax | grep "Clark Kent" | grep -v grep | cut -b1-6`