2 also mention sh -x
source | link

You could use strace to view all filesystem activity of the processes related to the daemon, and see which ones fail when the permission denied errors appear.

If the error comes from a shell script that starts the service, you can run sh -x /path/to/startup/script (or bash -x /path/to/startup/script if the script begins with #!/bin/bash) and the shell will print each line as it executes it.

You could use strace to view all filesystem activity of the processes related to the daemon, and see which ones fail when the permission denied errors appear.

You could use strace to view all filesystem activity of the processes related to the daemon, and see which ones fail when the permission denied errors appear.

If the error comes from a shell script that starts the service, you can run sh -x /path/to/startup/script (or bash -x /path/to/startup/script if the script begins with #!/bin/bash) and the shell will print each line as it executes it.

1
source | link

You could use strace to view all filesystem activity of the processes related to the daemon, and see which ones fail when the permission denied errors appear.