Version 11 (modified by 8 years ago) ( diff ) | ,
---|
Trouble Shooting - Software
Stopping Programs
- never stop a not hanging program with ctrl+c
- when a restart of the program is really necessary use .q instead
- restarting a program is in most cases not a solution and only increase the risk to trigger more problems. So avoid restarting programs as long as possible
Starting Programs
Do not forget start.sh before all programs! It makes sure that the programs are automatically restarted.
When you start a program from /home/fact/operation, this is taken care of automatically by links.
vnc and screen
All programs are running all the time and run either in a screen or in a vnc session.
For the screen sessions, there are configuration files which contain the setup such that all programs are started automatically.
- check if a screen session is running (to a running session you connect with screen -x)
- if none is running start one with screen -c .screenrc_configfile (where the names and paths of these config files can be found below)
More useful screen commands: ScreenSessionHelpfulCommands
For the vnc-session:
- check if a screen session is running, e.g. ps aux | grep vnc
- if none is running, start one: vncserver :1 where :1 stands for desktop 1. You can also give the size with e.g. --geometry '1600x1050'
List of needed software and the corresponding screen sessions
screen-session on NEWDAQ
see also /home/fact/.screenrc_newdaq on newdaq
- dimserver /home/fact/operation/dimserver
- mcp /home/fact/operation/mcp
- fadctrl /home/fact/operation/fadctrl
- datalogger /home/fact/operation/datalogger
- lidctrl /home/fact/operation/lidctrl
- biasctrl /home/fact/operation/biasctrl
- pwrctrl /home/fact/operation/pwrctrl
- ftmctrl /home/fact/operation/ftmctrl
- feedback /home/fact/operation/feedback
- ratecontrol /home/fact/operation/ratecontrol
- ratescan /home/fact/operation/ratescan
- fscctrl /home/fact/operation/fscctrl
- pfminictrl /home/fact/operation/pfminictrl
- temperature /home/fact/operation/temperature
- magiclidar /home/fact/operation/magiclidar
- magicweather /home/fact/operation/magicweather
- tngweather /home/fact/operation/tngweather
- agilentctrl-24V /home/fact/operation/agilentctrl 24V
- agilentctrl-50V /home/fact/operation/agilentctrl 50V
- agilentctrl-80V /home/fact/operation/agilentctrl 80V
- gpsctrl /home/fact/operation/gpsctrl
- sqmctrl /home/fact/operation/sqmctrl
- gcn /home/fact/operation/gcn
- chatserv /home/fact/operation/chatserv
- dns /home/fact/operation/dns
- bash
screen-session on GATE
see also /users/fact/.screenrc_gate on gate
- smartfact /home/fact/FACT++/start.sh smartfact
- evtserver /home/fact/FACT++/start.sh evtserver
- bash
screen-session on AUX
see also /home/fact/.screenrc_aux on aux
- timecheck /home/fact/operation/timecheck
- drivectrl /home/fact/operation/drivectrl
- bash
List of needed software and the corresponding vnc sessions
vnc-session on AUX
tpoint (displays tpoint camera image) is running on aux
to restart it:
cd /home/fact/Drive.new/FACT++
./tpoint
vnc-session on GUI
on gui you can start the old gui (not needed as you have smartfact)
in case you need the old gui, go to the screen on gui and do
cd operation
fact
be aware that this is as defined in .bashrc