Project

General

Profile

GCC

GCC

GEC

Login

Login as gec on scgw3

ssh gec@scgw3

Start GEC

gec@scgw3:~$ ./bin/start_GEC.sh

or

gec@scgw3:~$ start_GEC.sh

Connection

Launch web browser on http://scgw3:5678/device?name=display

DCOD Launcher

Login

As prototype account :
Login in narval-base from agata-visu-[123] :

ssh prototype@narval-base

Checks

Before launching one should check that port 9876 isn't already binded :

netstat -ntap | grep LISTEN | grep 9876

If you get this kind of answer :

tcp        0      0 0.0.0.0:9876            0.0.0.0:*               LISTEN      4012/dcod_launcher

You have still a dcod_launcher running and should kill it :

killall -15 dcod_launcher
killall -9 dcod_launcher

Launch

New launch way

Without logs

No need to change directory
export DCOD_HOME=$HOME/dcod_home;while [ 1 ]; do echo "before launch" ;dcod_launcher -directory=/agata/narval/launcher/ -name toto -debug true;done

With logs

No need to change directory
mkdir logs
export DCOD_HOME=$HOME/dcod_home;while [ 1 ]; do echo "before launch" ;dcod_launcher -directory=/agata/narval/launcher/ -name toto -debug true -logs=logs;done

Old launch way :

cd /agata/narval/local/bin
while [ 1 ]; do LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../lib ./dcod_launcher -directory=/agata/narval/launcher -name toto -debug=true;done

Troubleshooting

A kill -9 of the launcher without killing the actors and sub systems can lead to the situation that a thread hosting a ssh connection is still running.
This thread existence can be detected:

netstat -ntap | grep LISTEN | grep 9876

leading to

tcp        0      0 0.0.0.0:9876            0.0.0.0:*               LISTEN      21356/ssh

21356 is an example, replace it by the value you get :

kill -15 21356
kill -9 21356

A clean system shouldn't have any actor running, the following commands shouldn't return any processes:

ps -edf | grep generic_consumer
ps -edf | grep generic_filter
ps -edf | grep generic_producer
ps -edf | grep narval_naming_service
ps -edf | grep sub_system_coordinator
ps -edf | grep generic_ada_actor
ps -edf | grep event_builder_timestamp

A way to get a clean sub system in the DAQ Box environment is to use the kill all ganil script :

/agata/narval/launcher/kill_all_ganil.bash GANIL_USER/EXPERIMENT

Contact

If you have questions about this page please use: https://forge.in2p3.fr/projects/agata-daq/issues/new