[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[LDM #RFW-547712]: LDM Registry and Log Rotation Questions
- Subject: [LDM #RFW-547712]: LDM Registry and Log Rotation Questions
- Date: Tue, 30 Jul 2024 10:22:33 -0500
Shane - you inadvertently told me what your issue is: you do not have write
permissions for the ~ldm/etc/registry.xml file, which is where the
configuration for how many files to keep is kept. And that makes me wonder if
you have permissions to write logs.
Once logged in as the "ldm" account, if you do "id ldm" - you should see your
user and group(s) ids according to the OS.
This is significant in that one of two things needs fixed in your install:
1) either /opt/ldm/* is not owned by the "ldm" account - such as
/opt/ldm/etc/registry.xml, /opt/ldm/var/logs, etc.
-or-
2) the mode of the directories or files are too protective . . . which, if you
login to "ldm" and then"
find . -type d -exec chmod 755 {} \;
Could remedy as long as all the files under /opt/ldm are owned by ldm.
Once you resolve the permissions issue, then log files should appear, and with
that, the proper rotation.
-
Stonie Cooper, PhD
Software Engineer III
NSF Unidata Program Center
University Corporation for Atmospheric Research
I acknowledge that the land I live and work on is the traditional territory of
The Pawnee, The Omaha, and The Otoe.
Ticket Details
===================
Ticket ID: RFW-547712
Department: Support LDM
Priority: Normal
Status: Open
===================
NOTE: All email exchanges with NSF 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.