Restore RunLog Browser
If the Run Log Browser is not Updating...
- make sure all options are selected and deselect "filter bad"
often - people will complain about missing runs and they are just not selected
- Call DB EXPERT: 349-2257
- Check onldb.star.bnl.gov
- log onto node as stardb (password known by Michael, Wayne, Jerome, Gene)
- df -k ( make sure a disk did not fill) - If it did: cd into the appropriate data directory
(i.e. /mysqldata00/Run_7/port_3501/mysql/data) and copy /dev/null into the large log file onldb.starp.bnl.gov.log
`cp /dev/null > onldb.starp.bnl.gov.log`
- make sure back-end runlog DAEMON is running
- execute /online/production/database/Run_7/dbSenders/bin/runWrite.sh status
Running should be returned
- restart deamon - execute /online/production/database/Run_7/dbSenders/bin/runWrite.sh start
Running should be returned
- if Not Running is returned there is a problem with the code or with daq
- contact DAQ expert to check their DB sender system
- refer to the next section below as to debugging/modifying recompiling code
- Make sure Database is running
- mysql -S /tmp/mysql.3501.sock
- To restart db
- cd to /online/production/database/config
- execute `mysql5.production start 3501`
- try to connect
- debug/modify Daemon Code (be careful and log everything you do)
- check log file at /online/production/database/Run_7/dbSenders/run this may point to an obvious problem
- Source code is located in /online/production/database/Run_7/dbSenders/online/Condition/run
- GDB is not Available usless the code is recompiled NOT as a daemon
- COPY Makefile_debug to Makefile (remember to copy Makefile_good back to Makefile when finished)
- setenv DAEMON RunLogSender
- make
- executable is at /online/production/database/Run_7/dbSenders/bin
- gdb RunLog