Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Rules daemon(s) not running?

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Rules daemon(s) not running?


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Julio Polo <>, "" <>
  • Subject: RE: [grouper-users] Rules daemon(s) not running?
  • Date: Tue, 18 Oct 2011 01:09:51 +0000
  • Accept-language: en-US

The daemons run from the loader... are you running it?

nohup ./bin/gsh.sh -loader &

There should be an entry in the table grouper_loader_log for each job run.
You will see one per minute for the ones that run every minute. You can also
use the WS diagnostics to hook up the health/status of daemons with a
monitoring service like nagios.

https://spaces.internet2.edu/display/Grouper/Grouper+diagnostics

Let me know how it goes.

Thanks,
Chris

-----Original Message-----
From:


[mailto:]
On Behalf Of Julio Polo
Sent: Monday, October 17, 2011 7:52 PM
To:

Subject: [grouper-users] Rules daemon(s) not running?

The rules I've defined only work when I execute these from gsh:

edu.internet2.middleware.grouper.app.loader.GrouperLoader.runOnceByJobName(grouperSession,
"CHANGE_LOG_changeLogTempToChangeLog");

edu.internet2.middleware.grouper.app.loader.GrouperLoader.runOnceByJobName(grouperSession,
"CHANGE_LOG_consumer_grouperRules");

My grouper-loader.properties file has these values:

---------------------------------

changeLog.changeLogTempToChangeLog.enable = true

changeLog.changeLogTempToChangeLog.quartz.cron = 50 * * * * ?

changeLog.consumer.grouperRules.class =
edu.internet2.middleware.grouper.changeLog.esb.consumer.RuleConsumer

changeLog.consumer.grouperRules.quartzCron = 0 * * * * ?

rules.quartz.cron = 0 39 12 * * ?

---------------------------------

and I've done the usual reconfiguration and restarting after 12:39 pm,
just in case rules.quartz.cron had to run first:

---------------------------------

# edit the grouper-loaded.properties file here

cd ~/grouper/grouper-ui/
ant war

cd ~/grouper/grouper-ws/grouper-ws
ant dist

# stop grouper here

cd ~grouper
rm -rf ./tomcat/webapps/grouper*
rm -rf ./tomcat/work/Catalina/localhost
cp ./grouper/grouper-ui/dist/grouper.war ./tomcat/webapps/
cp ./grouper/grouper-ws/grouper-ws/build/dist/grouper-ws.war ./tomcat/webapps/

# start grouper here

---------------------------------

and I still get no email after deleting someone. It's supposed to be
2-4 minutes according to above properties. I decided to run the above
gsh commands, and that's the only thing that triggers the email. That
tells me the daemons aren't really running. What am I missing? Does
the database need to be restarted? How do you check if the daemons
are running?

Thanks!

Julio Polo
University of Hawaii



Archive powered by MHonArc 2.6.16.

Top of Page