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
Code: Select all
chkconfig gearmand on
chkconfig --add mod-gearman2-worker
chkconfig --level 35 mod-gearman2-worker on
Code: Select all
service gearmand start
service mod-gearman2-worker start
service nagios restart
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