Re: [ldm-users] ldmd.log written by root

Thanks Eric you triggered a memory..
I added the edits to the syslog.conf instead of letting the installer do it
as soon as I edited the syslog.conf
from /usr/local/ldm/logs
to /usr/local/ldm/var/logs

(matching what is in the registry)
and bang .. the logs are now written by LDM

-Jeff

----- Original Message ----- From: "Eric M. Hudish" <eric.hudish@xxxxxxxxx>



Did you remove the logs at this point? Again...ldm won't be allowed to
remove root owned files.



If you have an rc.local entry make sure it has:

/bin/su - ldm

preceding any command, or it will be run by root. I've had that issue
with auto starts when a host is rebooted. That might be the originating
source of the issue...maybe. Stuff like that can be frustrating.




Also of relevance - from syslog itself:
Log files MUST exist prior to the start of syslogd.



I don't recall seeing this behavior before, but a poke around a newer
host I setup recently I see some noaaport logs with root:ldm
permissions...which is wrong. It's not receiving noaaport data, so
they're empty but it's a curious issue. My main logs (ldmd.log and
metrics.txt ) are just fine however. Seems like there's a quirk somewhere.


I'm willing to bet the nuance is the newest ldm (6.9.x) adding the var/
directory...Is ~ldm/logs a directory or symbolic link to ~ldm/var/logs ?

Hope something there helps.

--
Eric M. Hudish
174 Faith Circle
Boalsburg, PA 16827
Cell: +1.724.977.3314
Goog: +1.814.689.9148

"Duh! To make room for Tuna!"
<http://www.google.com/profiles/eric.hudish>
Search <http://keyserver.pgp.com>

_______________________________________________
ldm-users mailing list
ldm-users@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/



  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: