[LON-CAPA-admin] Auto enroll timeout

Guy Albertelli II guy at albertelli.com
Fri May 5 10:31:46 EDT 2006


Hi Hon-Kie,

> > > >Does your fetch enrollement do any system calls or `` ?
> > >
> > > No - it does not do any system calls.
> >
> >Hrrm. That child exit would only occur if it did....
> 
> Yes - it looks like every time the connect statement is called the 
> child process exit?? That message is not present on the development 
> box which fetches the enrollment data properly.
> 
> I have made the iptables identical for both machines - does not help.

Can you send me a copy of your localenroll.pm?
> 
> > > The logthis calls indicates that the routine hangs at the
> > > connect-to-the university db. What puzzles me now is why the separate
> > > program - which has the same statements works but not in loncapa?? It
> > > looks like some kind of env var is not set for oracle when called
> > > from loncapa - but that normally will stop the program in a few 
> > micro-seconds.
> >
> >Might be best to a dump of %ENV then and compare what is set and what
> >isn't betweeen the two cases.
> 
> What is a good way to do this?

somethign like this should be fine.

foreach my $key (sort(keys(%ENV))) {
     &logthis("$key -> $ENV{$key}");
}

-- 
guy at albertelli.com   0-7-1-8-27,137



More information about the LON-CAPA-admin mailing list