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 Ziv, re: > I could not the test to write to the log file (as opened with "less"). ??? I don't understand... you tried testing LDM logging and it didn't work? re: > Here are 50-default.conf and rsyslog.conf files. Your /etc/rsyslog.conf looks OK, but I would remove the blank lines at the end of the file (should have no effect, but ...). In your /etc/rsyslog.d/50-default.conf file, I would change the spaces in the last line to one or more tabs: change: # Unidata LDM: local0.* /home/ldm/var/logs/ldmd.log to: local0.*<tab>/home/ldm/var/logs/ldmd.log After making these changes (as 'root, of course), I would make sure that the LDM log file exists, is owned by 'ldm', and has read/write permissions for the world: <as 'ldm'> cd ~ldm touch var/logs/ldmd.log chmod 666 var/logs/ldmd.log Then restart rsyslogd: <as 'root'> service rsyslog restart Then test to see if logging is working: <as 'ldm'> logger -p local0.debug 'test of LDM logging' ls -alt var/logs/ldmd.log re: > Do you think the successful execution of this logging is contingent on my > VM being able to send outbound traffic? No. re: > That issue is unfortunately still unresolved. Did your network folks acknowledge that outbound traffic to port 388 is being blocked? If yes, are they willing to change the firewall(s) to allow this? Question: - is there any way I could SSH to your VM as user 'ldm'? This would make the whole troubleshooting process go _much_ quicker! re: > Thanks Tom! 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: MWQ-760671 Department: Support IDD Priority: Normal Status: Closed