Path to snapshot directory does not represent a directory - Error

Questions about YourKit Java Profiler
Locked
pradeepspk
Posts: 2
Joined: Mon Feb 14, 2022 1:17 pm

Path to snapshot directory does not represent a directory - Error

Post by pradeepspk »

Hi,

I'm profiling a remote application and am trying to capture memory snapshot

when I click "Capture Memory Snapshot", I am getting the following error

Code: Select all

Path to snapshot directory does not represent a directory: /root/Snapshots
I can successfully capture performance snapshot in /root/Snapshots directory.

My profiler version is

Code: Select all

YourKit Java Profiler 2021.11-b227
Any help is appreciated in resolving this! Thanks
Vladimir Kondratyev
Posts: 1619
Joined: Tue Aug 10, 2004 7:52 pm

Re: Path to snapshot directory does not represent a directory - Error

Post by Vladimir Kondratyev »

Do you have /root/Snapshots directory on disk? What is the output of "ls -lda /root/Snapshots" command?
pradeepspk
Posts: 2
Joined: Mon Feb 14, 2022 1:17 pm

Re: Path to snapshot directory does not represent a directory - Error

Post by pradeepspk »

Fixed the error. It is a permission issue where the user running the remote application does not have permission for the snapshot directory in remote application machine.
We have provided permission for the user to the snapshot directory in the remote machine which fixed the error.

Thanks for the help.
Locked