Mimir Instrument Hangs on startup
If you are starting LOIS with the Mimir instrument and hangs at a point during the start up. if the last 3 lines in the console log or right hand window in LOIS are
IRarray: IR Core Module Initialization Complete
Error Unable to identify the command: instrument_init
Loading MimirInst Instrument Configuration
Then this means that the daemon that runs the filter wheels, slit, decker, and camera has some how got into a bad state. Here are the steps to fix this.
1. Log into yggdrasil
Logging into Yggdrasil
saturn% ssh camera@yggdrasil
Last login: Mon Dec 9 11:11:14 2013 from bt-dev.lowell.edu
1%
2. Kill the Mimir Instrument Daemon
Killing MimirInstl
1% pkill -TERM MimirInst
3. Make sure there are no MimirInst processes running
Checking for the Process
2% ps -ef | grep MimirInst
3%
4. Restart the MimirInst process
Checking for the Process and Checking
3%/usr/local/bin/MimirInst
4% !ps
ps -ef | grep MimirInst
camera 20467 1 0 11:30 pts/2 00:00:00 /usr/local/bin/MimirInst
5%
If for some reason you still see a process in step 2 use the command pkill -9 MimirInst. Another possible problem is that the socket will be bound and you will not be able to start the MimirInst daemon. In that case make sure that there is not a MimirInst daemon running and wait for a minute or two until the OS cleans up the bound sockets and try restarting the MimirInst again until it starts normally.