Len Lawrence wrote:
>
> On Wed, 5 Mar 1997, Jeff Hill wrote:
>
> > Len Lawrence wrote:
> > >
> > > Sorry folks for introducing a VxWorks query, but after two weeks of
> > > frustration trying to make the EPICS log server work I have returned
> > > to simple file i/o (fopen, fprintf, etc) on an mv167 IOC running
> > > VxWorks 5.2.
> >
> > What were the problems that you were having with the log server?
> > What version of EPICS are you using?
>
> We use the Gemini release 3 of 3.12.2.
> The basic problem was that no log file was ever created, even though no
> error messages were returned and the file descriptors always looked OK.
Have you set the following environment variables prior to running
the log server on the UNIX host:
ENV_PARAM EPICS_IOC_LOG_PORT={"EPICS_IOC_LOG_PORT","7004"};
ENV_PARAM
EPICS_IOC_LOG_FILE_LIMIT={"EPICS_IOC_LOG_FILE_LIMIT","1000000"};
ENV_PARAM
EPICS_IOC_LOG_FILE_NAME={"EPICS_IOC_LOG_FILE_NAME","/home/phebos1/epics/apple/log/i
ocLog.text"};
Have you set the following environment variables prior to calling
"iocInit()" during the vxWorks boot?
ENV_PARAM EPICS_IOC_LOG_PORT={"EPICS_IOC_LOG_PORT","7004"};
ENV_PARAM EPICS_IOC_LOG_INET={"EPICS_IOC_LOG_INET","164.54.8.167"};
> Attempts were made using logInit, logFdAdd, logFdSet - to no avail. The
> log output did however appear in the xterm window used for VxWorks i/o.
>
This should not be required by the application developer (all
of this occurs as a side effect of calling iocInit).
Jeff
--
______________________________________________________________________
Jeffrey O. Hill Internet [email protected]
LANL MS H820 Voice 505 665 1831
Los Alamos, NM 87545 USA FAX 505 665 5107
- Navigate by Date:
- Prev:
v 3.13 release Bill Brown
- Next:
Re: VxWorks file i/o problem Chip Watson
- 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
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: VxWorks file i/o problem Chip Watson
- Next:
v 3.13 release Bill Brown
- 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
2020
2021
2022
2023
2024
|