Page 1 of 1

CentOS7 gearman_top2 connection refused

Posted: Wed Jul 20, 2016 8:59 am
by dlukinski
Hello XI support

we have followed mod_gearman install manul to get worker operational on the remote CentOS7 Linux, also installed as Selenium IDE environment & server.
Cannot get gearman_top2 command to run (screenshot attached). Firewall configurations as follows:

Code: Select all

[root@localhost ~]# firewall-cmd --list-all
public (default, active)
  interfaces: eth0
  sources:
  services: dhcpv6-client ssh
  ports: 5666/tcp 5667/tcp 2888/tcp 4730/udp 4730/tcp 4444/tcp
  masquerade: no
  forward-ports:
  icmp-blocks:
  rich rules:
[code/]

Re: CentOS7 gearman_top2 connection refused

Posted: Wed Jul 20, 2016 10:01 am
by mcapra
To be clear, are you trying to run gearman_top2 from the gearman worker? Because that will not work.

From the document:
https://assets.nagios.com/downloads/nag ... ios_XI.pdf
You can view the jobs, processes, and workers by running the following on the Master server
gearman_top2
gearman_top2 is run from the master server to get a summary of the gearman environment.

Re: CentOS7 gearman_top2 connection refused

Posted: Wed Jul 20, 2016 10:28 am
by dlukinski
mcapra wrote:To be clear, are you trying to run gearman_top2 from the gearman worker? Because that will not work.

From the document:
https://assets.nagios.com/downloads/nag ... ios_XI.pdf
You can view the jobs, processes, and workers by running the following on the Master server
gearman_top2
gearman_top2 is run from the master server to get a summary of the gearman environment.
Oh. forgot that.

How to stop/start worker on the remote Linux w/o reboots?

Re: CentOS7 gearman_top2 connection refused

Posted: Wed Jul 20, 2016 12:04 pm
by lmiltchev
You could run from the command line:

Code: Select all

service mod-gearman2-worker stop
service mod-gearman2-worker start

Re: CentOS7 gearman_top2 connection refused

Posted: Wed Jul 20, 2016 12:56 pm
by dlukinski
lmiltchev wrote:You could run from the command line:

Code: Select all

service mod-gearman2-worker stop
service mod-gearman2-worker start
Of course, old version of the manual has it "_" in

Code: Select all

service mod_gearman2_worker "start/stop/status/restart"
[code/]

Please close the case

Re: CentOS7 gearman_top2 connection refused

Posted: Wed Jul 20, 2016 1:01 pm
by mcapra
Closing per your request