The CA server is complaining because caPutLog speaks a different protocol and requires a different server. caPutLogInit should never be given port 5064.
You should investigate the iocLogServer executable which is built as part of epics base which speaks the protocol used by caputlog. By default this listens on port 7004. This is designed to act as a central log server for many IOCs.
I also have https://github.com/mdavidsaver/ioclogserv2 with some additional features including better log file rotation behavior.
On 11/24/2015 04:49 AM, Qiao Yusi wrote:
> Hi, everyone:
>
>
>
> I’m a newbie at EPICS. I have some trouble running caPutLog on RedHat Linux. When using caput to change a pv value, here came:
>
> epics> CAS: request from 192.168.206.74:32975 => "CAS: Missaligned protocol rejected"
>
> CAS: Request from 192.168.206.74:32975 => cmmd=12852 cid=0x35203131 type=28534 count=11569 postsize=11598
>
> CAS: Request from 192.168.206.74:32975 => available=0x3a34323a N=0 paddr=(nil)
>
> CAS: forcing disconnect from 192.168.206.74:32975
>
> So my logfile can only log the error.
>
> The IOC is running on epics-base 3.14.12.1, and the caPutLog version is 3.4.
>
> My server and client are on the same host, and here are some related environment variables, the host IP is 192.168.206.74:
>
> export EPICS_CA_AUTO_ADDR_LIST=NO
>
> export EPICS_CA_ADDR_LIST=192.168.206.74
>
> export EPICS_IOC_LOG_INET=192.168.206.74
>
> export EPICS_IOC_LOG_PORT=7004
>
> export EPICS_IOC_LOG_FILE_NAME=/home/qys/save/logfile
>
>
>
> I can’t figure out what is wrong. Hope someone can help me. Thanks!
>
> (More details please see the attachment.)
>
>
- References:
- Missaligned protocol rejected when using caPutLog Qiao Yusi
- Navigate by Date:
- Prev:
Re: Successfully locked memory using mlockAll Henrique Almeida
- Next:
Re: error: ‘dbChannel’ has no member named ‘final_dbr_type’ Henrique Almeida
- 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:
Missaligned protocol rejected when using caPutLog Qiao Yusi
- Next:
Re: caPutLog problem solved Qiao Yusi
- 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
|