{"action":"created","issue":{"url":"https://api.github.com/repos/influxdb/influxdb/issues/3799","labels_url":"https://api.github.com/repos/influxdb/influxdb/issues/3799/labels{/name}","comments_url":"https://api.github.com/repos/influxdb/influxdb/issues/3799/comments","events_url":"https://api.github.com/repos/influxdb/influxdb/issues/3799/events","html_url":"https://github.com/influxdb/influxdb/issues/3799","id":102474981,"number":3799,"title":"[0.9.2] Service fails to start on Ubuntu 14.04","user":{"login":"llevar","id":5853959,"avatar_url":"https://avatars.githubusercontent.com/u/5853959?v=3","gravatar_id":"","url":"https://api.github.com/users/llevar","html_url":"https://github.com/llevar","followers_url":"https://api.github.com/users/llevar/followers","following_url":"https://api.github.com/users/llevar/following{/other_user}","gists_url":"https://api.github.com/users/llevar/gists{/gist_id}","starred_url":"https://api.github.com/users/llevar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llevar/subscriptions","organizations_url":"https://api.github.com/users/llevar/orgs","repos_url":"https://api.github.com/users/llevar/repos","events_url":"https://api.github.com/users/llevar/events{/privacy}","received_events_url":"https://api.github.com/users/llevar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/influxdb/influxdb/labels/category/packages","name":"category/packages","color":"bfd4f2"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-21T22:44:13Z","updated_at":"2015-08-21T23:14:35Z","closed_at":"2015-08-21T22:58:29Z","body":"Installed Influxdb via Debian package\r\nRan  `/opt/influxdb/influxd config > /etc/opt/influxdb/influxdb.conf`\r\nRunning `service influxdb restart` I get:\r\n\r\n```\r\ninfluxd process is not running [ OK ]\r\nStarting the process influxd [ OK ]\r\ninfluxd process failed to start [ FAILED ]\r\n```\r\n\r\nIn /var/log/influxdb/influxd.log:\r\n`[handoff] 2015/08/21 22:37:41 Failed to start hinted handoff processor: mkdir all: mkdir /root/.influxdb: permission denied`\r\n\r\nIf I run `/opt/influxdb//influxd -config /etc/opt/influxdb/influxdb.conf`  instead I get normal startup:\r\n\r\n```\r\nusing configuration at: /etc/opt/influxdb/influxdb.conf\r\n[metastore] 2015/08/21 22:41:47 [INFO] raft: Node at 127.0.0.1:8088 [Follower] entering Follower state\r\n[metastore] 2015/08/21 22:41:47 read local node id: 1\r\n[admin] 2015/08/21 22:41:47 listening on HTTP: [::]:8083\r\n[httpd] 2015/08/21 22:41:47 authentication enabled: false\r\n[httpd] 2015/08/21 22:41:47 listening on HTTP: [::]:8086\r\n2015/08/21 22:41:47 InfluxDB starting, version 0.9.2, commit 6c0a91f775f9fc0e625d17ffa04a3fe86945ba09\r\n2015/08/21 22:41:47 GOMAXPROCS set to 1\r\n[run] 2015/08/21 22:41:47 listening for signals\r\n[metastore] 2015/08/21 22:41:48 [WARN] raft: Heartbeat timeout reached, starting election\r\n[metastore] 2015/08/21 22:41:48 [INFO] raft: Node at 127.0.0.1:8088 [Candidate] entering Candidate state\r\n[metastore] 2015/08/21 22:41:48 [DEBUG] raft: Votes needed: 1\r\n[metastore] 2015/08/21 22:41:48 [DEBUG] raft: Vote granted. Tally: 1\r\n[metastore] 2015/08/21 22:41:48 [INFO] raft: Election won. Tally: 1\r\n[metastore] 2015/08/21 22:41:48 [INFO] raft: Node at 127.0.0.1:8088 [Leader] entering Leader state\r\n[metastore] 2015/08/21 22:41:48 [INFO] raft: Disabling EnableSingleNode (bootstrap)\r\n[metastore] 2015/08/21 22:41:48 [DEBUG] raft: Node 127.0.0.1:8088 updated peer set (2): [127.0.0.1:8088]\r\n[metastore] 2015/08/21 22:41:48 [DEBUG] raft: Node 127.0.0.1:8088 updated peer set (2): [127.0.0.1:8088]\r\n2015/08/21 22:41:48 Sending anonymous usage statistics to m.influxdb.com\r\n```\r\n\r\nThe directories under `/root/.influxdb` appear to be created ok\r\n\r\nAfter that if I run the service restart again it still fails with the same error."},"comment":{"url":"https://api.github.com/repos/influxdb/influxdb/issues/comments/133587309","html_url":"https://github.com/influxdb/influxdb/issues/3799#issuecomment-133587309","issue_url":"https://api.github.com/repos/influxdb/influxdb/issues/3799","id":133587309,"user":{"login":"otoolep","id":536312,"avatar_url":"https://avatars.githubusercontent.com/u/536312?v=3","gravatar_id":"","url":"https://api.github.com/users/otoolep","html_url":"https://github.com/otoolep","followers_url":"https://api.github.com/users/otoolep/followers","following_url":"https://api.github.com/users/otoolep/following{/other_user}","gists_url":"https://api.github.com/users/otoolep/gists{/gist_id}","starred_url":"https://api.github.com/users/otoolep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otoolep/subscriptions","organizations_url":"https://api.github.com/users/otoolep/orgs","repos_url":"https://api.github.com/users/otoolep/repos","events_url":"https://api.github.com/users/otoolep/events{/privacy}","received_events_url":"https://api.github.com/users/otoolep/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T23:14:35Z","updated_at":"2015-08-21T23:14:35Z","body":"@llevar -- yes, but the easiest way to customize the configuration script is to copy what is put there by the installation script as a backup, and then edit in place the original file in `/etc/opt/influxdb/influxdb.conf`. If you break it you can just put the copy back and start again. Make sense?"}}