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

Subject: RE: Problems with installing EPICS
From: "Rees, Nick (DLSLtd,RAL,DIA)" <[email protected]>
To: "Csaba Gajo" <[email protected]>, <[email protected]>
Date: Fri, 4 Sep 2009 09:27:03 +0100
Hi Csaba,

You said you created your application by:

makeBaseApp.pl -t example myexample3
makeBaseApp.pl -i -t example myexample3

Actually, what I think you did is:

makeBaseApp.pl -t example myexample2
makeBaseApp.pl -i -t example myexample2
... And then didn't take the default when prompted for the application
name, but typed "xxx".

You should have just taken the default, which would have created an
application named myexample2. The prompt text for this response is:

"The following applications are available:
    myexample2
What application should the IOC(s) boot?
The default uses the IOC's name, even if not listed above.
Application name?"

You answered xxx, but this isn't available as an application, so it
couldn't boot. I must admit that this is a bit confusing, but it does
make sense when you know a bit more.

Cheers,

Nick Rees
Principal Software Engineer           Phone: +44 (0)1235-778430
Diamond Light Source                  Fax:   +44 (0)1235-446713 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Csaba Gajo
> Sent: 04 September 2009 09:00
> To: [email protected]
> Subject: Problems with installing EPICS
> 
> Hello,
> 
> I'm having problems with inistalling EPICS on Ubuntu Linux. I've
> downloaded EPICS Base R3.14.10 and the following modules:  Asyn,
> drvIpac and Sequencer compiler 2.0.11. These were all compiled ok.
> I've also installed the GNU readLine library, so I didn't have to
> comment out the line in the config file.
> 
> So it all compiled fine, I've set the environment variables 
> in .bashrc:
> export EPICS_CA_ADD_LIST=127.0.0.1
> export EPICS_ROOT=/opt/epics
> export EPICS_HOST_ARCH=linux-x86
> export EPICS_BASE=$EPICS_ROOT/base
> export EPICS_EXTENSIONS=$EPICS_ROOT/extensions
> export PATH=$PATH:$EPICS_BASE/bin/$EPICS_HOST_ARCH
> export 
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$EPICS_BASE/lib/$EPICS_HOST_A
RCH:$EPICS_EXTENSIONS/lib/$EPICS_HOST_ARCH:$EPICS_APPS/lib/>
$EPICS_HOST_ARCH
> 
> Then I've created an example application in the "work3" directory:
> 
> makeBaseApp.pl -t example myexample3
> makeBaseApp.pl -i -t example myexample3
> 
> It all worked fine, I wrote "make" and the application was built.
> However, when I started the application, it didn't work fine. It says
> for example "unknown type ai" and "unknown type calc". I'm guessing it
> cannot find the database. This is the complete output:
> 
> user@ubuntu-vmware:~/work3/iocBoot/iocmyexample2$
> ../../bin/linux-x86/myexample2 st.cmd
> #!../../bin/linux-x86/xxx
> ## You may have to change xxx to something else
> ## everywhere it appears in this file
> < envPaths
> epicsEnvSet("ARCH","linux-x86")
> epicsEnvSet("IOC","iocmyexample2")
> epicsEnvSet("TOP","/home/user/work3")
> epicsEnvSet("EPICS_BASE","/opt/epics/base")
> cd /home/user/work3
> ## Register all support components
> dbLoadDatabase "dbd/xxx.dbd"
> filename="../dbLexRoutines.c" line number=243
> No such file or directory dbRead opening file
> dbd/xxx.dbdxxx_registerRecordDeviceDriver pdbbase
> st.cmd -- Line 12 -- Command xxx_registerRecordDeviceDriver not found.
> ## Load record instances
> dbLoadTemplate "db/userHost.substitutions"
> Record "userHost:aiExample" is of unknown type "ai" - Error at or
> before ")" in file "db/dbExample1.db" line 1
> Record "userHost:calcExample1" is of unknown type "calc" - Error at or
> before ")" in file "db/dbExample2.db" line 1
> Record "userHost:calcExample2" is of unknown type "calc" - Error at or
> before ")" in file "db/dbExample2.db" line 1
> Record "userHost:calcExample3" is of unknown type "calc" - Error at or
> before ")" in file "db/dbExample2.db" line 1
> dbLoadRecords "db/dbSubExample.db", "user=userHost"
> Record "userHost:subExample" is of unknown type "sub" - Error at or
> before ")" in file "db/dbSubExample.db" line 1
> ## Set this to see messages from mySub
> #var mySubDebug 1
> ## Run this to trace the stages of iocInit
> #traceIocInit
> cd /home/user/work3/iocBoot/iocmyexample2
> iocInit
> Starting iocInit
> ##############################################################
> ##############
> ## EPICS R3.14.10 $R3-14-10$ $2008/10/27 19:39:04$
> ## EPICS Base built Sep  3 2009
> ##############################################################
> ##############
> initPeriodic: menuScan not present
> iocRun: All initialization complete
> ## Start any sequence programs
> #seq sncExample, "user=userHost"
> epics> exit
> 
> 
> ----------
> 
> Any idea what could be wrong, and how to fix it?
> 
> Thanks, Csaba
> 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 


References:
Problems with installing EPICS Csaba Gajo

Navigate by Date:
Prev: Problems with installing EPICS Csaba Gajo
Next: Events Csaba Gajo
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Problems with installing EPICS Csaba Gajo
Next: Re: Problems with installing EPICS Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·