sni / mod_gearman

Distribute Naemon Host/Service Checks & Eventhandler with Gearman Queues. Host/Servicegroups affinity included.
http://www.mod-gearman.org
GNU General Public License v3.0
122 stars 42 forks source link

init script gearmand - false verbose option #20

Closed 6uellerBpanda closed 12 years ago

6uellerBpanda commented 12 years ago

init gearmand says CMD="$DAEMON -p $PORT -P $PIDFILE $OPTIONS --log-file=$LOGFILE -v -v --listen=$LISTEN" which results in a failure "required parameter is missing in 'verbose'"

should be CMD="$DAEMON -p $PORT -P $PIDFILE $OPTIONS --log-file=$LOGFILE -vv --listen=$LISTEN"

sni commented 12 years ago

Shouldn't that be the same? (Besides the fact that gearmand logs nearly nothing anyway)

Sven

sni commented 12 years ago

ah, now i get it. That depends on the version of gearman. Newer versions need "--verbose=2" instead of just -v.

6uellerBpanda commented 12 years ago

my fault. I did not mentioned the versions. gearmand 0.25 mod_gearman-1.1.1

sni commented 12 years ago

I just tried with gearmand 0.25 and it works. Coult you try --verbose=2 or -v 2

6uellerBpanda commented 12 years ago

both are working

sni commented 12 years ago

strange that "-v -v" does not work for you. Which version of the libboost do you have? I have: /usr/lib/libboost_program_options.so.1.40.0

6uellerBpanda commented 12 years ago

1.47

On Fri, Nov 18, 2011 at 11:41 AM, Sven Nierlein < reply@reply.github.com

wrote:

strange that "-v -v" does not work for you. Which version of the libboost do you have? I have: /usr/lib/libboost_program_options.so.1.40.0


Reply to this email directly or view it on GitHub: https://github.com/sni/mod_gearman/issues/20#issuecomment-2787803

sni commented 12 years ago

Thanks for your report. I just pushed the fix to github.