Hello All,
I'm trying to run dynaTrace as a service at boot time. I was able to successfully do this... as root.
How would I go about running it a Service Account? I've tried:
su - dynatrace_SvcAccount -c "/etc/init.d/dynatraceServer start"
However, while dynaTrace looks to start fine, it immediately exits. I'm getting this in the ServerLauncher.log:
2015-04-03 13:55:45 [b532288e] info [native] Signal caught: 2
2015-04-03 13:55:45 [b532288e] info [native] Signal 2 sent to process 1971
2015-04-03 13:55:49 [b532288e] info [native] Process 1971 terminated, exitcode: 130 (signal: 2)
2015-04-03 13:55:49 [b532288e] info [native] dynaTrace Server terminated
Does anyone have any ideas?
Thanks in advance.
Answer by Reinhard W. ·
First I'd go for adding the runas user in the init script and modify it to make sure it's launched as a specific user.
Second you probably need to check file system permissions of the dynatrace install directory set correctly to be owned by the user you are running it as.
JANUARY 15, 3:00 PM GMT / 10:00 AM ET