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  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Connection to PVA server fails despite server
From: "Wlodek, Jakub via Tech-talk" <tech-talk at aps.anl.gov>
To: Michael Davidsaver <mdavidsaver at gmail.com>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 10 Nov 2020 19:29:38 +0000
Hi Michael,

Thanks for the quick response - I was able to figure out what the problem was based on a hint in your
message:
I'm interested to know if you see the CONNECTION_VALIDATION messages
being exchanged.  There should be one from server to client (telnet
shows this), which should be followed by another from client to server.
You will see your user account name in the body of this one.

If all were going well, the server would then respond with CONNECTION_VALIDATED.
But since both ends are timing out, presumably this isn't happening.

You mentioned that my user account name would be transmitted during the connection validation stage.
Since I am running the IOC inside of a docker container, the default account it runs under is root, however,
I wanted data saved by the container to be owned by the softioc user we use across all our IOC servers
at NSLS2. As a result I configured the container to run the IOC as the softioc user imported from
the host server. When I disabled this, and ran the IOC process as root, everything seemed to work.

When I connected to the container from the outside, it appeared that the `softioc` name was not retained, only the uid and gid,
and I got a prompt like this:

I have no name!@xf17bm-ioc2:/$

Ultimately, I added a command in the Dockerfile to add the softioc user and just manually matched the uid and gid with the
external user - and now everything seems to work, as the proper user. If you don't mind me asking, why is seemingly only
PVA affected by the no-name user issue, but not CA?

Thanks again,
Jakub

From: Michael Davidsaver <mdavidsaver at gmail.com>
Sent: Tuesday, November 10, 2020 1:44 PM
To: Wlodek, Jakub <jwlodek at bnl.gov>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: Connection to PVA server fails despite server
 
On 11/10/20 9:28 AM, Wlodek, Jakub via Tech-talk wrote:
> Hi all,
>
> I am currently working with an areaDetector IOC I am running in a container,

I should also ask for the usual information about software versions.
Which version(s) of EPICS Base and other modules are involved?

Replies:
Re: Connection to PVA server fails despite server Kasemir, Kay via Tech-talk
Re: Connection to PVA server fails despite server Michael Davidsaver via Tech-talk
References:
Connection to PVA server fails despite server Wlodek, Jakub via Tech-talk
Re: Connection to PVA server fails despite server Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: Re: Connection to PVA server fails despite server Michael Davidsaver via Tech-talk
Next: EPICS Integrator for Sweden TEL-EPC-201028 Jef Kong via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Connection to PVA server fails despite server Michael Davidsaver via Tech-talk
Next: Re: Connection to PVA server fails despite server Kasemir, Kay via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 11 Nov 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·