Midas Consoles SR35 Server User Manual


 
ODB: DO NOT TOUCH! – discuss with Instrument Scientist first
Start frontends from terminal by running the command
alc_start_midas
Shutdown all frontends:
alc_mcleanup
[l_musr_alc@pc4244 alc]$ alc_mcleanup
Midas cleanup procedure for experiment ALC...
Stopping MIDAS clients...
09:48:00 [ODBEdit] Program ODBEdit on host pc4244 stopped
09:48:00 [IPS120 SC] Program IPS120 SC on host pc4244 stopped
09:48:00 [alc_fe] Program alc_fe on host pc4244 stopped
09:48:00 [HALL_SCfe] Program HALL_SCfe on host pc4244 stopped
09:48:00 [ODBEdit1] Cannot shutdown client "NMR_SCfe", please kill manually and do an ODB cleanup
09:48:00 [SampleT_scfe] Program SampleT_scfe on host pc4244 stopped
09:48:00 [LTC21 SC] Program LTC21 SC on host pc4244 stopped
09:48:00 [BeamLine SC] Program BeamLine SC on host pc4244 stopped
09:48:00 [Logger] Program Logger on host pc4244 stopped
09:48:00 [mhttpd] Program mhttpd on host pc4244 stopped
09:48:00 [RVC200 Frontend] Program RVC200 Frontend on host pc4244 stopped
09:48:00 [Analyzer] Program Analyzer on host pc4244 stopped
odbedit exit status 0
Now I do an ODB cleanup...
Killing processes in case that odbedit failed to stop them ...
Process with pid \003256\\ (mhttpd) ...killednecho -n Process with pid \003278\\ (nmr_scfe) ...
killedn
killproc exit status 0
killing mozilla...
mozilla-bin: no process killed
killing opera...
opera: no process killed
Cleaning up shared memory segments for user l_musr_alc ...
Shared memory segment id 65537 ...
resource(s) deleted
Shared memory segment id 98306 ...
resource(s) deleted
Shared memory segment id 131075 ...
resource(s) deleted
Cleaning up semaphores for user l_musr_alc ...
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 0 root 777 49152 1
------ Semaphore Arrays --------
key semid owner perms nsems
0x4d05c027 0 l_musr_al 666 1
0x4d05c028 32769 l_musr_al 666 1
0x4d05c029 65538 l_musr_al 666 1
0x4d05c080 98307 l_musr_al 666 1
0x4d05c1c0 131076 l_musr_al 666 1
------ Message Queues --------
key msqid owner perms used-bytes messages
[l_musr_alc@pc4244 alc]$
(eventually run twice or more… until no midas daemons left)
then it looks like:
[l_musr_alc@pc4244 alc]$ alc_mcleanup
Midas cleanup procedure for experiment ALC...
Stopping MIDAS clients...
No clients found
odbedit exit status 0
Now I do an ODB cleanup...
Killing processes in case that odbedit failed to stop them ...
killproc exit status 0
killing mozilla...