{"action":"created","issue":{"url":"https://api.github.com/repos/Alignak-monitoring/alignak/issues/247","labels_url":"https://api.github.com/repos/Alignak-monitoring/alignak/issues/247/labels{/name}","comments_url":"https://api.github.com/repos/Alignak-monitoring/alignak/issues/247/comments","events_url":"https://api.github.com/repos/Alignak-monitoring/alignak/issues/247/events","html_url":"https://github.com/Alignak-monitoring/alignak/issues/247","id":117128595,"number":247,"title":"Alignak start - directory access problem","user":{"login":"mohierf","id":2932687,"avatar_url":"https://avatars.githubusercontent.com/u/2932687?v=3","gravatar_id":"","url":"https://api.github.com/users/mohierf","html_url":"https://github.com/mohierf","followers_url":"https://api.github.com/users/mohierf/followers","following_url":"https://api.github.com/users/mohierf/following{/other_user}","gists_url":"https://api.github.com/users/mohierf/gists{/gist_id}","starred_url":"https://api.github.com/users/mohierf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohierf/subscriptions","organizations_url":"https://api.github.com/users/mohierf/orgs","repos_url":"https://api.github.com/users/mohierf/repos","events_url":"https://api.github.com/users/mohierf/events{/privacy}","received_events_url":"https://api.github.com/users/mohierf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Alignak-monitoring/alignak/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-16T13:56:39Z","updated_at":"2015-11-16T14:42:28Z","closed_at":null,"body":"After installing from source code, Alignak does not start when launched from the `alignak` user account: \r\n```\r\n[1447681997] WARNING: [Alignak] Cannot call the additional groups setting with initgroups (Operation not permitted)\r\n[1447681997] CRITICAL: [Alignak] I got an unrecoverable error. I have to exit.\r\n[1447681997] CRITICAL: [Alignak] You can get help at https://github.com/Alignak-monitoring/alignak\r\n[1447681997] CRITICAL: [Alignak] If you think this is a bug, create a new ticket includingdetails mentioned in the README\r\n[1447681997] CRITICAL: [Alignak] Back trace of the error: Traceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/alignak/daemons/arbiterdaemon.py\", line 578, in main\r\n    self.do_daemon_init_and_start()\r\n  File \"/usr/local/lib/python2.7/dist-packages/alignak/daemon.py\", line 651, in do_daemon_init_and_start\r\n    self.check_parallel_run()\r\n  File \"/usr/local/lib/python2.7/dist-packages/alignak/daemon.py\", line 477, in check_parallel_run\r\n    self.__open_pidfile()\r\n  File \"/usr/local/lib/python2.7/dist-packages/alignak/daemon.py\", line 461, in __open_pidfile\r\n    raise InvalidPidFile(err)\r\nInvalidPidFile: [Errno 13] Permission denied: u'/usr/local/var/run/alignak/arbiterd.pid'\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/alignak-arbiter\", line 10, in <module>\r\n    sys.exit(main())\r\n  File \"/usr/local/lib/python2.7/dist-packages/alignak/bin/alignak_arbiter.py\", line 128, in main\r\n    daemon.main()\r\n  File \"/usr/local/lib/python2.7/dist-packages/alignak/daemons/arbiterdaemon.py\", line 578, in main\r\n    self.do_daemon_init_and_start()\r\n  File \"/usr/local/lib/python2.7/dist-packages/alignak/daemon.py\", line 651, in do_daemon_init_and_start\r\n    self.check_parallel_run()\r\n  File \"/usr/local/lib/python2.7/dist-packages/alignak/daemon.py\", line 477, in check_parallel_run\r\n    self.__open_pidfile()\r\n  File \"/usr/local/lib/python2.7/dist-packages/alignak/daemon.py\", line 461, in __open_pidfile\r\n    raise InvalidPidFile(err)\r\nalignak.daemon.InvalidPidFile: [Errno 13] Permission denied: u'/usr/local/var/run/alignak/arbiterd.pid'\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Alignak-monitoring/alignak/issues/comments/157052949","html_url":"https://github.com/Alignak-monitoring/alignak/issues/247#issuecomment-157052949","issue_url":"https://api.github.com/repos/Alignak-monitoring/alignak/issues/247","id":157052949,"user":{"login":"ddurieux","id":239744,"avatar_url":"https://avatars.githubusercontent.com/u/239744?v=3","gravatar_id":"","url":"https://api.github.com/users/ddurieux","html_url":"https://github.com/ddurieux","followers_url":"https://api.github.com/users/ddurieux/followers","following_url":"https://api.github.com/users/ddurieux/following{/other_user}","gists_url":"https://api.github.com/users/ddurieux/gists{/gist_id}","starred_url":"https://api.github.com/users/ddurieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddurieux/subscriptions","organizations_url":"https://api.github.com/users/ddurieux/orgs","repos_url":"https://api.github.com/users/ddurieux/repos","events_url":"https://api.github.com/users/ddurieux/events{/privacy}","received_events_url":"https://api.github.com/users/ddurieux/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T14:42:28Z","updated_at":"2015-11-16T14:42:28Z","body":"For log and run yes it's for all linux / BSD, but not for etc "}}