[Hardhats-members] Vista Configuration of DEVICES - Failed CPRS connection
I am trying to troubleshoot remote connection of CPRS. This is the same problem I was experiencing with my first installation of the HUI VistA. I can connect to my vista server with both CPRS through wine and CPRS running on windows on my private network (192.168.1.0/24). If I try to connect from outside my private network (my server has two interfaces, int. and ext.) I don't get a sucessful connection, I do get a file created XWBTCPL.mjo in vista's home dir the error message in the file states "HOME DEVICE DOES NOT EXIST IN THE DEVICE FILE". So I go back to my configuration and recall that we configure 4 devices. Just for kicks I go in and see if there is a 'home' device... from the 64 or so devicesnone noted. Then I say well, it has to be one of the devices I configured. CONSOLE TELNET HFS NULL >From what I understand only 1 device can be the signon system device. SIGN-ON/SYSTEM DEVICE: ?? Answer 'yes' if this device is the primary device amoung those device entries that have the same $I and VOLUME SET(CPU). If answered 'YES', this field identifies that this entry is the primary device among those device entries that have the same $I with the same VOLUME SET(CPU). Among those device entries that have a common $I and CPU, only one of these entries can have this field set to 'YES'. If none of the common device entries are set to 'YES', the default device will be identified by the first device on the CPU x-ref. The default device is used when the device handler is invoked with $I as the device to be selected. Choose from: 1YES 0NO Does anyone know how I would set the HOME DEVICE and is that the same as the SIGN-ON/SYSTEM DEVICE? Maybe I need a little clarification on how RPC Broker interfaces with the different devices when a connection comes in on the interface where RPC listener runs. From what I recall i can setup more than 1 listener, so technically I could have a listener on different ports for the same server. The GT.M specific devices are; GTM-UNIX-BROWSER HFS/CRT (GT.M-Linux) /tmp/ddbr.txt GTM-UNIX-CONSOLE Console (GT.M) /dev/tty GTM-UNIX-HFS Host File Server (GT.M) /home/huivista3/tmp/hfs.dat ROU GTM-UNIX-IMAGING WORKSTATION BROKER /usr/local/spool/ws.dat GTM-UNIX-MESSAGE P-MESSAGE-HFS xmhfs.dat xmhfs.dat GTM-UNIX-NULL Bit Bucket (GT.M-Unix) /dev/null GTM-UNIX-TELNET TELNET /dev/pts/ GTM-VMS-MESSAGE P-MESSAGE-HFS HFS (GT.M) FILE => MESSAGE XMHFS.DAT One other point on this, when I am editing my devices I cannot change the GTM-UNIX-HFS device from /home/huivista3/tmp/hfs.dat, it prompts me with a Replace? at the end of the line and does not let me change the value. Am I supposed to have the hfs.dat database set somewhere? --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] Vista Configuration of DEVICES - Failed CPRS connection
Mark, Comments below. --- Mark Street <[EMAIL PROTECTED]> wrote: > I am trying to troubleshoot remote connection of > CPRS. This is the same > problem I was experiencing with my first > installation of the HUI VistA. I > can connect to my vista server with both CPRS > through wine and CPRS > running on windows on my private network > (192.168.1.0/24). This sounds very much like the problem we were having at the WorldVistA conference. I think we decided that it was the old "CPRS can't connect through a firewall/router problem." Supposedly newer versions of CPRS have been modified to fix this problem. I had a patch that specified a callback port--but I don't think it ended up solving the problem either. > > If I try to connect from outside my private network > (my server has two > interfaces, int. and ext.) I don't get a sucessful > connection, I do get a > file created XWBTCPL.mjo in vista's home dir the > error message in the file > states "HOME DEVICE DOES NOT EXIST IN THE DEVICE > FILE". I have been getting .mj0 files in my home directory too. I don't know what they are about. Bhaskar saw them and didn't seem surprised or concerned. Mine have 0 length. > > So I go back to my configuration and recall that we > configure 4 devices. > Just for kicks I go in and see if there is a 'home' > device... from the 64 > or so devicesnone noted. Then I say well, it > has to be one of the > devices I configured. > > CONSOLE > TELNET > HFS > NULL > > From what I understand only 1 device can be the > signon system device. > > SIGN-ON/SYSTEM DEVICE: ?? > > Answer 'yes' if this device is the primary device > amoung those > device entries that have the same $I and VOLUME > SET(CPU). > If answered 'YES', this field identifies that this > entry is the primary > device among those device entries that have the same > $I with the same > VOLUME SET(CPU). > > Among those device entries that have a common $I and > CPU, only one of > these entries can have this field set to 'YES'. If > none of the common > device entries are set to 'YES', the default device > will be identified by > the first device on the CPU x-ref. The default > device is used when the > device handler is invoked with $I as the device to > be selected. > > Choose from: > 1YES > 0NO > > Does anyone know how I would set the HOME DEVICE and > is that the same as > the SIGN-ON/SYSTEM DEVICE? > I got confused about this a few months ago. I asked, got my question answered, and then the problem seemed to go away. I can't remember what was said. But you might search for sign-on device, or home device. I think that entering User's Toolbox-->Edit User Characteristics will allow you to specify whether to ask for the signon device each time. Otherwise it uses the device that you used last time. I'm not sure if I am answering your question directly. But I don't think this has anything to do with your inability to connect. What we found was that the server was getting the intial connect request from CPRS. But when it tried to call back, the attempt was block somehow. CPRS never got a satisfactory reply and dies. > Maybe I need a little clarification on how RPC > Broker interfaces with the > different devices when a connection comes in on the > interface where RPC > listener runs. From what I recall i can setup more > than 1 listener, so > technically I could have a listener on different > ports for the same > server. The RPC Broker doesn't have anything to do with the sign-on devices, as far as I know. It's not like linux where the users "signs in" and is given a process shell with an interface etc. Instead, I believe RPC broker calls just return the requested information from the database. > > The GT.M specific devices are; > > GTM-UNIX-BROWSER HFS/CRT (GT.M-Linux) > /tmp/ddbr.txt >GTM-UNIX-CONSOLE Console (GT.M) > /dev/tty >GTM-UNIX-HFS Host File Server (GT.M) > /home/huivista3/tmp/hfs.dat > ROU >GTM-UNIX-IMAGING WORKSTATION BROKER > /usr/local/spool/ws.dat >GTM-UNIX-MESSAGE P-MESSAGE-HFS xmhfs.dat > xmhfs.dat >GTM-UNIX-NULL Bit Bucket (GT.M-Unix) > /dev/null >GTM-UNIX-TELNET TELNET /dev/pts/ >GTM-VMS-MESSAGE P-MESSAGE-HFS HFS (GT.M) > FILE => MESSAGE > XMHFS.DAT > > One other point on this, when I am editing my > devices I cannot change the > GTM-UNIX-HFS device from > /home/huivista3/tmp/hfs.dat, it prompts me with a > Replace? at the end of the line and does not let me > change the value. Hmm... Try making a copy of the record and editing that. Or look at the input transforms. By the way, do you have VPE installed? The time you spend gettting it installed will be easily paid back by the ease you call look at all the details of the fields etc. > > Am I supposed to have the hfs.dat database set > somewhere? > I don't think so. Good luck Kevin > > ---
Re: [Hardhats-members] Vista Configuration of DEVICES - Failed CPRS connection
Comments below, prefixed with [KSB]. -- Bhaskar On Mon, 2005-04-11 at 14:58 -0700, Kevin Toppenberg wrote: > Mark, > > Comments below. > > --- Mark Street <[EMAIL PROTECTED]> wrote: [KSB] <...snip...> > > If I try to connect from outside my private network > > (my server has two > > interfaces, int. and ext.) I don't get a sucessful > > connection, I do get a > > file created XWBTCPL.mjo in vista's home dir the > > error message in the file > > states "HOME DEVICE DOES NOT EXIST IN THE DEVICE > > FILE". > > I have been getting .mj0 files in my home directory > too. I don't know what they are about. Bhaskar saw > them and didn't seem surprised or concerned. Mine > have 0 length. [KSB] The .mjo files are Linux STDOUT for JOB'd M processes and the .mje files are Linux STDERR for those JOB'd processes. Refer to the description of the JOB command in the Programmers Guide for more information. --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] Vista Configuration of DEVICES - Failed CPRS connection
I think I have an idea. Below is the output from my /tmp/gtmlog.txt file which logs all attempted connections to my server. Below we see my successful attempts along with unsuccessful attempts from Mano and my office. NOTE, the connections from Mano and my work are coming into the EXTERNAL interface of my Linux server which is public address space, my internal network is private 192.168.1.0/24. Note below on the connection from work how a connection is established with the public address of 66.224.30.98, no problem. Then when the line containing X=, XWBVER=1.108 we have the REAL PRIVATE address of my machine at work 192.168.100.145!!! Not masqueraded, different subnet. hm. Why is my private address at work being used to make the TCPconnection when the masqueraded IP of my work makes the initial INbound connection to the server. First let's look at a successful connection log from my internal network. The server gets a connection from 192.168.1.3, establishes a connection TCPconnect on a high port 32862. No problem. Then a minute or so later we get an attempted connection from Mano in Greece. Note how his public IP makes the initial connection, then his private address 192.168.0.2 is used for the TCPconnect. There must be something in the client that is passing that INTERNAL PRIVATE address to the TCPConnect and messing everything up? I have been using IP Masquerading and NAT for quite awhile now and I haven't seen anything like this before. So, fire up those Delphi IDE's and sift through the code. This client may be programmed to work only on one subnet. It grabs it's IP from its host and passes it to the server regardless of whether it is behind a NAT'd firewall or not. I don't know Someone with more brains than I can take a peek. Successful login from INternal network and failure from EXternal interface --- APR 9,[EMAIL PROTECTED]:56:45 Got an inbound connection... XWBTDEV("KEY")="CONNECT| h11130730050|192.168.1.3" APR 9,[EMAIL PROTECTED]:56:45 LEN={XWB}00063| APR 9,[EMAIL PROTECTED]:56:45 X=, XWBVER=1.108, LEN=00051, MSG=TCPconnect^192.168.1.3^32862^localhost.localdomain^ APR 9,[EMAIL PROTECTED]:56:45 Final MSG='TCPconnect^192.168.1.3^32862^localhost.localdomain^' APR 9,[EMAIL PROTECTED]:56:45 Entering 'callback' mode APR 9,[EMAIL PROTECTED]:56:45 Entering the loop: X ^%ZOSF("INTERRUPT") APR 9,[EMAIL PROTECTED]:56:45 About to listen for connection... APR 9,[EMAIL PROTECTED]:57:24 Got an inbound connection... XWBTDEV("KEY")="CONNECT| h11130730440|83.235.97.122" APR 9,[EMAIL PROTECTED]:57:24 LEN={XWB}00060| APR 9,[EMAIL PROTECTED]:57:24 X=, XWBVER=1.108, LEN=00048, MSG=TCPconnect^192.168.0.2^33560^mobile.geekdoc.org^ APR 9,[EMAIL PROTECTED]:57:24 Final MSG='TCPconnect^192.168.0.2^33560^mobile.geekdoc.org^' APR 9,[EMAIL PROTECTED]:57:24 Entering 'callback' mode APR 9,[EMAIL PROTECTED]:57:24 Entering the loop: X ^%ZOSF("INTERRUPT") APR 9,[EMAIL PROTECTED]:57:24 About to listen for connection... Attempted connection from my work place on EXTERNAL interface APR 11,[EMAIL PROTECTED]:07:16 Got an inbound connection... XWBTDEV("KEY")="CONNECT| h1113 2392350|66.224.30.98" APR 11,[EMAIL PROTECTED]:07:16 LEN={XWB}00049| APR 11,[EMAIL PROTECTED]:07:16 X=, XWBVER=1.108, LEN=00037, MSG=TCPconnect^192.168.100.145^3020^dell^ APR 11,[EMAIL PROTECTED]:07:16 Final MSG='TCPconnect^192.168.100.145^3020^dell^' APR 11,[EMAIL PROTECTED]:07:16 Entering 'callback' mode APR 11,[EMAIL PROTECTED]:07:16 Entering the loop: X ^%ZOSF("INTERRUPT") APR 11,[EMAIL PROTECTED]:07:16 About to listen for connection... APR 11,[EMAIL PROTECTED]:43:27 Got an inbound connection... XWBTDEV("KEY")="CONNECT| h1113 2414070|66.224.30.98" APR 11,[EMAIL PROTECTED]:43:27 Entering the loop: X ^%ZOSF("INTERRUPT") APR 11,[EMAIL PROTECTED]:43:27 About to listen for connection... APR 11,[EMAIL PROTECTED]:43:27 Got an inbound connection... XWBTDEV("KEY")="CONNECT| h1113 2414070|66.224.30.98" APR 11,[EMAIL PROTECTED]:43:27 LEN={XWB}00049| APR 11,[EMAIL PROTECTED]:43:27 X=, XWBVER=1.108, LEN=00037, MSG=TCPconnect^192.168.100.145^3083^dell^ APR 11,[EMAIL PROTECTED]:43:27 Final MSG='TCPconnect^192.168.100.145^3083^dell^' APR 11,[EMAIL PROTECTED]:43:27 Entering 'callback' mode APR 11,[EMAIL PROTECTED]:43:27 Entering the loop: X ^%ZOSF("INTERRUPT") APR 11,[EMAIL PROTECTED]:43:27 About to listen for connection... On Monday 11 April 2005 14:58, Kevin Toppenberg wrote: > This sounds very much like the problem we were having > at the WorldVistA conference. I think we decided that > it was the old "CPRS can't connect through a > firewall/router problem." Supposedly newer versions > of CPRS have been modified to fix this problem. I had > a patch that specified a callback port--but I don't > think it ended up solving the problem either. > > > If I try to connect from outside my private network > > (my
Re: [Hardhats-members] Vista Configuration of DEVICES - Failed CPRS connection
I don't think my hypothesis below is correct, I can use the same CPRS client to login to the VA Demo system from behind the firewall at work. I don't know I hope some of this rambling helps. On Monday 11 April 2005 17:21, Mark Street wrote: > So, fire up those Delphi IDE's and sift through the code. This client may > be programmed to work only on one subnet. It grabs it's IP from its host > and passes it to the server regardless of whether it is behind a NAT'd > firewall or not. I don't know Someone with more brains than I can > take a peek. -- Mark Street, RHCE http://www.oswizards.com -- Key fingerprint = 3949 39E4 6317 7C3C 023E 2B1F 6FB3 06E7 D109 56C0 GPG key http://www.oswizards.com/pubkey.asc --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] Vista Configuration of DEVICES - Failed CPRS connection
I am conjuring ghosts from a past life here soI am not sure how correct I am In other words I am probably full of stuff :) I think your problem is TCP wrappers and/or lack thereof. I willing to bet you that if you set up a VPN it would work like gangbusters. Mano. Στις 11-04-2005, ημέρα Δευ, και ώρα 17:21 -0700, ο/η Mark Street έγραψε: > I think I have an idea. Below is the output from my /tmp/gtmlog.txt file > which logs all attempted connections to my server. Below we see my > successful attempts along with unsuccessful attempts from Mano and my office. > > NOTE, the connections from Mano and my work are coming into the EXTERNAL > interface of my Linux server which is public address space, my internal > network is private 192.168.1.0/24. > > Note below on the connection from work how a connection is established with > the public address of 66.224.30.98, no problem. Then when the line > containing X=, XWBVER=1.108 we have the REAL PRIVATE address of my machine at > work 192.168.100.145!!! Not masqueraded, different subnet. hm. Why > is my private address at work being used to make the TCPconnection when the > masqueraded IP of my work makes the initial INbound connection to the server. > > First let's look at a successful connection log from my internal network. > The > server gets a connection from 192.168.1.3, establishes a connection > TCPconnect on a high port 32862. No problem. Then a minute or so later we > get an attempted connection from Mano in Greece. Note how his public IP > makes the initial connection, then his private address 192.168.0.2 is used > for the TCPconnect. > > There must be something in the client that is passing that INTERNAL PRIVATE > address to the TCPConnect and messing everything up? I have been using > IP Masquerading and NAT for quite awhile now and I haven't seen anything like > this before. > > So, fire up those Delphi IDE's and sift through the code. This client may be > programmed to work only on one subnet. It grabs it's IP from its host and > passes it to the server regardless of whether it is behind a NAT'd firewall > or not. I don't know Someone with more brains than I can take a peek. > > Successful login from INternal network and failure from EXternal interface > --- > APR 9,[EMAIL PROTECTED]:56:45 Got an inbound connection... > XWBTDEV("KEY")="CONNECT| > h11130730050|192.168.1.3" > APR 9,[EMAIL PROTECTED]:56:45 LEN={XWB}00063| > APR 9,[EMAIL PROTECTED]:56:45 X=, XWBVER=1.108, LEN=00051, > MSG=TCPconnect^192.168.1.3^32862^localhost.localdomain^ > APR 9,[EMAIL PROTECTED]:56:45 Final > MSG='TCPconnect^192.168.1.3^32862^localhost.localdomain^' > APR 9,[EMAIL PROTECTED]:56:45 Entering 'callback' mode > APR 9,[EMAIL PROTECTED]:56:45 Entering the loop: X ^%ZOSF("INTERRUPT") > APR 9,[EMAIL PROTECTED]:56:45 About to listen for connection... > > APR 9,[EMAIL PROTECTED]:57:24 Got an inbound connection... > XWBTDEV("KEY")="CONNECT| > h11130730440|83.235.97.122" > APR 9,[EMAIL PROTECTED]:57:24 LEN={XWB}00060| > APR 9,[EMAIL PROTECTED]:57:24 X=, XWBVER=1.108, LEN=00048, > MSG=TCPconnect^192.168.0.2^33560^mobile.geekdoc.org^ > APR 9,[EMAIL PROTECTED]:57:24 Final > MSG='TCPconnect^192.168.0.2^33560^mobile.geekdoc.org^' > APR 9,[EMAIL PROTECTED]:57:24 Entering 'callback' mode > APR 9,[EMAIL PROTECTED]:57:24 Entering the loop: X ^%ZOSF("INTERRUPT") > APR 9,[EMAIL PROTECTED]:57:24 About to listen for connection... > > > Attempted connection from my work place on EXTERNAL interface > > APR 11,[EMAIL PROTECTED]:07:16 Got an inbound connection... > XWBTDEV("KEY")="CONNECT| > h1113 2392350|66.224.30.98" > APR 11,[EMAIL PROTECTED]:07:16 LEN={XWB}00049| > APR 11,[EMAIL PROTECTED]:07:16 X=, XWBVER=1.108, LEN=00037, > MSG=TCPconnect^192.168.100.145^3020^dell^ > APR 11,[EMAIL PROTECTED]:07:16 Final > MSG='TCPconnect^192.168.100.145^3020^dell^' > APR 11,[EMAIL PROTECTED]:07:16 Entering 'callback' mode > APR 11,[EMAIL PROTECTED]:07:16 Entering the loop: X ^%ZOSF("INTERRUPT") > APR 11,[EMAIL PROTECTED]:07:16 About to listen for connection... > > > APR 11,[EMAIL PROTECTED]:43:27 Got an inbound connection... > XWBTDEV("KEY")="CONNECT| > h1113 2414070|66.224.30.98" > APR 11,[EMAIL PROTECTED]:43:27 Entering the loop: X ^%ZOSF("INTERRUPT") > APR 11,[EMAIL PROTECTED]:43:27 About to listen for connection... > > APR 11,[EMAIL PROTECTED]:43:27 Got an inbound connection... > XWBTDEV("KEY")="CONNECT| > h1113 2414070|66.224.30.98" > APR 11,[EMAIL PROTECTED]:43:27 LEN={XWB}00049| > APR 11,[EMAIL PROTECTED]:43:27 X=, XWBVER=1.108, LEN=00037, > MSG=TCPconnect^192.168.100.145^3083^dell^ > APR 11,[EMAIL PROTECTED]:43:27 Final > MSG='TCPconnect^192.168.100.145^3083^dell^' > APR 11,[EMAIL PROTECTED]:43:27 Entering 'callback' mode > APR 11,[EMAIL PROTECTED]:43:27 Entering the loop: X ^%ZOSF("INTERRUPT") > APR 11,[EMAIL P