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  <20132014  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  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: asyn and snmp
From: James F Ross <[email protected]>
To: Jiro Fujita <[email protected]>
Cc: Eric Norum <[email protected]>, EPICS Tech Talk <[email protected]>
Date: Fri, 22 Feb 2013 13:48:47 -0500
Thanks Jiro and Eric,

I've managed to get the IOC to run just using ./st.cmd.  I'm now
experimenting with the crate in question to learn which variables
should be monitored and which are used to control it.

James

On Fri, Feb 22, 2013 at 1:45 PM, Jiro Fujita <[email protected]> wrote:
> James,
>
> I tried it myself (as this may come to my way for the problem for STAR HFT).  Eric is correct: if you do ../../bin/linux-x86_64/snmp st.cmd as Eric suggests, it works.  On the other hand, if you do ./st.cmd, then, it probably won't work.
>
> The reason for that is that there is no envPaths file included in the tarball.  Since no tarball, TOP is not defined, therefore, it can't find the MIBDIR, etc.
>
>
> On Feb 21, 2013, at 2:41 PM, Eric Norum wrote:
>
>> I think that there's something wrong with the 'shebang' line at the top of your st.cmd.  It appears to be attempting to use the system shell instead of the IOC executable to interpret the st.cmd lines.
>>
>> Try running the executable explicitly:
>> ./../bin/darwin-x86/wienerCrateExample st.cmd
>> (where darwin-x86 would be replaced with whatever you have for EPICS_HOST_ARCH).
>>
>>
>>
>> On Feb 21, 2013, at 12:10 PM, James F Ross <[email protected]> wrote:
>>
>>> I dont think it's an issue with the environment variable.  I tried
>>> commenting them out and it gave the same syntax error about the
>>> dbLoadDatabase command.
>>>
>>> The IOC isn't getting far enough to get to the console output.  Here
>>> is what I do after building it:
>>> 1. cd <TOP>/iocBoot/iocsnmp
>>> 2. ./st.cmd
>>>
>>> Output:
>>> ./st.cmd: line 7: syntax error near unexpected token `"MIBDIRS",'
>>> ./st.cmd: line 7: `epicsEnvSet("MIBDIRS", "+$(TOP)/mibs")'
>>>
>>> I'm running scientific linux 5.8 with epics base 3.14.12.1.
>>> Thanks
>>> James
>>>
>>
>>
>

Replies:
Re: asyn and snmp Pete Jemian
References:
asyn and snmp James F Ross
Re: asyn and snmp Paul Nord
Re: asyn and snmp James F Ross
Re: asyn and snmp Eric Norum
Re: asyn and snmp James F Ross
Re: asyn and snmp Eric Norum
Re: asyn and snmp Jiro Fujita

Navigate by Date:
Prev: Re: asyn and snmp Jiro Fujita
Next: Re: asyn and snmp Pete Jemian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: asyn and snmp Jiro Fujita
Next: Re: asyn and snmp Pete Jemian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·