Page 2 of 2

Re: mod_gearman with XI 5?

Posted: Mon Nov 23, 2015 5:09 pm
by SteveBeauchemin
Thanks Jesse,

I did experiment and found a couple things that needed to be changed after the install.
There was a funky user name tied to the install. And some ownerships tied to it.
(I think of it as the N word) I changed the startup script to fix it.

vi /etc/rc.d/init.d/mod-gearman2-worker
change the line with
USER=####
to
USER=nagios

then, change the file ownerships

Code: Select all

chown -R nagios:root /var/mod_gearman2
chown -R nagios:root /var/log/mod_gearman2
chown -R apache:nagios /etc/mod_gearman2
chmod -R 775 /etc/mod_gearman2
setup the services

Code: Select all

chkconfig gearmand on
chkconfig --add mod-gearman2-worker
chkconfig --level 35 mod-gearman2-worker on
start the services

Code: Select all

service gearmand start
service mod-gearman2-worker start
service nagios restart
After those changes I felt much better.

Actually, after having previously read the documents from the developer web site I was concerned about whether mod_gearman was a viable option for the future. Since you clearly showed that the version 2 works, I abandoned the old Nagios documentation and am ignoring the developer comments. I am moving ahead with the mod_gearman 2.1.2 for now.

Thanks

Steve B

Re: mod_gearman with XI 5?

Posted: Mon Nov 23, 2015 5:11 pm
by hsmith
This is a great bit of information, thank you! Would you check in and let us know how it goes for you?