EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Client failed to connect to local server on VxWorks and Pharlap
From: Andrew Johnson <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Fri, 22 Oct 2010 10:14:34 -0500
Hi,

On Thursday 21 October 2010 23:35:04 [email protected] wrote:
>
> I wrote an EPICS Server and an EPICS Client based on EPICS Base. They work
> well on Windows platform. Now I'm porting them to VxWorks and Pharlap.

Please confirm that you are using the Channel Access Client (libca) and Server 
(libcas) libraries provided with EPICS Base.

Which version of EPICS Base are you using?

What were the EPICS target architecture names for all three builds?

We don't currently support Pharlap in Base, so I assume you added your own 
build configuration files for this target.  Does it pass all of the test 
programs found in src/libCom/test and built in src/libCom/test/O.<arch>?

Please also run the libCom test programs on your vxWorks target and confirm 
that they all pass.  You do that by loading the vxTestHarness.munch file into 
a clean vxWorks system (with no other applications running), cd to a directory 
that vxWorks can create a file in if possible, then execute the command 
'epicsRunLibComTests'.  If the vxWorks system can't create a file it will fail 
and skip a few tests in epicsStdioTest, but that's benign.

> During porting, I found the issue that, if the client and server are on a
> single host (no matter VxWorks or Pharlap), the connection couldn't be
> established.

Have you tried running the client on the same platform but a different host to 
the server?

How are you running both the client and server on the same vxWorks host â do 
you have them linked into a single .munch file that you are loading?

> At the time the issue happens, I can create a client on a different
> platform to successfully connect to/communicate with the issuing server, I
> can also point the issuing client to connect to/communicate with another
> server on a different platform.
>
> Do you have any clue what the issue might be?

Not yet, but the information I've asked for above might allow us to help you.

- Andrew

http://www.catb.org/esr/faqs/smart-questions.html
-- 
If a man is offered a fact which goes against his instincts, he will
scrutinize it closely, and unless the evidence is overwhelming, he will
refuse to believe it.  If, on the other hand, he is offered something
which affords a reason for acting in accordance to his instincts, he
will accept it even on the slightest evidence.  -- Bertrand Russell



References:
Client failed to connect to local server on VxWorks and Pharlap lorna . zhang

Navigate by Date:
Prev: Re: cross-gcc-2.9.6 problem Dirk Zimoch
Next: RE:RE: cross-gcc-2.9.6 problem 王林
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Client failed to connect to local server on VxWorks and Pharlap lorna . zhang
Next: RE: Client failed to connect to local server on VxWorks and Pharlap Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 22 Oct 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·