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 Bongchul, > I need some more help to start LDM at boot-time. > I copied your script, made necessary changes (please see attached), tried to > run it, and get an error message below: > > (base) ldm@rs91xm7y3:~$ ./startldm.sh > ./startldm.sh: line 13: syntax error near unexpected token `"Starting LDM > system..."' > ./startldm.sh: line 13: ` $LOG "Starting LDM system..."' The above is consistent with the variable LOG being undefined or a blank string. > One more question: I add a cron job to run this script at startup (e.g., > @reboot /home/ldm/ldm_processing/startldm.sh) but think that it requires > root password (from su - ldm) if the cron job is running on the ldm account. The "@reboot" entry shouldn't require root privileges. Are there any error messages from cron? > Are there any different ways to run the script at boot-time? Yes, your system administrator can configure the operating system to execute the LDM at boot-time. Are you the system administrator? If so, what's your system? Regards, Steve Emmerson Ticket Details =================== Ticket ID: QXG-262594 Department: Support Level II Priority: High Status: Closed =================== NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.