 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
In that case, there could be an issue with the job notification action or process spawning in the background job queue. Please enable the Tracing option in Tools/Options menu; Log tab; let the job run. Check the debug.log file for errors and exceptions. Please let us know if you see any exceptions reported in that file on the job startup.
|
|
Mon Mar 22, 2010 9:09 am |
|
 |
laiko
Joined: 11 Feb 2010 Posts: 43 Country: India |
|
|
|
This is the debug log from master:
 |
 |
2010-03-29 20:33:01,995 [Job #295 - Wait_for_Start] DEBUG com.softtreetech.jscheduler.business.if - mail.smtp.auth=true
2010-03-29 20:33:02,057 [Job #295 - Wait_for_Start] DEBUG com.softtreetech.jscheduler.business.if - sendEmailImpl(): Date: Mon, 29 Mar 2010 20:33:02 +0530 (IST)
2010-03-29 20:33:02,057 [Job #295 - Wait_for_Start] DEBUG com.softtreetech.jscheduler.business.if - sendEmailImpl(): From: xxxxxxxxxxxxxxx
2010-03-29 20:33:02,057 [Job #295 - Wait_for_Start] DEBUG com.softtreetech.jscheduler.business.if - sendEmailImpl(): To: xxxxxxxxxxxxxxxx
2010-03-29 20:33:02,057 [Job #295 - Wait_for_Start] DEBUG com.softtreetech.jscheduler.business.if - sendEmailImpl(): Subject: Message from 24x7 Scheduler - job "Wait_for_Start" event
2010-03-29 20:33:02,057 [Job #295 - Wait_for_Start] DEBUG com.softtreetech.jscheduler.business.if - sendEmailImpl(): X-Mailer: 24x7 Scheduler
2010-03-29 20:33:02,135 [Job #295 - Wait_for_Start] DEBUG com.softtreetech.jscheduler.business.if - sendEmailImpl(): account & password information is specified
2010-03-29 20:33:04,555 [Job #295 - Wait_for_Start] DEBUG com.softtreetech.jscheduler.business.if - sendEmailImpl - mail sent
2010-03-29 20:33:10,691 [Job #295 - Wait_for_Start] ERROR com.softtreetech.jscheduler.business.runner.JobExecutorImpl - killJob: unable to find job with run-time #763
2010-03-29 20:33:21,558 [Thread-416] DEBUG com.softtreetech.jscheduler.business.queue.JobQueue - QUEUE_UNLOCKED
2010-03-29 20:33:21,558 [Thread-416] DEBUG com.softtreetech.jscheduler.business.queue.JobQueue - QUEUE_UNLOCKED
2010-03-29 20:33:25,367 [Job #312 - Log_Status_START] ERROR com.softtreetech.jscheduler.business.runner.JobExecutorImpl - killJob: unable to find job with run-time #764
2010-03-29 20:33:29,020 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.business.oOOO.O0oO - Number of pending jobs: 0
2010-03-29 20:33:40,465 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.business.oOOO.O0oO - Number of pending jobs: 0
2010-03-29 20:33:56,171 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.business.oOOO.O0oO - Number of pending jobs: 0
2010-03-29 20:34:00,730 [Thread-474] DEBUG com.softtreetech.jscheduler.business.queue.JobQueue - QUEUE_UNLOCKED
2010-03-29 20:34:00,746 [Thread-474] DEBUG com.softtreetech.jscheduler.business.queue.JobQueue - QUEUE_UNLOCKED
2010-03-29 20:34:00,808 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.business.oOOO.O0oO - Number of pending jobs: 0
2010-03-29 20:34:12,284 [Thread-493] DEBUG com.softtreetech.jscheduler.business.queue.JobQueue - QUEUE_UNLOCKED
2010-03-29 20:34:12,284 [Thread-493] DEBUG com.softtreetech.jscheduler.business.queue.JobQueue - QUEUE_UNLOCKED
2010-03-29 20:34:12,346 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.business.oOOO.O0oO - Number of pending jobs: 0 |
And the agent's debug.log is:
 |
 |
2010-03-29 08:03:09,297 [Job #295 - Wait_for_Start] DEBUG com.softtreetech.jscheduler.business.runner.ProgramJobRunner - runJob(): start
2010-03-29 08:03:09,299 [Job #295 - Wait_for_Start] DEBUG com.softtreetech.jscheduler.business.runner.security.SecurityService - authNativeUser: /24x7_Scheduler/auth.pl
2010-03-29 08:03:09,491 [Job #295 - Wait_for_Start] DEBUG com.softtreetech.jscheduler.business.runner.ProgramJobRunner - execProcess(): command line [/bin/sh -c "./WaitForFile.sh /apps/applmgr/DW/finance/loadstatus/prdro_complete 240"] in work directory [/apps/applmgr/DW/scheduler/scripts]
2010-03-29 08:03:09,491 [Job #295 - Wait_for_Start] DEBUG com.softtreetech.jscheduler.business.runner.AbstractJobRunner - runAs() username=dwops command=/bin/sh,-c,./WaitForFile.sh /apps/applmgr/DW/finance/loadstatus/prdro_complete 240 workDir=/apps/applmgr/DW/scheduler/scripts
2010-03-29 08:03:09,491 [Job #295 - Wait_for_Start] DEBUG com.softtreetech.jscheduler.business.runner.AbstractJobRunner - exec : ./runas.pl,dwops,/bin/sh -c "./WaitForFile.sh /apps/applmgr/DW/finance/loadstatus/prdro_complete 240",/apps/applmgr/DW/scheduler/scripts
2010-03-29 08:03:09,495 [Job #295 - Wait_for_Start] DEBUG com.softtreetech.jscheduler.business.runner.ProgramJobRunner - waitForProcess(): start
2010-03-29 08:03:09,495 [Thread-2678] DEBUG com.softtreetech.jscheduler.business.runner.AbstractJobRunner$TimeoutVerifier - run(): start
2010-03-29 08:03:09,495 [Thread-2678] DEBUG com.softtreetech.jscheduler.business.runner.AbstractJobRunner$TimeoutVerifier - run(): timeout check not required
2010-03-29 08:03:09,596 [Job #295 - Wait_for_Start] DEBUG com.softtreetech.jscheduler.business.runner.ProgramJobRunner - waitForProcess(): end
2010-03-29 08:03:09,596 [Job #295 - Wait_for_Start] DEBUG com.softtreetech.jscheduler.business.runner.AbstractJobRunner - isFailed(...) : exit code 0
2010-03-29 08:03:09,596 [Job #295 - Wait_for_Start] DEBUG com.softtreetech.jscheduler.business.runner.ProgramJobRunner - killProcess start
2010-03-29 08:03:09,597 [Job #295 - Wait_for_Start] DEBUG com.softtreetech.jscheduler.business.runner.ProgramJobRunner - runJob(): end
2010-03-29 08:03:23,075 [Job #312 - Log_Status_START] DEBUG com.softtreetech.jscheduler.business.runner.ProgramJobRunner - runJob(): start
2010-03-29 08:03:23,075 [Job #312 - Log_Status_START] DEBUG com.softtreetech.jscheduler.business.runner.security.SecurityService - authNativeUser: /24x7_Scheduler/auth.pl
2010-03-29 08:03:23,110 [Job #312 - Log_Status_START] DEBUG com.softtreetech.jscheduler.business.runner.ProgramJobRunner - execProcess(): command line [/bin/sh -c "./ProcDSLoadStatus.sh HR HEADCOUNT STARTED"] in work directory [/apps/applmgr/DW/scheduler/scripts]
2010-03-29 08:03:23,111 [Job #312 - Log_Status_START] DEBUG com.softtreetech.jscheduler.business.runner.AbstractJobRunner - runAs() username=dwops command=/bin/sh,-c,./ProcDSLoadStatus.sh HR HEADCOUNT STARTED workDir=/apps/applmgr/DW/scheduler/scripts
2010-03-29 08:03:23,111 [Job #312 - Log_Status_START] DEBUG com.softtreetech.jscheduler.business.runner.AbstractJobRunner - exec : ./runas.pl,dwops,/bin/sh -c "./ProcDSLoadStatus.sh HR HEADCOUNT STARTED",/apps/applmgr/DW/scheduler/scripts
2010-03-29 08:03:23,114 [Job #312 - Log_Status_START] DEBUG com.softtreetech.jscheduler.business.runner.ProgramJobRunner - waitForProcess(): start
2010-03-29 08:03:23,115 [Thread-2680] DEBUG com.softtreetech.jscheduler.business.runner.AbstractJobRunner$TimeoutVerifier - run(): start
2010-03-29 08:03:23,115 [Thread-2680] DEBUG com.softtreetech.jscheduler.business.runner.AbstractJobRunner$TimeoutVerifier - run(): timeout check not required
2010-03-29 08:03:24,237 [Job #312 - Log_Status_START] DEBUG com.softtreetech.jscheduler.business.runner.ProgramJobRunner - waitForProcess(): end
2010-03-29 08:03:24,237 [Job #312 - Log_Status_START] DEBUG com.softtreetech.jscheduler.business.runner.AbstractJobRunner - isFailed(...) : exit code 0
2010-03-29 08:03:24,237 [Job #312 - Log_Status_START] DEBUG com.softtreetech.jscheduler.business.runner.ProgramJobRunner - killProcess start
2010-03-29 08:03:24,237 [Job #312 - Log_Status_START] DEBUG com.softtreetech.jscheduler.business.runner.ProgramJobRunner - runJob(): end |
Note that after Log_Status_START, 2 jobs should start at the same time or run in parallel: JobA and JobB. In the monitor, both are in running status but none actually started doing anything.
Please note that the jobs are in single queue and running in Asynchronous mode.
|
|
Mon Mar 29, 2010 11:32 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
Please try a couple of things
changing command line to
/bin/sh -c /apps/applmgr/DW/scheduler/scripts/WaitForFile.sh /apps/applmgr/DW/finance/loadstatus/prdro_complete 240
Redirecting standard error and output to a log file. Please check what you get in the log file
/bin/sh -c ./WaitForFile.sh /apps/applmgr/DW/finance/loadstatus/prdro_complete 240 >> /tmp/mylog.log 2>&1
|
|
Tue Mar 30, 2010 12:00 am |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|