For Esteban's benefit, will it work to enable BUILD_DEBUG for just the
seg_sge_module.c? If so, where would the debug output go?
Also,
On Dec 21, 2007 4:35 PM, Rodolfo Edelmann <[EMAIL PROTECTED]> wrote:
> DEBUG monitoring.SchedulerEventGenerator [Thread-9,startSegProcess:231]
> Starting seg process
> DEBUG monitoring.SchedulerEventGenerator [Thread-9,startSegProcess:250]
> executing command:
> DEBUG monitoring.SchedulerEventGenerator [Thread-9,startSegProcess:253]
> ->/usr/local/globus-4.0.5/libexec/globus-scheduler-event-generator
>
> DEBUG monitoring.SchedulerEventGenerator [Thread-9,startSegProcess:253]
> ->-s
> DEBUG monitoring.SchedulerEventGenerator [Thread-9,startSegProcess:253]
> ->sge
> DEBUG monitoring.SchedulerEventGenerator [Thread-9,startSegProcess:253]
> ->-t
> DEBUG monitoring.SchedulerEventGenerator [Thread-9,startSegProcess:253]
> ->1190799979
> DEBUG monitoring.SchedulerEventGenerator [Thread-9,run:128] getting seg
> input
> DEBUG monitoring.SchedulerEventGenerator [Thread-9,run:133] Seg input
> buffer is not ready
> ERROR monitoring.SchedulerEventGenerator [Thread-9,run:198] SEG Terminated
> with Fault: globus_xio: Operation was canceled
>
> So, it is the same problem but not the same solution.
>
> globus-scheduler-event-generator is not returning anything so the parsing
> can't be complete.
>
> When I saw that, I start editing "seg_sge_module.c" and putting some
> printf in :
>
> rp = strptime(fields[0],"%s", &tm);
> if (rp == NULL || (*rp) != '\0')
> {
> printf("Unable to extract timestamp from first field"); //Add
> by me
> SEG_SGE_DEBUG(SEG_SGE_DEBUG_WARN,
> ("Unable to extract timestamp from first field in line
> '%s'\n",
> state->buffer + state->buffer_point));
> goto free_fields;
> }
>
> and in:
>
> stamp = mktime(&tm);
> if (stamp == -1)
> {
> printf("mktime generated invalid timestamp\n"); //Add by me
> SEG_SGE_DEBUG(SEG_SGE_DEBUG_WARN,
> ("mktime generated invalid timestamp\n"));
> goto free_fields;
> }
>
> Try that, and tellme how it go.
>
> Sorry the patch didn't work
>
>
> Good luck and Merry Christmas. ;D
>
>
>
> --
> Rodolfo E. Edelmann
> Lab. Computación
> Fac. Cs. Ex.Fis y Nat.
> Univ.Nac.Córdoba
>
--
Otheus
[EMAIL PROTECTED]
+43.699.1049.7813