Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

mod_gearman on naemon (op5)

38 views
Skip to first unread message

Felix

unread,
Jan 10, 2018, 7:36:50 PM1/10/18
to mod_gearman

Hi forum,

I am newbie on mod_gearman and trying to install it to op5 ver 7.3.14

The steps I performed to configure op5, are as follows:
# rpm -Uvh "https://labs.consol.de/repo/stable/rhel6/i386/labs-consol-stable.rhel6.noarch.rpm"
# yum install mod_gearman
# yum install gearmand-server
# mkdir -p /usr/local/var/log/
# service gearmand start
# vi /opt/monitor/etc/naemon.cfg
  Add: broker_module=/usr/lib64/mod_gearman/mod_gearman_naemon.o server=localhost:4730 eventhandler=yes services=yes hosts=yes config=/etc/mod_gearman/module.conf
# mon start

Once it starts, I run /usr/bin/gearman_top but seeing all jobs are in waiting

2018-01-10 00:10:52  -  localhost:4730  -  v0.33

 Queue Name    | Worker Available | Jobs Waiting | Jobs Running
----------------------------------------------------------------
 check_results |               1  |           0  |           0
 host          |               0  |         226  |           0
 service       |               0  |         407  |           0
----------------------------------------------------------------

I tried to check the folder /var/log/gearmand/ and observed the folder was empty

Afterwards, I tried to increase the debug=3 at /etc/mod_gearman/module.conf, and the /var/log/gearmand/ folder is still empty

Can you please advice if I may have missed something here?

Thank you.

Sven Nierlein

unread,
Jan 11, 2018, 3:50:31 AM1/11/18
to mod_g...@googlegroups.com, Felix
Hi Felix,

you need to start the mod-gearman-worker as well.

Cheers,
Sven
> --
> You received this message because you are subscribed to the Google Groups "mod_gearman" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to mod_gearman...@googlegroups.com <mailto:mod_gearman...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

Felix

unread,
Jan 15, 2018, 3:15:59 AM1/15/18
to mod_gearman

Thank you, Sven for the info.

Yes, it is working now after starting the mod-gearman-worker.

This module looks great.

Wish it could be part of official packages in op5 release

Kind regards,
Felix
> To unsubscribe from this group and stop receiving emails from it, send an email to mod_gearman...@googlegroups.com <mailto:mod_gearman+unsub...@googlegroups.com>.

Sven Nierlein

unread,
Jan 15, 2018, 5:19:58 AM1/15/18
to mod_g...@googlegroups.com, Felix
On 15.01.2018 09:15, Felix wrote:
>
> This module looks great.

Thanks

>
> Wish it could be part of official packages in op5 release
>

Just talk with them, this is not the op5 list ;-)

Cheers,
 Sven

Reply all
Reply to author
Forward
0 new messages