Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Just to check the obvious, is the PID correct (How are you getting it), and do you have sufficient privilege to attach that process, do you get prompted to enter credentials, or have you done this already before running the command, for example % su adminUsername? Please provide details Commented Aug 2, 2022 at 2:07
  • yes sir. I got PID from jps command. And also,the java process is still live when i run sudo jhsdb. Commented Aug 2, 2022 at 4:21
  • @sorifiend Speak of privilege, I thought that's the key problem, since I already use sudo, I hope it works which didn't. Commented Aug 2, 2022 at 4:58