You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ralphlange
Dear ralphlange,
My autosave‘s ioc has been working fine in the past,but a lot of bugs were reported today,my previous data is all gone.
I don't know what the reason is, hope someone can help me.
Here's what my IOC looks like.
[bl17b1epics@localhost bl17b1_all]$ ./start_motor_autosave
#!../../bin/linux-x86/motor_autosave
st.cmd -- Line 1 -- Command #!../../bin/linux-x86/motor_autosave not found.
##You may have to change motor_autosave to something else
##everywhere it appears in this file
< envPaths
epicsEnvSet("ARCH","linux-x86")
epicsEnvSet("IOC","iocmotor_autosave")
epicsEnvSet("TOP","/home/bl17b1epics/Documents/epics/motor_autosave")
epicsEnvSet("EPICS_BASE","/home/bl17b1epics/Documents/epics/base")
epicsEnvSet("SUPPORT","/home/bl17b1epics/Documents/epics/synApps_5_6/support")
epicsEnvSet("AUTOSAVE","/home/bl17b1epics/Documents/epics/synApps_5_6/support/autosave-4-8")
epicsEnvSet("SSCAN","/home/bl17b1epics/Documents/epics/synApps_5_6/support/sscan-2-7")
epicsEnvSet("CALC","/home/bl17b1epics/Documents/epics/synApps_5_6/support/calc-2-9")
cd /home/bl17b1epics/Documents/epics/motor_autosave
##Register all support components
dbLoadDatabase "dbd/motor_autosave.dbd"
motor_autosave_registerRecordDeviceDriver pdbbase
epicsEnvSet("EPICS_CAS_SERVER_PORT","9895")
cd "/home/bl17b1epics/Documents/epics/motor_autosave/iocBoot/iocmotor_autosave"
< save_restore.cmd
#BEGIN save_restore.cmd ------------------------------------------------------
###save_restore setup
#This file does not require modification for standard use, but...
#status PVs
#save_restoreSet_UseStatusPVs(1)
save_restoreSet_status_prefix("BL17B1:EH:")
dbLoadRecords("/home/bl17b1epics/Documents/epics/synApps_5_6/support/autosave-4-8/asApp/Db/save_restoreStatus.db", "P=BL17B1:EH:, DEAD_SECONDS=5")
#Ok to save/restore save sets with missing values (no CA connection to PV)?
save_restoreSet_IncompleteSetsOk(1)
#Save dated backup files?
save_restoreSet_DatedBackupFiles(1)
#Number of sequenced backup files to write
save_restoreSet_NumSeqFiles(3)
#Time interval between sequenced backups
save_restoreSet_SeqPeriodInSeconds(300)
#specify where save files should be
set_savefile_path("/home/bl17b1epics/Documents/epics/auto_save", "")
Autosave is not configured to manage the file-system mount point.
#specify what save files should be restored. Note these files must be
#in the directory specified in set_savefile_path(), or, if that function
#has not been called, from the directory current when iocInit is invoked
set_pass0_restoreFile("auto_positions.sav")
#set_pass0_restoreFile("auto_settings.sav")
#set_pass1_restoreFile("auto_settings.sav")
#Note that you can restore a .sav file without also autosaving to it.
#set_pass0_restoreFile("myInitData.sav")
#set_pass1_restoreFile("myInitData.sav")
#specify directories in which to to search for included request files
set_requestfile_path("/home/bl17b1epics/Documents/epics/motor_autosave/iocBoot/iocmotor_autosave", "")
#Debug-output level
save_restoreSet_Debug(0)
#END save_restore.cmd --------------------------------------------------------
##Set this to see messages from mySub
#var mySubDebug 1
##Run this to trace the stages of iocInit
#traceIocInit
cd /home/bl17b1epics/Documents/epics/motor_autosave/iocBoot/iocmotor_autosave
iocInit
Starting iocInit
############################################################################
##EPICS R3.14.12
##EPICS Base built Oct 20 2016
############################################################################
reboot_restore: entry for file 'auto_positions.sav'
reboot_restore (v4.12): entry for file 'auto_positions.sav'
reboot_restore: Found filename 'auto_positions.sav' in restoreFileList.
*** restoring from '/home/bl17b1epics/Documents/epics/auto_save/auto_positions.sav' at initHookState 6 (before record/device init) ***
27 PVs had no saved value.
dbFindRecord for '17B:TABLE:MD2H1.DVAL' failed
dbFindRecord for '17B:TABLE:MD2H2.DVAL' failed
dbFindRecord for '17B:TABLE:MD2V1.DVAL' failed
dbFindRecord for '17B:TABLE:MD2V2.DVAL' failed
dbFindRecord for '17B:TABLE:MD2V3.DVAL' failed
dbFindRecord for '17B:TABLE:MD2DET.DVAL' failed
dbFindRecord for '17B:TABLE:Soft_x.DVAL' failed
dbFindRecord for '17B:TABLE:Soft_z.DVAL' failed
dbFindRecord for '17B:TABLE:Soft_pitch.DVAL' failed
dbFindRecord for '17B:TABLE:Soft_yaw.DVAL' failed
dbFindRecord for '17B:TABLE:Soft_roll.DVAL' failed
reboot_restore: done with file 'auto_positions.sav'
iocRun: All initialization complete
#save positions every five seconds
create_monitor_set("auto_positions.req",5,"P=17B:TABLE:")
#save other things every thirty seconds
#create_monitor_set("auto_settings.req",30,"P=xxx:")
###Start the saveData task.
saveData_Init("saveData.req", "P=17B:TABLE:")
saveData: message queue created
save_restore: connect failed for channel 'BL17B1:EH:m1.DVAL'
save_restore: connect failed for channel 'BL17B1:EH:m2.DVAL'
save_restore: connect failed for channel '17B:TABLE:Soft_x.DVAL'
save_restore: connect failed for channel '17B:TABLE:Soft_z.DVAL'
save_restore: connect failed for channel '17B:TABLE:Soft_pitch.DVAL'
save_restore: connect failed for channel '17B:TABLE:Soft_yaw.DVAL'
save_restore: connect failed for channel '17B:TABLE:Soft_roll.DVAL'
save_restore: connect failed for channel '17B:TABLE:MD2H1.DVAL'
save_restore: connect failed for channel '17B:TABLE:MD2H2.DVAL'
save_restore: connect failed for channel '17B:TABLE:MD2V1.DVAL'
save_restore: connect failed for channel '17B:TABLE:MD2V2.DVAL'
save_restore: connect failed for channel '17B:TABLE:MD2V3.DVAL'
saveData: Can't connect to some or all retry PVs
saveData: Unable to connect 17B:TABLE:saveData_status
saveData: Unable to configure saveDataTask
##Start any sequence programs
#seq sncExample, "user=bl17b1epicsHost"
epics>
The text was updated successfully, but these errors were encountered:
@ralphlange
Dear ralphlange,
My autosave‘s ioc has been working fine in the past,but a lot of bugs were reported today,my previous data is all gone.
I don't know what the reason is, hope someone can help me.
Here's what my IOC looks like.
[bl17b1epics@localhost bl17b1_all]$ ./start_motor_autosave
#!../../bin/linux-x86/motor_autosave
st.cmd -- Line 1 -- Command #!../../bin/linux-x86/motor_autosave not found.
##You may have to change motor_autosave to something else
##everywhere it appears in this file
< envPaths
epicsEnvSet("ARCH","linux-x86")
epicsEnvSet("IOC","iocmotor_autosave")
epicsEnvSet("TOP","/home/bl17b1epics/Documents/epics/motor_autosave")
epicsEnvSet("EPICS_BASE","/home/bl17b1epics/Documents/epics/base")
epicsEnvSet("SUPPORT","/home/bl17b1epics/Documents/epics/synApps_5_6/support")
epicsEnvSet("AUTOSAVE","/home/bl17b1epics/Documents/epics/synApps_5_6/support/autosave-4-8")
epicsEnvSet("SSCAN","/home/bl17b1epics/Documents/epics/synApps_5_6/support/sscan-2-7")
epicsEnvSet("CALC","/home/bl17b1epics/Documents/epics/synApps_5_6/support/calc-2-9")
cd /home/bl17b1epics/Documents/epics/motor_autosave
##Register all support components
dbLoadDatabase "dbd/motor_autosave.dbd"
motor_autosave_registerRecordDeviceDriver pdbbase
epicsEnvSet("EPICS_CAS_SERVER_PORT","9895")
cd "/home/bl17b1epics/Documents/epics/motor_autosave/iocBoot/iocmotor_autosave"
< save_restore.cmd
#BEGIN save_restore.cmd ------------------------------------------------------
###save_restore setup
#This file does not require modification for standard use, but...
#status PVs
#save_restoreSet_UseStatusPVs(1)
save_restoreSet_status_prefix("BL17B1:EH:")
dbLoadRecords("/home/bl17b1epics/Documents/epics/synApps_5_6/support/autosave-4-8/asApp/Db/save_restoreStatus.db", "P=BL17B1:EH:, DEAD_SECONDS=5")
#Ok to save/restore save sets with missing values (no CA connection to PV)?
save_restoreSet_IncompleteSetsOk(1)
#Save dated backup files?
save_restoreSet_DatedBackupFiles(1)
#Number of sequenced backup files to write
save_restoreSet_NumSeqFiles(3)
#Time interval between sequenced backups
save_restoreSet_SeqPeriodInSeconds(300)
#specify where save files should be
set_savefile_path("/home/bl17b1epics/Documents/epics/auto_save", "")
Autosave is not configured to manage the file-system mount point.
#specify what save files should be restored. Note these files must be
#in the directory specified in set_savefile_path(), or, if that function
#has not been called, from the directory current when iocInit is invoked
set_pass0_restoreFile("auto_positions.sav")
#set_pass0_restoreFile("auto_settings.sav")
#set_pass1_restoreFile("auto_settings.sav")
#Note that you can restore a .sav file without also autosaving to it.
#set_pass0_restoreFile("myInitData.sav")
#set_pass1_restoreFile("myInitData.sav")
#specify directories in which to to search for included request files
set_requestfile_path("/home/bl17b1epics/Documents/epics/motor_autosave/iocBoot/iocmotor_autosave", "")
#Debug-output level
save_restoreSet_Debug(0)
#END save_restore.cmd --------------------------------------------------------
##Set this to see messages from mySub
#var mySubDebug 1
##Run this to trace the stages of iocInit
#traceIocInit
cd /home/bl17b1epics/Documents/epics/motor_autosave/iocBoot/iocmotor_autosave
iocInit
Starting iocInit
############################################################################
##EPICS R3.14.12
##EPICS Base built Oct 20 2016
############################################################################
reboot_restore: entry for file 'auto_positions.sav'
reboot_restore (v4.12): entry for file 'auto_positions.sav'
reboot_restore: Found filename 'auto_positions.sav' in restoreFileList.
*** restoring from '/home/bl17b1epics/Documents/epics/auto_save/auto_positions.sav' at initHookState 6 (before record/device init) ***
27 PVs had no saved value.
dbFindRecord for '17B:TABLE:MD2H1.DVAL' failed
dbFindRecord for '17B:TABLE:MD2H2.DVAL' failed
dbFindRecord for '17B:TABLE:MD2V1.DVAL' failed
dbFindRecord for '17B:TABLE:MD2V2.DVAL' failed
dbFindRecord for '17B:TABLE:MD2V3.DVAL' failed
dbFindRecord for '17B:TABLE:MD2DET.DVAL' failed
dbFindRecord for '17B:TABLE:Soft_x.DVAL' failed
dbFindRecord for '17B:TABLE:Soft_z.DVAL' failed
dbFindRecord for '17B:TABLE:Soft_pitch.DVAL' failed
dbFindRecord for '17B:TABLE:Soft_yaw.DVAL' failed
dbFindRecord for '17B:TABLE:Soft_roll.DVAL' failed
reboot_restore: done with file 'auto_positions.sav'
iocRun: All initialization complete
#save positions every five seconds
create_monitor_set("auto_positions.req",5,"P=17B:TABLE:")
#save other things every thirty seconds
#create_monitor_set("auto_settings.req",30,"P=xxx:")
###Start the saveData task.
saveData_Init("saveData.req", "P=17B:TABLE:")
saveData: message queue created
save_restore: connect failed for channel 'BL17B1:EH:m1.DVAL'
save_restore: connect failed for channel 'BL17B1:EH:m2.DVAL'
save_restore: connect failed for channel '17B:TABLE:Soft_x.DVAL'
save_restore: connect failed for channel '17B:TABLE:Soft_z.DVAL'
save_restore: connect failed for channel '17B:TABLE:Soft_pitch.DVAL'
save_restore: connect failed for channel '17B:TABLE:Soft_yaw.DVAL'
save_restore: connect failed for channel '17B:TABLE:Soft_roll.DVAL'
save_restore: connect failed for channel '17B:TABLE:MD2H1.DVAL'
save_restore: connect failed for channel '17B:TABLE:MD2H2.DVAL'
save_restore: connect failed for channel '17B:TABLE:MD2V1.DVAL'
save_restore: connect failed for channel '17B:TABLE:MD2V2.DVAL'
save_restore: connect failed for channel '17B:TABLE:MD2V3.DVAL'
saveData: Can't connect to some or all retry PVs
saveData: Unable to connect 17B:TABLE:saveData_status
saveData: Unable to configure saveDataTask
##Start any sequence programs
#seq sncExample, "user=bl17b1epicsHost"
epics>
The text was updated successfully, but these errors were encountered: