next up previous contents index
Next: How To Start/Stop The Up: Practical Details Previous: Practical Details   Contents   Index

How To Start The DAQ System

  1. Be sure that all necessary environment variables are set. Usually this is done at the login time from .tcshrc. You can test whether or not this is done by executing the daqps command. If the shell answers with ``daqps: Command not found.'' then the environment is not set. In this case you should run
    source etc/DAQ_SETUP.csh
    

  2. Check the MySQL database server. You can test whether or not MySQL is working by executing the following command on database machine (eg, oka02):
     mysql/mysql/bin/mysqladmin version
    If the server is running you will get an answer which looks like:
    bin/mysqladmin  Ver 8.18 Distrib 3.23.35, for pc-linux-gnu on i686
    Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
    This software comes with ABSOLUTELY NO WARRANTY. This is free software,
    and you are welcome to modify and redistribute it under the GPL license
    
    Server version          3.23.35
    Protocol version        10
    Connection              Localhost via UNIX socket
    UNIX socket             /tmp/mysql.sock
    Uptime:                 58 min 3 sec
    
    Threads: 2  Questions: 53  Slow queries: 0  Opens: 11  Flush tables: 1
    Open tables: 5 Queries per second avg: 0.015
    
    If server is not running then login (via telnet) on database machine (eg, oka02) under account mysql and run the commands:
    cd mysql
    bin/safe_mysqld - -user=mysql &

  3. Login (via telnet) on the main DAQ machine (oka05) under account daqop. Password is written somewhere.
  4. Login (via telnet) on the control machine (eg, oka02) under account daqop.
  5. Login (via telnet) on monitoring machine (eg, oka02) under account daqop.
  6. Start the main program on the main machine: daq_main.
  7. Start the monitor daemon on monitor machine: mond.
  8. Start the run control program on the control machine: daq_ctrl.

Now the DAQ system is initialized.


next up previous contents index
Next: How To Start/Stop The Up: Practical Details Previous: Practical Details   Contents   Index
Alexander V.Inyakin 2002-04-05