- marked as blocker
Atlassian products were not found
Hello,
I have tried to run this many times, apparently it doesn’t work connecting the actual Performance Data Collector GUI to the server itself, i have attached a log. It can’t find a valid path to the services themselves, i am running them as dedicated users like: jira, confluence, crowd, Bitbucket and none of them are found by the JAR.
Comments (2)
-
reporter -
Account Deactivated Hey Luca, thanks for raising this and thanks so much for your patience while you’ve been trying to sort this out.
Taking a look at the logs it appears this might be the culprit
2020-09-11 09:26:25 [pool-1-thread-2] DEBUG c.a.p.p.DescriptorConverter - Checking Java process 'org.apache.catalina.startup.Bootstrap start' against descriptor 'Confluence'. 2020-09-11 09:26:26 [pool-1-thread-1] DEBUG c.a.p.s.AnalyticsService - Sent event 'pdc.server.start' 2020-09-11 09:26:26 [AttachToJVM-17140] INFO o.g.l.j.a.AttachManager - Attach to (17140) has failed: java.io.IOException: well-known file /tmp/.java_pid17140 is not secure: file should be owned by the current user (which is 0) but is owned by 1002 2020-09-11 09:26:26 [pool-1-thread-2] INFO o.g.l.j.a.AttachManager - Failed to read system properties, JVM pid: 17140, error: java.io.IOException: well-known file /tmp/.java_pid17140 is not secure: file should be owned by the current user (which is 0) but is owned by 1002
It looks like it’s trying to bind to the Confluence JVM and can’t as it’s not running as the same user. If I’m not mistaken it needs to be
1002
which I think you might be able to identify withid -u 1002
Unfortunately due to limitations in the bind approach used we need to be running the service as the same user as the product - it’s odd though given it seems like you tried running it as
confluence
? I’m guessing these logs are from theroot
version.The alternative is to also use the manual approach of
jstack 17140
Which will either show the same error or need you to run it with
-F
to force the thread dump (if that’s what you’re taking here) - Log in to comment