{"action":"opened","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/22251","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/22251/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/22251/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/22251/events","html_url":"https://github.com/elastic/elasticsearch/issues/22251","id":196343643,"number":22251,"title":"Elastic search is not starting. No errors. Only warning: cannot be run as root.","user":{"login":"tkgauri","id":9883806,"avatar_url":"https://avatars.githubusercontent.com/u/9883806?v=3","gravatar_id":"","url":"https://api.github.com/users/tkgauri","html_url":"https://github.com/tkgauri","followers_url":"https://api.github.com/users/tkgauri/followers","following_url":"https://api.github.com/users/tkgauri/following{/other_user}","gists_url":"https://api.github.com/users/tkgauri/gists{/gist_id}","starred_url":"https://api.github.com/users/tkgauri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkgauri/subscriptions","organizations_url":"https://api.github.com/users/tkgauri/orgs","repos_url":"https://api.github.com/users/tkgauri/repos","events_url":"https://api.github.com/users/tkgauri/events{/privacy}","received_events_url":"https://api.github.com/users/tkgauri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-19T06:55:18Z","updated_at":"2016-12-19T06:55:18Z","closed_at":null,"body":"<!--\r\nGitHub is reserved for bug reports and feature requests. The best place\r\nto ask a general question is at the Elastic Discourse forums at\r\nhttps://discuss.elastic.co. If you are in fact posting a bug report or\r\na feature request, please include one and only one of the below blocks\r\nin your new issue. Note that whether you're filing a bug report or a\r\nfeature request, ensure that your submission is for an\r\n[OS that we support](https://www.elastic.co/support/matrix#show_os).\r\nBug reports on an OS that we do not support or feature requests\r\nspecific to an OS that we do not support will be closed.\r\n-->\r\n\r\n<!--\r\nIf you are filing a bug report, please remove the below feature\r\nrequest block and provide responses for all of the below items.\r\n-->\r\n\r\n**Elasticsearch version**: 5.1.1\r\n\r\n**Plugins installed**: []\r\n\r\n**JVM version**: java version \"1.8.0_101\"\r\n\r\n**OS version**: CentOS release 6.8 (Final)\r\n\r\n**Description of the problem including expected versus actual behavior**:\r\nElastic search is not starting. It gives me warning \"org.elasticsearch.bootstrap.StartupException: java.lang.RuntimeException: can not run elasticsearch as root\". But when I run without root, it gives me long list of errors; some of them are \"java.io.FileNotFoundException: permission denied.\"\r\n**Steps to reproduce**:\r\n 1. sudo ./elasticsearch\r\n\r\nI have lowered the memory limits from config/jvm.options to 512mb. But doesn't work.\r\n-Xms100m\r\n-Xmx200m\r\n\r\n**Provide logs (if relevant)**:\r\n\r\n<!--\r\nIf you are filing a feature request, please remove the above bug\r\nreport block and provide responses for all of the below items.\r\n-->\r\n\r\n**Describe the feature**:\r\n"}}
{"actor":{"display_login":"tkgauri"}}