Sorry, somewhere back in the discussion thread I missed the fact that Marc was using a GT.M back end... That's what a week's vacation and a New Years Eve bash will do!
Marc, it's easy to debug the [x]inetd/GT.M part of this. When the connection request is coming in, a script (e.g., /usr/local/OpenVistA/cprs_direct - your name will vary) is launched by [x]inetd. Within that script will be a line such as "$gtm_dist/mumps -run GTMLNX^XWBCPM". Immediately before that line, put a line such as echo $gtm_dist $gtmgbldir $gtmroutines >/tmp/CPRS_$$_`date +%Y%m%d%H%M% S`.log If files like /tmp/CPRS_12345_20060104073412.log are created and they contain legitimate values for $gtm_dist, $gtmgbldir and $gtmroutines, then it means that the problem probably is in the VistA configuration. I think I too have seen this problem before, and I think it may come from having too many NULL devices. Edit the NULL devices and get rid of all but the one that refers to /dev/null. In fact, check this first before fiddling with the script. -- Bhaskar On Thu, 2006-01-05 at 09:25 -0800, Greg Woodhouse wrote: > --- Marc Krawitz <[EMAIL PROTECTED]> wrote: > > > Now I'm getting the following error when I try to launch CPRSChart: > > > > Error encountered. > > Function was: recv > > Error was: WSAEINTR > > > > ... > > Any ideas? > > > > Thanks, > > > > Marc > > > > It could still be a connection reset. If the error were logged in > VistA, it would show up in the error trap (but errors can be trapped > without being logged, so watch out). But maybe it wasn't even in the > VistA environment. Perhapd xinetd accepted the connection and then > encountered an error trying to invoke GTM. A connection reset occurs > when a TCP process essentially throws up its hands and says, "I can't > go any further" (e.g., due to abnormal program termination). > > In the majority of cases I've seen, these resets are due to an > improperly configured NULL device (but that's usually under Cache, and > it does result an error being logged). > > > === > Gregory Woodhouse <[EMAIL PROTECTED]> > "If you give someone Fortran, he has Fortran. > If you give someone Lisp, he has any language he pleases." > --Guy L. Steele, Jr. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Hardhats-members mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/hardhats-members ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Hardhats-members mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hardhats-members
