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  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024  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  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: S_errno_ENOENT on loading motorUtils.db
From: Mrinal Bera via Tech-talk <tech-talk at aps.anl.gov>
To: Andrew Johnson <anj at anl.gov>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 20 Apr 2022 03:50:20 +0000
Thanks Andrew for the suggestion to look at the existence of the file. I found that there was a typo in the file path: instead of ‘motorUtil.db' I typed ‘motorUtils.db’. Correcting the typo fixed the issue. Now everything is running fine.

Thanks again!

Best,
Mrinal
  
Mrinal Kanti Bera, PhD
NSF’s ChemMatCARS
University of Chicago
9700 S Cass Ave Bldg 434D
Argonne, IL-60439
United States
Phone: +1-630-252-0472



On Apr 19, 2022, at 9:47 PM, Andrew Johnson <anj at anl.gov> wrote:

Hi Mrinal,

On 4/19/22 12:12 PM, Mrinal Bera via Tech-talk wrote:
Thanks to Mark Rivers and APS-BCDA Group, I could successfully build a new VME Crate system with EPICS 7.0.4 and vxWorks 6.9.4 with the following hardware configuration:
1) MVME 3100
2) MAXv 8000
3) OMS StepPak SPD-32M Motor Drivers

While booting the MVME board I am getting the following error while loading the motorUtils.db and couldnot figure out the reason.

epics> dbLoadRecords("$(MOTOR)/db/motorUtils.db","P=CRL15Sraight:")
filename="../dbStatic/dbLexRoutines.c" line number=271
S_errno_ENOENT dbRead opening file /home/epics/synApps/support/motor-R7-2-2/db/motorUtils.db
dbLoadRecords: failed to load '/home/epics/synApps/support/motor-R7-2-2/db/motorUtils.db'

That is a not-terribly friendly message that I think just means "file not found". You are loading an nfsCommands file but oes your VxWorks system have the /home/epics/synApps path mounted? Try typing

ls "/home/epics/synApps/support/motor-R7-2-2/db/motorUtils.db"

at the shell, my guess is that it won't be able to find it and that you will need to adjust what you're mounting, or maybe have the application install the file into its own db directory and load it from there.

HTH,

- Andrew


-- 
Complexity comes for free, Simplicity you have to work for.


References:
S_errno_ENOENT on loading motorUtils.db Mrinal Bera via Tech-talk
Re: S_errno_ENOENT on loading motorUtils.db Andrew Johnson via Tech-talk

Navigate by Date:
Prev: Re: S_errno_ENOENT on loading motorUtils.db Andrew Johnson via Tech-talk
Next: Re: drvModbusAsynConfigure exception 3 when ASLO and PREC fields of PV are changed Marco A. Barra Montevechi Filho via Tech-talk
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  <20222023  2024 
Navigate by Thread:
Prev: Re: S_errno_ENOENT on loading motorUtils.db Andrew Johnson via Tech-talk
Next: Tektronix MDO 4000 Series Support Johnson, Tyler via Tech-talk
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  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·