EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: How to use the errlog with epics 3.14 on a windows Pc?
From: kuner <[email protected]>
To: tech-talk <[email protected]>
Date: Fri, 04 Jul 2003 12:46:30 +0200
Hi all,

I tried this for initialisation: Set in shell environment:

export EPICS_IOC_LOG_INET=193.149.12.137

the variable is shown with epicsEnvShow from the iocShell

init iocLog in iocShellMain.cpp:

int main(int argc,char *argv[])
{
iocLogInit();
if(argc>=2)
{ iocsh(argv[1]);
epicsThreadSleep(.2);
}
}


and used errlogPrintf. The messages are written on the shell, but not to the iocLogServer (the server doesn't run on a PC). There is a cyclic connection lost an reconnect to the server:

log client: lost contact with error message log server at "193.149.12.137:7004"
....
log client: connected to error message log server at "193.149.12.137:7004"


have a look on the server machine (ocean) shows for my client (hazel):

ocean: .../1-3/caPutLogApp > netstat -a |grep 7004
tcp 0 0 ocean.7004 hazel.1769 FIN_WAIT_2
tcp 0 0 ocean.7004 hazel.1766 TIME_WAIT
tcp 0 0 *.7004 *.* LISTEN


Whats going wrong there?

--
-------------------------------------------------------------------
-- [email protected] ----------- Bessy Gmbh -----------------
-- +49 30 6392 4981 ------------------ Albert Einstein Strasse 15 -
-------------------------------------- 12489 Berlin ---------------



Replies:
RE: How to use the errlog with epics 3.14 on a windows Pc? Jeff Hill

Navigate by Date:
Prev: IOC Support Stephen Goodsell
Next: overheads in serial communications with drvAscii, sioSup & tnetDe v Redman, Russell O.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: IOC Support Stephen Goodsell
Next: RE: How to use the errlog with epics 3.14 on a windows Pc? Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·