40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  40m Log  Not logged in ELOG logo
Entry  Wed May 20 20:10:34 2020, rana, John Z, Update, Computer Scripts / Programs, NDS2 server / conf updated - seems OK now 
    Reply  Thu May 21 15:31:26 2020, gautam, Update, Computer Scripts / Programs, NDS2 service restarted 
       Reply  Fri May 22 10:37:41 2020, rana, Update, Computer Scripts / Programs, NDS2 service restarted 
          Reply  Mon May 25 10:54:41 2020, rana, Update, Computer Scripts / Programs, NDS2 service restarted 
Message ID: 15341     Entry time: Wed May 20 20:10:34 2020     Reply to this: 15342
Author: rana, John Z 
Type: Update 
Category: Computer Scripts / Programs 
Subject: NDS2 server / conf updated - seems OK now 

We noticed about a week ago that the NDS2 channel lists were not getting updated on megatron. JZ and I investigated; he was able to fix it all up this afternoon by logging in and snooping around Megatron.

Please try it out and tell me about any problems in getting fresh data.


  1. The NDS2 server is what we connect to through our python NDS2 client software to download some data.
  2. It has been working for years, but it looks like there was a file corruption of the channel lists that it makes back in 2017.
  3. Since the NDS2 server code tries to make incremental changes, it was failing to make a new channel list. Was failing to parse the corrupted file.
  4. there was a controls crontab entry to restart the server every morning, but the file name in that tab had a typo, so that wasn't working. I commented it out, since it shouldn't be necessary (lets see how it goes...)
  5. the nds2mgr account also has a crontab, but that was failing since it didn't have sudo permission. JZ added nds2mgr to the sudoers list so that should work now.
  6. I was able to get new channels as of 4 PM today, so it seems to be working.

* we should remember to rebuild the NDS2 server code for Ubuntu. The thing running on there is for CentOS / SL7, but we moved to Ubuntu recently since the SL7 support is going away.

** the nds2 code & conf files are not backed up anywhere since its not on /cvs/cds. It has 52 GB(!!) of txt channel lists & archives which we don't need to backup

ELOG V3.1.3-