Add warning about worker startup problem to README

Change-Id: Iaea6628bb1b178127e3a34a642d87aaf27c6fe7d
This commit is contained in:
David Shrewsbury 2012-11-13 10:18:11 -05:00
parent e3580e966f
commit 5d8adb3ff8

9
README
View File

@ -72,8 +72,13 @@ Basic commands:
$ libra_worker --debug --nodaemon
NOTE: When running the worker in daemon mode, you must make sure that the
directory where the PID file will be (-p/--pid option) is writable by the
user/group specified with the --user and --group options.
directory where the PID file will be (-p/--pid option) exists and is writable
by the user/group specified with the --user and --group options. Also, the
Python module used to start the daemon process does not like it when the PID
file already exists at startup.
IF THE WORKER IMMEDIATELY EXITS WHEN STARTED IN DAEMON MODE, AND NO ERROR
MESSAGES ARE IN THE LOG, ONE OF THESE REASONS IS THE MOST LIKELY CAUSE!
You can verify that the worker is running by using the sample Gearman
client in the bin/ directory: