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: Eric Norum <[email protected]>
To: James F Ross <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Thu, 21 Feb 2013 12:41:04 -0800
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 Jiro Fujita
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

Navigate by Date:
Prev: Re: asyn and snmp Paul Nord
Next: EPICS Modbus module + PLC Pavel Maslov
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 Paul Nord
Next: Re: asyn and snmp Jiro Fujita
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 ·