This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Heather, re: > Thank you for the script. I modified it for my paths and it works when I run > it as root > with no problems. Very good. You will see in the script how 'root' will run the LDM invocations as your LDM user. re: > But I don't understand how to add it to the chkconfig since the > script requires a command line argument. When I look online for this > problem, people > are suggesting putting the script in rc.local instead (which is what I had > been testing > with). What should I do? The following assumes that you are running a RedHat Enterprise OS 6 variant like CentOS 6.x. How this is done in RHEL 7/CentOS 7 is different, but I seem to recall that you are running a v6 OS. <as 'root> cp ldmd /etc/init.d chmod +x /etc/init.d/ldmd chkconfig --add ldmd Then check to see that 'ldmd' was added: chkconfig --list | grep ldmd Information on 'chkconfig' can be had from 'man chkconfig'. re: > Thank you! No worries. Cheers, Tom -- **************************************************************************** Unidata User Support UCAR Unidata Program (303) 497-8642 P.O. Box 3000 address@hidden Boulder, CO 80307 ---------------------------------------------------------------------------- Unidata HomePage http://www.unidata.ucar.edu **************************************************************************** Ticket Details =================== Ticket ID: TDE-422663 Department: Support McIDAS Priority: Normal Status: Closed