Closed divgwd closed 7 years ago
Unless you are running Kapacitord as root, which is not recommended, it will not be able to access the morgoth binary on the /root dir.
Hi, I am running kapacitord as a root user .
On 17-Feb-2017 9:37 pm, "Nathaniel Cook" notifications@github.com wrote:
Unless you are running Kapacitord as root, which is not recommended, it will not be able to access the morgoth binary on the /root dir.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nathanielc/morgoth/issues/40#issuecomment-280691288, or mute the thread https://github.com/notifications/unsubscribe-auth/AWQcFS10RIuZU_9OMdvEePQi9Obi4wkdks5rdcXUgaJpZM4MD7PN .
OK, check that /root/projects/bin/morgoth
has the execute bit set.
We gave it chmod 777 permission on the executable
On 17-Feb-2017 10:21 pm, "Nathaniel Cook" notifications@github.com wrote:
OK, check that /root/projects/bin/morgoth has the execute bit set.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nathanielc/morgoth/issues/40#issuecomment-280703699, or mute the thread https://github.com/notifications/unsubscribe-auth/AWQcFXWot6xZJf0zESrjzWYBKlN1khZhks5rdc_-gaJpZM4MD7PN .
kapacitor-1.2.0. influxdb-1.2.0. go version go1.7 The execute bit is set on the binary [root@localhost opt]# ls -lrt /root/projects/bin/morgoth -rwxrwxrwx 1 kapacitor kapacitor 6235709 Feb 16 12:38 /root/projects/bin/morgoth
Am running this as a service . Can you tell me where am going wrong??I am unable to figure out what could be causing the "permission denied" error. kapacitor_conf.docx
Hi, I copied the binary to /usr/bin and gave it kapacitor:kapacitor ownership.I was able to bring up morgoth after that . Thank you :)
Hi, I am unable to bring up kapacitor service after adding morgoth as udf below is the output of /var/log/kapacitor/kapacitor.log
[run] 2017/02/17 12:04:14 I! Kapacitor starting, version 1.2.0, branch master, commit 5408057e5a3493d3b5bd38d5d535ea45b587f8ff [run] 2017/02/17 12:04:14 I! Go version go1.7.4 [srv] 2017/02/17 12:04:14 I! Kapacitor hostname: localhost [srv] 2017/02/17 12:04:14 I! ClusterID: 8433611d-9a3d-480a-993b-4e226288b192 ServerID: 4082d455-aec0-4245-9e0e-e6f94e2a5696 [task_master:main] 2017/02/17 12:04:14 I! opened [httpd] 2017/02/17 12:04:14 I! Closed HTTP service [task_master:main] 2017/02/17 12:04:14 I! closed [run] 2017/02/17 12:04:14 E! open server: open service *udf.Service: failed to load process info for "morgoth": fork/exec /root/projects/bin/morgoth: permission denied
chnaged the binary permission to kapacitor and influxd also still same error . Any help is appreciated . Thanks !