<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Oneagent is unable to log the Java process logs in some cases causing warning messages at the time of process initiation in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Oneagent-is-unable-to-log-the-Java-process-logs-in-some-cases/m-p/102527#M6480</link>
    <description>&lt;P&gt;Yes, the directory owned by root. We see this issue only for maprcli commands. For other Java related apps, it is working fine. &lt;/P&gt;&lt;P&gt;drwxrwxr-t   2 root dtuser   233XX Nov 21 07:00 java&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 21 Nov 2018 16:27:43 GMT</pubDate>
    <dc:creator>suneel_k_kamise</dc:creator>
    <dc:date>2018-11-21T16:27:43Z</dc:date>
    <item>
      <title>Oneagent is unable to log the Java process logs in some cases causing warning messages at the time of process initiation</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Oneagent-is-unable-to-log-the-Java-process-logs-in-some-cases/m-p/102525#M6478</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;When I run the beeline command on Hadoop Edge nodes, the commandline shows below warning messages saying permission denied while reading the log files by one agent under "/opt/dynatrace/oneagent/log/java"  (on Linux OS). However, when I run the same command as a root its working fine and creating the log files in the same location.&lt;/P&gt;&lt;P&gt;Can you please advise, if there ant config setting can be changes to fix the issue. We noticed this issue with beeline as of now.&lt;/P&gt;&lt;P&gt;Error message:&lt;/P&gt;&lt;P&gt;Cannot open log file '/opt/dynatrace/oneagent/log/java/ruxitagent_org.apache.hadoop.util.VersionInfo_bootstrap_57136.0.log': Permission denied&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Nov 2018 01:16:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Oneagent-is-unable-to-log-the-Java-process-logs-in-some-cases/m-p/102525#M6478</guid>
      <dc:creator>suneel_k_kamise</dc:creator>
      <dc:date>2018-11-21T01:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Oneagent is unable to log the Java process logs in some cases causing warning messages at the time of process initiation</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Oneagent-is-unable-to-log-the-Java-process-logs-in-some-cases/m-p/102526#M6479</link>
      <description>&lt;P&gt;There errors are most likely caused by bad permissions on Oneagent directories. &lt;BR /&gt;- What is the ownership and permissions of /opt/dynatrace/oneagent/log/java ? (post a "ls -al" output)&lt;BR /&gt;- Is your Linux agent running in non root mode or in root mode?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Nov 2018 07:22:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Oneagent-is-unable-to-log-the-Java-process-logs-in-some-cases/m-p/102526#M6479</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2018-11-21T07:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Oneagent is unable to log the Java process logs in some cases causing warning messages at the time of process initiation</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Oneagent-is-unable-to-log-the-Java-process-logs-in-some-cases/m-p/102527#M6480</link>
      <description>&lt;P&gt;Yes, the directory owned by root. We see this issue only for maprcli commands. For other Java related apps, it is working fine. &lt;/P&gt;&lt;P&gt;drwxrwxr-t   2 root dtuser   233XX Nov 21 07:00 java&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Nov 2018 16:27:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Oneagent-is-unable-to-log-the-Java-process-logs-in-some-cases/m-p/102527#M6480</guid>
      <dc:creator>suneel_k_kamise</dc:creator>
      <dc:date>2018-11-21T16:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Oneagent is unable to log the Java process logs in some cases causing warning messages at the time of process initiation</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Oneagent-is-unable-to-log-the-Java-process-logs-in-some-cases/m-p/102528#M6481</link>
      <description>&lt;P&gt;Your current permission require the user starting the Java process to be either root or member of the dtuser group to be able to write logs into this directory. So either you add the write permission to others or you need to add the user into the dtuser group. &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Nov 2018 18:52:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Oneagent-is-unable-to-log-the-Java-process-logs-in-some-cases/m-p/102528#M6481</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2018-11-21T18:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Oneagent is unable to log the Java process logs in some cases causing warning messages at the time of process initiation</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Oneagent-is-unable-to-log-the-Java-process-logs-in-some-cases/m-p/102529#M6482</link>
      <description>&lt;P&gt;Did you install the Dynatrace Agent from the root user? &lt;/P&gt;&lt;P&gt;If not, the easiest way will be to reinstall the agent using the root user. &lt;/P&gt;&lt;P&gt;The Dynatrace user will then be given appropriate permissions to instrumentation of application processes.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Nov 2018 19:06:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Oneagent-is-unable-to-log-the-Java-process-logs-in-some-cases/m-p/102529#M6482</guid>
      <dc:creator>radek_jasinski</dc:creator>
      <dc:date>2018-11-21T19:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Oneagent is unable to log the Java process logs in some cases causing warning messages at the time of process initiation</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Oneagent-is-unable-to-log-the-Java-process-logs-in-some-cases/m-p/102530#M6483</link>
      <description>&lt;P&gt;Apologies for the late reply. &lt;/P&gt;&lt;P&gt;If I add the WW permissions, the issue is not reoccurring. However, this is not a best practice from Security standards.&lt;/P&gt;&lt;P&gt;Though we installed the agent with a root user, still it is expecting WW permissions. Does Dyntrace has any solution?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Dec 2018 18:15:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Oneagent-is-unable-to-log-the-Java-process-logs-in-some-cases/m-p/102530#M6483</guid>
      <dc:creator>suneel_k_kamise</dc:creator>
      <dc:date>2018-12-12T18:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Oneagent is unable to log the Java process logs in some cases causing warning messages at the time of process initiation</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Oneagent-is-unable-to-log-the-Java-process-logs-in-some-cases/m-p/102531#M6484</link>
      <description>&lt;P&gt;Actually this is ok, the log file directory must be writable for any user. Normally this should have following permissions and ownership:&lt;BR /&gt;drwxrwxrwt 1 root dtuser 182 Dec 13 08:57 log &lt;/P&gt;&lt;P&gt;Notice the t flag, this will prevent removing files not owned by the process.&lt;BR /&gt;The directory must be writable for everybody, since oneagents injected into applications are running in context of the application itself and typically run as different user than the OS part of oneagent.&lt;/P&gt;&lt;P&gt;I think you have some hardening / security script running on your system to find directories writable for everybody and changing permissions. Or someone did this manually.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Dec 2018 08:05:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Oneagent-is-unable-to-log-the-Java-process-logs-in-some-cases/m-p/102531#M6484</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2018-12-13T08:05:20Z</dc:date>
    </item>
  </channel>
</rss>

