Dynatrace / Dynatrace-AppMon-Chef

Installs the Dynatrace Application Monitoring solution using Chef.
MIT License
12 stars 15 forks source link

error when starting dtwsagent #10

Closed yshoaib closed 9 years ago

yshoaib commented 9 years ago

Error when starting dtwsagent

$ sudo service dynaTraceWebServerAgent start

OUTPUT:
File not found or not executable: /opt/dynatrace-6.2-agent/dynatrace/agent/lib/dtwsagent
metmajer commented 9 years ago

Can you provide your overrides and a view into your filesystem at '/opt/dynatrace-6.2-agent'? Does it work when you don't change the prefix and leave it as '/opt'?

metmajer commented 9 years ago

I ran a quick test using Test Kitchen (described in README.md). Asnode['dynatrace']['wsagent_package']['linux']['installer']['prefix_dir'] I used /opt/dynatrace-6.2-agent:

kitchen converge wsagent-package-debian
kitchen login wsagent-package-debian

Inside the Docker container, an ls -l /opt/dynatrace-6.2-agent shows me:

lrwxrwxrwx 1 root      root        38 Aug 18 18:29 dynatrace -> /opt/dynatrace-6.2-agent/dynatrace-6.2
drwxr-xr-x 5 dynatrace dynatrace 4096 Aug 18 18:29 dynatrace-6.2

...and a service dynaTraceWebServerAgent status shows:

dynaTrace WebServer Agent daemon is running:
999       6284     1  0 18:44 ?        00:00:01 /opt/dynatrace-6.2-agent/dynatrace/agent/lib64/dtwsagent

Not sure where things break on your end, but I am curious to learn.

metmajer commented 9 years ago

Can I close the issue?

yshoaib commented 9 years ago

I am very sorry @metmajer I haven't yet had a chance to look into this. Will check as soon as I get a chance. Will keep you posted.